在virtualmin中无法接收外部电子邮件


0

我已经在ubuntu服务器上安装了postfix和dovecot和webmin + virtualmin来运行邮件服务器,我按照virtualmin教程进行了设置。

但是现在我可以发送外发邮件了,但是我收不到外来的邮件!我只能收到本地用户的邮件。

知道如何解决吗?

这是postconf -n输出:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = no
config_directory = /etc/postfix
import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C RESOLV_MULTI=on
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
mydestination = mail.karshenasan-nezam.com, karshenasan-nezam.com, localhost.com, , localhost
myhostname = karshenasan-nezam.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = mail.karshenasan-nezam.com
readme_directory = no
recipient_delimiter = +
relayhost =
sender_dependent_default_transport_maps = hash:/etc/postfix/dependent
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual

您可能要检查后缀日志,并在必要时提高日志级别。
Journeyman Geek

@JourneymanGeek感谢您的答复,我一直在检查邮件日志,但是找不到有关接收到的电子邮件的任何日志或错误。postfix日志与webmin中的邮件日志分开吗?如果是这样,如何检查后缀日志?
anonymox

好吧,iirc后缀将记录到syslog。检查那里。
Journeyman Geek

@JourneymanGeek我已经检查了系统日志,但没有任何接收电子邮件的活动!虽然我已经从另一台服务器向该邮件帐户发送了一封邮件,但是此服务器上没有任何活动,也没有接收邮件!
anonymox

@JourneymanGeek我将邮件发送到Webmin邮件服务器大约1小时后才收到此错误:`该邮件是由邮件传递软件自动创建的。在marya.firsthost.com上排队的时间超过24小时后,您发送的邮件尚未传递给一个或多个收件人。消息标识符为:1ZkHtA-0007z9-3C消息的日期为:2015年10月9日星期五,00:04:08
+0330
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.