我请求你的帮助,我已经跟着几个教程,我不给我想要的。 情况是这样的:
服务器与Zimbra(192.168.1.10)服务器与Postfix(192.168.1.20)
(是的,我的老板需要在另一台服务器的后缀(我知道zimbra有他自己的后缀)
那么,我们需要Zimbra通过postfix服务器发送和接收邮件。
这是configuration:
main.cf
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 mydomain = mydomain.org.ar myhostname = postfix.mydomain.org.ar myorigin = $mydomain relay_domains = mydomain.org.ar newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES sample_directory = /usr/share/doc/postfix-2.10.1/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = mydomain.org.ar smtpd_sasl_path = /etc/sasl2/smtpd.conf smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes unknown_local_recipient_reject_code = 550
master.cf
smtp inet n - n - - smtpd pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - nn - - local virtual unix - nn - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache
通过这种configuration,我从Zimbra发送的邮件经过后缀,并将其发送给收件人(Gmail,Hotmail等),但如果有人试图回应,则会发生此错误。
这是日志错误:
Nov 1 12:50:52 postfix postfix/smtpd[6206]: connect from mail-pg0-f49.google.com[74.125.83.49] Nov 1 12:50:53 postfix postfix/smtpd[6206]: 292EFAFC09: client=mail-pg0-f49.google.com[74.125.83.49] Nov 1 12:50:53 postfix postfix/cleanup[6210]: 292EFAFC09:message-id=<[hidden email]> Nov 1 12:50:53 postfix postfix/qmgr[6201]: 292EFAFC09: from=<[hidden email]>, size=2693, nrcpt=1 (queue active) Nov 1 12:50:53 postfix postfix/smtpd[6206]: disconnect from mail-pg0-f49.google.com[74.125.83.49] Nov 1 12:50:53 postfix postfix/smtpd[6206]: connect from unknown[172.16.0.1] **Nov 1 12:50:53 postfix postfix/smtp[6211]: warning: host postfix.mydomain.org.ar[190.2.135.194]:25 greeted me with my own hostname postfix.mydomain.org.ar Nov 1 12:50:53 postfix postfix/smtp[6211]: warning: host postfix.mydomain.org.ar[190.2.135.194]:25 replied to HELO/EHLO with my own hostname postfix.mydomain.org.ar** Nov 1 12:50:53 postfix postfix/smtp[6211]: 292EFAFC09: to=<[hidden email]>, relay=postfix.mydomain.org.ar[190.2.135.194]:25, delay=0.48, delays=0.19/0.01/0.28/0, dsn=5.4.6, status=bounced (mail for mydomain.org.ar loops back to myself) Nov 1 12:50:53 postfix postfix/smtpd[6206]: disconnect from unknown[172.16.0.1] Nov 1 12:50:53 postfix postfix/cleanup[6210]: 9F392AFC0B: message-id=<[hidden email]> Nov 1 12:50:53 postfix postfix/qmgr[6201]: 9F392AFC0B: from=<>, size=4683,nrcpt=1 (queue active) Nov 1 12:50:53 postfix postfix/bounce[6212]: 292EFAFC09: sender non-delivery notification: 9F392AFC0B Nov 1 12:50:53 postfix postfix/qmgr[6201]: 292EFAFC09: removed Nov 1 12:51:00 postfix postfix/smtp[6213]: 9F392AFC0B: to=<[hidden email]>, relay=gmail-smtp-in.l.google.com[64.233.190.26]:25, delay=6.8, delays=0/0.01/5.6/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1509551885 e64si537222qkc.73 - gsmtp) Nov 1 12:51:00 postfix postfix/qmgr[6201]: 9F392AFC0B: removed
我能做什么??? 什么即时做错了? 还有什么我需要configuration?
谢谢大家!