问题通过postfix从thunderbird发送邮件

我遇到了问题,我不能通过使用例如Thunderbird发送邮件 – 但从本地机器,邮件发送完美的罚款。 邮件服务器configuration也dovecot – 这是工作正常和spamassassin – 也工作正常。 我可能错过了一些明显的东西,但我找不到它。

在日志中,当我尝试通过远程主机上的Thunderbird发送邮件时遇到了这个问题:

 5月22日14:06:16 d7205 postfix / smtpd [11560]:build立来自unknown [xyzc]的TLS连接
 5月22日14:06:16 d7205 postfix / smtpd [11560]:从未知的[xyzc]build立的匿名TLS连接:密码为DHE-RSA-CAMELLIA256-SHA(256/256位)的TLSv1。
 5月22日14:06:17 d7205 postfix / smtpd [11560]:NOQUEUE:拒绝来自unknown的RCPT [xyzc]:554 5.7.1:中继访问被拒绝; 从=到=原型= ESMTP helo =
 5月22日14:06:18 d7205 postfix / smtpd [11560]:断开与未知[xyzc]

当前postfixconfiguration(后缀-n):

 alias_database = hash:/ etc / aliases
 alias_maps = hash:/ etc / aliases
 bounce_queue_lifetime = 2d
 broken_sasl_auth_clients =是
 command_directory = / usr / sbin
 config_directory = / etc / postfix
 daemon_directory = / usr / libexec / postfix
 data_directory = / var / lib / postfix
 debug_peer_level = 2
 home_mailbox = Maildir /
 html_directory = no
 inet_interfaces = all
 inet_protocols = ipv4
 mail_owner =后缀
 mail_spool_directory = / var / spool / mail
 mailbox_size_limit = 256000000
 mailq_path = /usr/bin/mailq.postfix
 manpage_directory = / usr / share / man
 maximal_queue_lifetime = 3d
 mydestination = pcre:/ etc / postfix / mydomains
 mydomain = domain.tld
 myhostname = domain.tld
 mynetworks = 192.168.1.0/24,127.0.0.0/8
 myorigin = $ mydomain
 newaliases_path = /usr/bin/newaliases.postfix
 queue_directory = / var / spool / postfix
 queue_run_delay = 30s
 readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
 recipient_delimiter = +
 relay_domains = $ mydestination
 sample_directory = /usr/share/doc/postfix-2.6.6/samples
 sendmail_path = /usr/sbin/sendmail.postfix
 setgid_group = postdrop
 smtp_sasl_security_options = noplaintext,不知名
 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 = reject_unauth_destination,许可
 smtpd_sasl_auth_enable =是
 smtpd_sasl_local_domain = $ myhostname
 smtpd_sasl_path = private / auth
 smtpd_sasl_security_options = noanonymous
 smtpd_sasl_type = dovecot
 smtpd_sender_restrictions = permit_sasl_authenticated,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_unknown_address,permit
 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
 unknown_local_recipient_reject_code = 550 

和maste.cf看起来像这样:

  smtp inet n  -   -   -   -  smtpd
提交inet n  -  n  -   -  smtpd
 #-o smtpd_tls_security_level =encryption
 #-o smtpd_sasl_auth_enable =是
 #-o smtpd_client_restrictions = permit_sasl_authenticated,拒绝
 #-o milter_macro_daemon_name = ORIGINATING
    -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 = ORIGINATING
 #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  -   -  1000?  1 tlsmgr
重写unix  -   -  n  -   - 平凡重写
反弹unix  -   -  n  -  0反弹
推迟unix  -   -  n  -  0反弹
跟踪unix  -   -  n  -  0反弹
validationunix  -  n  -  1validation
 flush unix n  -  n 1000?  0冲水
 proxymap unix  -   -  n  -   -  proxymap
 proxywrite unix  -   -  n  -  1代理映射
 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  -   - pipe道
   flags = DRhu argv = / usr / lib / dovecot / deliver -d $ {recipient}

 spamassassin unix  -  nn  -   -  pipe
    user = spamd argv = / usr / bin / spamc -f -e
    / usr / sbin / sendmail -oi -f $ {sender} $ {recipient}

问题是,我没有在后缀configuration中的这个特定的设置:

 smtpd_recipient_restrictions =
    permit_sasl_authenticated,
    permit_mynetworks,
    check_relay_domains