![Fedora 20 上的 Postfix 无法接收邮件](https://linux22.com/image/643135/Fedora%2020%20%E4%B8%8A%E7%9A%84%20Postfix%20%E6%97%A0%E6%B3%95%E6%8E%A5%E6%94%B6%E9%82%AE%E4%BB%B6.png)
我正在运行带有 postfix 的 fedora 20。它可以正常发送邮件,但不记录任何内容,也无法接收电子邮件。当我使用 tcpdump 监控端口 25 时,我可以看到数据包正常到达计算机,但 /var/log/mail.log 不存在,并且没有邮件存放在 /var/mail/username 或 /var/spool/mail/unsername 中。我检查了 selinux 布尔值,它们已正确启用。我对此束手无策。这是我的 postconf -n 的输出
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = dev.domain.com
myhostname = dev.domain.com
mynetworks_style = class
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix/README_FILES
sample_directory = /usr/share/doc/postfix/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
答案1
Postfix 没有问题。看来您没有安装记录器。尝试 rsyslogd 或 syslog-ng。