554 5.7.1: Relay access denied

hi
I have configured a mail server on a SLS xserve but I have some problems with incoming emails: using any email account to send a test mail to user@mydomain.com (which is a valid account I can use to send messages), I receive the following error:


----- The following addresses had permanent fatal errors -----
<user@mydomain.com>
(reason: 554 5.7.1 <user@mydomain.com>: Relay access denied)

----- Transcript of session follows -----
... while talking to mail.mydomain.com.:
DATA
<<< 554 5.7.1 <user@mydomain.com>: Relay access denied
554 5.0.0 Service unavailable
<<< 554 5.5.1 Error: no valid recipients



I have read some topics on this forum with similar issues but I couldn't solve mine, I'll post my postconf -n


biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug peerlevel = 2
enable serveroptions = yes
header_checks = pcre:/etc/postfix/custom headerchecks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mail_owner = _postfix
mailbox sizelimit = 0
mailbox_transport = dovecot
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message sizelimit = 10485760
mydomain = mydomain.com
mydomain_fallback = localhost
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpd clientrestrictions = permit_mynetworks permit saslauthenticated permit
smtpd enforcetls = no
smtpd helorequired = yes
smtpd helorestrictions = reject invalid_helohostname reject non_fqdn_helohostname
smtpd pw_server_securityoptions = cram-md5
smtpd recipientrestrictions = permit saslauthenticated permit_mynetworks reject unauthdestination check policyservice unix:private/policy permit
smtpd sasl_authenable = yes
smtpd tlsCAfile = /etc/certificates/mydomain.347A9DC2B6519982A6C3D71607EB9E0A466636CB.chain.pem
smtpd tls_certfile = /etc/certificates/mydomain.347A9DC2B6519982A6C3D71607EB9E0A466636CB.cert.pem
smtpd tls_excludeciphers = SSLv2, aNULL, ADH, eNULL
smtpd tls_keyfile = /etc/certificates/mydomain.347A9DC2B6519982A6C3D71607EB9E0A466636CB.key.pem
smtpd tlsloglevel = 0
smtpd use_pwserver = yes
smtpd usetls = yes
unknown local_recipient_rejectcode = 550
virtual aliasmaps =


is there any error?
any help is greatly greatly appreciated
thanks in advance

Message was edited by: novantadue

Message was edited by: novantadue

MacBook unibanzi, Mac OS X (10.6.2)

Posted on Jan 19, 2010 2:14 AM

Reply
6 replies

Jan 19, 2010 6:06 AM in response to pterobyte

thanks, I had already set it at "Debug" level, I have slightly different log messages when sending from gmail.com or from pippo.it but reason is the same

gmail.com

Jan 19 10:50:59 mail postfix/smtpd[1833]: connect from mail-ew0-f211.google.com[209.85.219.211]
Jan 19 10:50:59 mail postfix/smtpd[1833]: NOQUEUE: reject: RCPT from mail-ew0-f211.google.com[209.85.219.211]: 450 4.7.1 <user@mydomain.com>: *Recipient address rejected: Service is unavailable*; from=<user@gmail.com> to=<user@mydomain.com> proto=ESMTP helo=<mail-ew0-f211.google.com>
Jan 19 10:50:59 mail postfix/smtpd[1833]: disconnect from mail-ew0-f211.google.com[209.85.219.211]

pippo.it (80.253.x.x is public IP address)

Jan 19 10:55:44 mail postfix/smtpd[1941]: warning: 80.253.x.x : address not listed for hostname mail.pippo.it
Jan 19 10:55:44 mail postfix/smtpd[1941]: connect from unknown[80.253.x.x]
Jan 19 10:55:44 mail postfix/smtpd[1941]: NOQUEUE: reject: RCPT from unknown[80.253.x.x]: 550 5.1.1 <user@mydomain.com>: *Recipient address rejected: User unknown in local recipient table*; from=<user@pippo.it> to=<user@mydomain.com> proto=ESMTP helo=<mail.pippo.it>
Jan 19 10:55:44 mail postfix/smtpd[1941]: disconnect from unknown[80.253.x.x]

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

554 5.7.1: Relay access denied

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.