I have browsed through the documentatin and FAQs but found no solution to
my problem.
We want to use a mailserver for our lan, beside local delivery it should
also route mail to external relays. The problem is that the users here use
different services for mail.
So, my question is: Is there a chance to configure postfix in a way that
it routes mails based on the sender-address ?
Like user1@foo to relay smtp.foo and user2@bar to relay smtp.bar ?
Because the connection is dialup it would be interessting to clear the
queue by telling it to send only mails for *@foo or *@bar.
Thanks for you time...
Daniel
AFAICT postfix experimental snapshots have such a feature.
search the archives for sender based routing.
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
Beware, this does not work for undeliverable mail that must be
returned to the sender. Such mail has a fixed sender address (the
null string) and will therefore be given to the wrong relay.
Wietse