OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: 2 SMTP Relays, depending on the From: add

Re: 2 SMTP Relays, depending on the From: address


Subject: Re: 2 SMTP Relays, depending on the From: address
From: Wietse Venema (wietseporcupine.org)
Date: Sat Jan 01 2000 - 16:57:56 CST


Alexis Maldonado:
> We have two different e-mail addresses, with two different providers.
>
> I need to deliver mail from abcfoo.com to smtp.foo.com
> and mail from defbar.com to mail.bar.com

Use two Postfix instances on the same machine, each with different
settings for:

    PARAMETER FOO.COM BAR.COM
    =========================================================
    myorigin foo.com bar.com
    inet_interfaces x.x.x.x y.y.y.y 127.0.0.1
    relayhost smtp.foo.com mail.bar.com

You have two config directories.

Start up Postfix with: postfix -c config-directory start
Flush queue with: postfix -c config-directory flush

> Where can I configure Postfix so that it will use two SMTP relay hosts,
> depending on the FROM: address? Or depending on the user on my server?

That is not implemented. This will have to wait until Postfix
has content filtering.

        Wietse



This archive was generated by hypermail 2b27 : Sat Jan 01 2000 - 16:58:26 CST