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: Wed Jan 05 2000 - 09:08:01 CST


Marco d'Itri:
> On Jan 04, Martin Schulze <joeyfinlandia.Infodrom.North.DE> wrote:
>
> >If there are multiple instances of postfix, how would I be supposed
> >to route the mail from the MUA to the proper MTA?
> You put in your ~/.muttrc:
>
> folder-hook . 'set sendmail="/usr/sbin/sendmail -oem"'
> folder-hook =com 'set sendmail="/usr/sbin/sendmail2 -oem"'
>
> I'm doing that with sendmail since some years.

By the same token, if you're subscribed to Postfix with
an extended address, specify a folder-hook with

    'set sendmail="/usr/sbin/sendmail -f username+postfix"'

in order to submit mail to Postfix. This way I do not
have to manually approve non-member postings.

        Wietse



This archive was generated by hypermail 2b27 : Wed Jan 05 2000 - 09:10:11 CST