multiple relay host for email delivery
Here is my situation:
I am using postfix MTA.
I have free email account with gmail.com and yahoo.com.au (and others)
Until now I was using using my ISP smtp server as relayhost.
Everything was fine till few days ago my ISP refuse to relay mail that
I send as user@yahoo.com.au or user@gmail.com. It only now relay
emails that use email address my ISP provided to me. I do not want to
use this email because in no time spamers will get it and flood my
primary mailbox.
I could try to let postfix send emails directly without relayhost but
I suspect that dynamic IP I will be assigned when I dial-up to
internet will be blacklisted already and many smtp servers will refuse
to accept email this way.
Therefore I am wondering if there is possible to setup postfix
in such a way that it relay emails that are FROM user@gmail.com
to smtp.gmail.com and emails that are FROM user@yahoo.com.au
to smtp.mail.yahoo.com etc...?
I was reading postfix docs and closest what I found is transport
table. But it will not do what I want since it choose relay host based
on destination address. I need it to chose relay host based on the
originating address (From: header).
If postfix can not do this maybe some other MTA can?
Martin
Stay connected to the people that matter most with a smarter inbox. Take a look http://au.docs.yahoo.com/mail/smarterinbox
Reply to: