- 论坛徽章:
- 0
|
50可用积分
This is the mail system at host ***.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<***@gmail.com>: host gmail-smtp-in.l.google.com[72.14.253.27] said:
550-5.7.1 [*.*.*.*] The IP you're using to send mail is not authorized
550-5.7.1 to send email directly to our servers. Please use the SMTP
550-5.7.1 relay at your service provider instead. Learn more at 550
5.7.1 http://mail.google.com/support/bin/answer.py?answer=10336
q18si2679435pog.7 (in reply to end of DATA command)
我的配置如下
[root@**]# /usr/local/postfix/sbin/postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/local/postfix/sbin
config_directory = /etc/postfix
daemon_directory = /usr/local/postfix/libexec
debug_peer_level = 2
html_directory = /var/www/postfix_html
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/postfix/man
message_size_limit = 26214400
mydestination = localhost,$mynetworks,$myhostname
mydomain = aaa.com
myhostname = mail.com
mynetworks = 127.0.0.1
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/mailbox
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 26214400
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop
virtual_uid_maps = static:1001
另外
MX记录应该如何设定?
我把“mail.域名.”和“域名.”都加上了
MX0-10的顺序应该设多少为好?
谢谢! |
最佳答案
查看完整内容
relayhost = "你的上游ISP邮件网关地址"或者让你的ISP将IP反解至你的域名也可以,不过,这个据说收费挺高。这个基本跟你自己的DNS上的MX记录顺序设置没有太大关系的,那个仅用来指明本地域内MX的优先级。[ 本帖最后由 marion 于 2008-4-25 22:36 编辑 ]
|