Ada*_*dam 5 email email-server postfix
我遇到了问题,我无法使用 Thunderbird 等通过 SMTP 发送邮件 - 但在本地机器上,邮件发送工作完全正常。邮件服务器也配置好了 dovecot - 工作正常,spamassassin - 也工作正常。我可能错过了一些明显的东西,但我就是找不到它。
在日志中,当我尝试通过远程主机上的 Thunderbird 发送邮件时,我得到了以下信息:
5 月 22 日 14:06:16 d7205 postfix/smtpd[11560]:设置来自未知的 TLS 连接[xyzc] 5 月 22 日 14:06:16 d7205 postfix/smtpd[11560]:从未知建立的匿名 TLS 连接[xyzc]:使用密码 DHE-RSA-CAMELLIA256-SHA(256/256 位)的 TLSv1 5 月 22 日 14:06:17 d7205 postfix/smtpd[11560]:NOQUEUE:拒绝:来自未知的 RCPT[xyzc]:554 5.7.1:中继访问被拒绝;从= 到= 原型=ESMTP helo= 5 月 22 日 14:06:18 d7205 postfix/smtpd[11560]:与未知 [xyzc] 断开连接
当前的后缀配置(后缀-n):
alias_database = 哈希:/etc/aliases alias_maps = 哈希:/etc/aliases ounce_queue_lifetime = 2d broken_sasl_auth_clients = 是 命令目录 = /usr/sbin 配置目录=/etc/postfix daemon_directory = /usr/libexec/postfix 数据目录 = /var/lib/postfix 调试对等级别 = 2 home_mailbox = 邮件目录/ html_目录 = 否 inet_interfaces = 全部 inet_协议 = ipv4 邮件所有者 = 后缀 mail_spool_directory = /var/spool/邮件 邮箱大小限制 = 256000000 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man 最大队列寿命 = 3d mydestination = pcre:/etc/postfix/mydomains mydomain = 域名.tld myhostname = 域名.tld 我的网络 = 192.168.1.0/24, 127.0.0.0/8 我的起源 = $我的域名 newaliases_path = /usr/bin/newaliases.postfix 队列目录 = /var/spool/postfix 队列运行延迟 = 30 秒 readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES 收件人分隔符 = + 中继域 = $mydestination 样本目录 = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = 投放后 smtp_sasl_security_options = noplaintext, noanonymous smtp_tls_cert_file = /etc/pki/tls/certs/postfix.crt smtp_tls_key_file = /etc/pki/tls/certs/postfix.key smtp_tls_note_starttls_offer = 是 smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache smtp_use_tls = 是 smtpd_banner = $myhostname ESMTP smtpd_recipient_restrictions =拒绝_unauth_destination,允许 smtpd_sasl_auth_enable = 是 smtpd_sasl_local_domain = $my主机名 smtpd_sasl_path = 私有/身份验证 smtpd_sasl_security_options = noanonymous smtpd_sasl_type = 鸽舍 smtpd_sender_restrictions=permit_sasl_authenticated, 拒绝未知发件人域, 拒绝非fqdn_sender, 拒绝未知地址, 允许 smtpd_tls_auth_only = 否 smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.crt smtpd_tls_key_file = /etc/pki/tls/certs/postfix.key smtpd_tls_loglevel = 1 smtpd_tls_received_header = 是 smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = 是 tls_random_source = dev:/dev/urandom 未知本地收件人拒绝代码 = 550
和 maste.cf 看起来像这样:
smtp inet n - - - - smtpd 提交inet n - n - - smtpd # -o smtpd_tls_security_level=加密 # -o smtpd_sasl_auth_enable=是 # -o smtpd_client_restrictions=permit_sasl_authenticated,拒绝 # -o milter_macro_daemon_name=起源 -o content_filter=spamassassin smtps inet n - - - - smtpd # -o smtpd_tls_wrappermode=是 # -o smtpd_sasl_auth_enable=是 # -o smtpd_client_restrictions=permit_sasl_authenticated,拒绝 # -o milter_macro_daemon_name=起源 #628 inet n - n - qmqpd 拾音器 fifo n - n 60 1 个拾音器 清理 unix n - n - 0 清理 qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr tlsmgr unix - - n 1000?1 tlsmgr 重写 unix - - n - - 简单重写 反弹 unix - - n - 0 反弹 defer unix - - n - 0 反弹 追踪unix - - n - 0 反弹 验证unix - - n - 1 验证 刷新unix n - n 1000?0冲洗 proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp # 当中继邮件作为备份MX时,禁用fallback_relay以避免MX循环 中继unix - - n - - smtp -o smtp_fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq 错误 unix - - n - - 错误 重试unix - - n - - 错误 丢弃 unix - - n - - 丢弃 本地unix - nn - - 本地 虚拟unix - nn - - 虚拟 lmtp unix - - n - - lmtp 铁砧 unix - - n - 1 铁砧 scache unix - - n - 1 scache dovecot unix-nn--管道 标志=DRhu argv=/usr/lib/dovecot/deliver -d ${recipient} spamassassin unix - nn - - 管道 用户=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${发件人} ${收件人}
归档时间: |
|
查看次数: |
3386 次 |
最近记录: |