Problem in relaying outbound mails for specific smtp
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Problem in relaying outbound mails for specific smtp
Hi Guys,
I have this client, and they have a Postfix Email Server, this client wants to make all outbound mails for the domain aol.com to relay on this specific smtp server (an smtp relay server that is located on their backup ISP provider). One problem is that they do not want to relay other outbound mails such as yahoo.com or gmail.com for this smtp.
The reason they want to do this is that Aol does not allow to accept their mails that are comming from our clients postfix server unless it comes from their smtp relay that are located in their backup ISP provider.
Distribution: Redhat Server Administrators and Solaris 10 Newbie
Posts: 51
Rep:
dear gurl4sh25,
edit /etc/transport. add this line
aol.com relay:[<your SMTP fqdn>]
edit main.cf add/edit this line :
transport_maps = hash:/etc/postfix/transport
adjust the path accordingly.
then run on the command prompt :
# postmap transport
# postfix reload
to check the relaying works :
send an email to aol.com while executing this line on the linux :
# tail /var/log/maillog -f
a line like this will show ( this line is example only ) :
Sep 1 11:15:31 dms postfix/smtp[28951]: 8AE51110C0A: to=<abc@aol.com>, relay=<your SMTP fqdn>, delay=9, status=sent (250 2.0.0 k814FK7p012667 Message accepted for delivery)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.