?
Solved

Adding extra transport routes to Postfix

Posted on 2005-03-16
4
Medium Priority
?
756 Views
Last Modified: 2013-12-15
Hello all,

i have an gateway server implemented running the usual postfix/amavisd/clam/SA and basically all it does it checks all the email for each clients domain and then relays it on to the end users exchange server.

My transport file is setup like this...

domain01.com                  smtp:[0.0.0.0]
domain02.co.uk                 smtp:[0.0.0.0]
testdomain.org.uk             smtp:[0.0.0.0]

and so on....

my question is, i want to add more than 1 route for some of the domains. How can i go about adding more than 1 route for each domain and maybe prioitizing them like an MX record.

Any help would be really helpful.

Thanks

Dan.
0
Comment
Question by:DClayden
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
mburdick earned 2000 total points
ID: 13580959
If you want an "MX-style" set of next-hop hosts, then use the MX'es and don't define a transport_map for that domain.

Also, by encolsing an address inside of [] will disable MX lookups for that domain completely, and will always use the address specified.

The way that you need to set everything up for reliability, RFC compliance, flexibility, and so on is like this:

domain01.com
     MX     10 mail.domain01.com
     MX     30 mx1.yoursite.com
     MX     50 mx2.yoursite.com

The actual domain01.com site will need a firewall that only allows your mail-scanning servers to connec to it on port 25. Their machine needs to be listed as a mail server for their domain so that they can connect out to the world directly and deliver mail without being out of RFC compliance for mail servers. If they have multiple mail servers for their domain, they must all be listed in the DNS zone, with appropriate preference levels, and must all be configured to ONLY allow your servers to connect in on TCP/25. Then, you don't use the transport_map settings...
0
 
LVL 12

Expert Comment

by:mburdick
ID: 15956875
What ever happened here?

Was the information useful or not?

Please either accept an answer, provide more details, or ask for the question to be closed.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question