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 <firstname.lastname@example.org>: Relay access denied
; from=<email@example.com> to=<firstname.lastname@example.org> proto=ESMTP helo=<Inbox>
Everything works fine if I use web mail client UebiMiau except UebiMiau translates internal emails to email@example.com@myserverhostname.com
. But at it lets me send emails to firstname.lastname@example.org
without any problem, see the log message below which works perfectly.
Oct 10 12:25:32 portal postfix/smtp: 78FFA485C8E: to=<email@example.com>, relay=mx2.mail.yahoo.com[18.104.22.168], 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