I was following the tutorial http://wiki.centos.org/zh/HowTos/postfix_restrictions
but, when I tried to send a mail with smtp, it returns:
Connected to XXX.XXX.33.22 (XXX.XXX.33.22).
Escape character is '^]'.
220 mail.xxxx.com ESMTP Postfix
HELO mail.xxxx.com
250 mail.xxxx.com
MAIL FROM:<
[email protected]>
250 2.1.0 Ok
RCPT TO:<
[email protected]>
554 5.7.1 <
[email protected]>: Relay access denied
And, the postfix main.cf setting is relay_domains =