Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending to multiple mail servers, no DNS

Status
Not open for further replies.

cjsaunders

Technical User
Apr 18, 2007
1
US
Ok,
Here is my issue. I have a postfix server installed, I need to be able to send email to two different mail servers, in two different domains and ip addresses(obviusly). I dont have DNS. I cannot do an nslookup on these servers. I can send mail via port 25 to them. How do I configure postfix in order to send mail to multiple mail servers outside my domain which I dont have DNS communication with? i.e.


send mail from mail.myserver.com to

mail.vader.com
mail.luke.com

sending to mailbox user1@vader.com
sending to mailbox user2@luke.com

i.e.

echo test | mail user1@vader.com

I have there FQDN and Ip of both different mailservers
 
Put them in your transport file. Enclose the name or IP address in [] to avoid mx lookups.

vader.com smtp:[mail.vader.com]

then run "postmap transport"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top