我正在學習(嘗試)在Centos 7 VM中構建自己的郵件服務器。 當我的郵件被拒絕時,我遇到了問題。 使用POSTFIX我想從Gmail發送電子郵件到我的郵件,但它被這個錯誤所困擾。下面我會盡我所能提供儘可能多的信息。 順便說一句我沒有任何DNS記錄,所以我只使用IP。 用戶是John。從Postfix - 收件人地址被拒絕:本地收件人表中的用戶未知
[[email protected] ~]# cat /etc/aliases
john: john
輸出(postconf -d; postconf -d; postconf -n)|排序|的uniq -u
mydomain = marhyno.info
myhostname = mail
mynetworks = all
mydestination = localhost.$mydomain, localhost, mail.marhyno.info, <myipo>
smtpd_recipient_restrictions =
permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
resolve_numeric_domain = yes
relay_recipient_maps =
alias_maps = hash:/etc/aliases
allow_mail_to_commands = alias,forward,include
allow_mail_to_files = alias,forward,include
biff = no
html_directory = /usr/share/doc/packages/postfix/html
local_recipient_maps = unix:passwd.byname $alias_maps
輸出從尾-f /無功/日誌/ maillog中
Feb 10 01:26:55 mail postfix/smtpd[7531]: connect from mail-yb0-f173.google.com[209.85.213.173]
Feb 10 01:26:56 mail postfix/smtpd[7531]: NOQUEUE: reject: RCPT from mail-yb0-f173.google.com[209.85.213.173]: 550 5.1.1 <[email protected]<myip>>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]<myip>> proto=ESMTP helo=<mail-yb0-f173.google.com>
Feb 10 01:26:56 mail postfix/smtpd[7531]: disconnect from mail-yb0-f173.google.com[209.85.213.173]
任何幫助將不勝感激:)謝謝。