For the sake of those following this thread, I thought I would share how
I solved this problem:
What I wanted:
- SOME of my hosted domains want to use a 3rd party SPAM filter for
both inbound AND outbound mail
- the 3rd party filter is expensive (well, far more expensive than my
normal fees), so not ALL clients want the added filtering
- QMail apparently has no way to redirect only SOME outbound messages
to a smart host (filter)
So the problem was simple: find a way to route only some domains to the
SPAM filter
How I got there:
- Since the machine that hosts email has 2 available public IPs & is
capable of running a VM, I created a 2nd server (as a VM guest)
- The 2nd QMail server is set to use the smarthost filter... that is:
- inbound SMTP connections are allowed ONLY from one of the
smarthost servers (tcprules)
- outbound SMTP connections go only to the smarthost filter
(smtproutes)
- maildirs (/home/vpopmail/domains) are NFS mounted between servers
so that only the MAIN server (VM host) has actual mail storage
- vpopmail on the premium mail server (guest os) connects to the
MySQL server on the main server (host os)
- users for the premium service connect to the premium server for
outbound mail, but the "standard" server for POP/IMAP
That was the best I could think of... anyone with ideas for a better
way, I'm open to suggestions!
Dan McAllister
QMT DNS/Mirror Admin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]