我试图在我的域名(wixencafe.net)上设置一个SMTP服务器,我使用的是后缀。
首先,postfix发送来自外部的电子邮件,也就是说,如果我从gmail.com发送电子邮件到wixencafe.net,我在邮箱/
第二件事情是,如果我从wixencafe.net(通过服务器cli通过mutt -f Maildir /)发送一个电子邮件到gmail.com,我也得到它,所以我想这意味着一切工作正常。
现在,我的问题是,如果我尝试从我的桌面(这是不是在我的服务器在同一networking上)发送电子邮件,它只是不起作用。 从雷鸟,我得到一个交货错误,并从一个telnet wixencafe.net 25我得到一个超时错误。
现在这里是我的/etc/postfix/main.cfconfiguration,告诉我,如果你需要任何其他文件…
# Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. myorigin = wixencafe.net myhostname = localhost smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no home_mailbox = Maildir/ # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters 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 smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = wixencafe.net, localhost.localdomain, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all ## anti spam settings smtpd_recipient_restrictions = reject_invalid_hostname, reject_unknown_recipient_domain, reject_unauth_destination, reject_rbl_client sbl.spamhaus.org, permit smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname
谢谢…
编辑:在这里find答案: http : //forum.linode.com/viewtopic.php?p=53456&sid=7848e2ef010c93662255db67d5522aee ,这是一个简单的问题,我家的ISP阻止连接端口25 …谢谢,祝你好运你的问题!
由于您的“mynetworks”中只有localhost,因此postfix可能会拒绝来自桌面的电子邮件。 检查后缀错误日志以获取更多信息。
将桌面networking添加到main.cf中的“mynetworks”,然后再次尝试发送电子邮件。
find答案在这里: http : //forum.linode.com/viewtopic.php?p=53456&sid=7848e2ef010c93662255db67d5522aee ,这是一个简单的问题,我家的ISP阻止连接在端口25 …谢谢,祝你好运!