Unable to send emails to any domains not hosted locally on this server via SMTP client. If I do the same using SMTP client I receive NDR and below message in my /var/log/maillog.
Oct 10 12:12:12 portal postfix/smtpd: NOQUEUE: reject: RCPT from gateway[195.xx.xx.xxx]: 554 <email@example.com>: Relay access denied
; from=<firstname.lastname@example.org> to=<email@example.com> proto=ESMTP helo=<Inbox>
Everything works fine if I use web mail client UebiMiau except UebiMiau translates internal emails to firstname.lastname@example.org@myserverhostname.com
. But at it lets me send emails to email@example.com
without any problem, see the log message below which works perfectly.
Oct 10 12:25:32 portal postfix/smtp: 78FFA485C8E: to=<firstname.lastname@example.org>, relay=mx2.mail.yahoo.com[188.8.131.52], delay=23, status=sent (250 ok dirdel)
I have read few threads where people are facing this error "Relay access denied" but couldn't really find the resolution for my problem.
I have perfectly installed ISPConfig on FC4 without any problems. /etc/postfix/main.cf has following entry as per installation instruction. I have tried check_relay_domains appears same after restarting postfix.
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination