OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: any way to modify envelope and header sender differently?

rm.richesverizon.net
Date: Fri Apr 01 2005 - 14:00:34 CST


> Date: Fri, 01 Apr 2005 00:59:15 -0500
> From: D.Walsh <infodaleenterprise.com>
> Subject: Re: any way to modify envelope and header sender differently?
>
> On Apr 01, 2005, at 00:22, rm.richesverizon.net wrote:
>
> > ...
> >
> > One possible solution might be to do
> >
> > localuser1 -> envelope sender: mainaccountverizon.net
> > header sender: subaccount1verizon.net
> >
> > localuser2 -> envelope sender: mainaccountverizon.net
> > header sender: subaccount2verizon.net
> >
> > ...
> >
> > That way, the main account SASL username and password from
> > sasl_passwd would match, but the delivered header would
> > still show the individual name. Now, the only catch will be
> > if Verizon checks whether the envelope sender and header
> > sender match.
> >
> > Any suggestions to do the above?
>
> How about something like altermime, it allows you to modify existing
> headers?
>
> > In case it matters, I'm using postfix 2.1.1 on Mandrake
> > Linux 10.0 (postfix-2.1.1-0.1.100mdk to be specific).

I looked into altermime, but it appears to just modify
headers. What I'm needing to do is modify what Postfix
sends in the "MAIL FROM" command, which I had understood to
be the envelope sender. I need the "MAIL FROM" to show the
main account name (and password) to match the sasl_password
file, but the header needs to show the subaccount names for
the local sender.

The problem is only for outgoing messages that have to be
routed through outgoing.verizon.net due to blind
blacklisting of DSL dynamic IP addresses by an increasing
number of domains. Verizon insists that the "MAIL FROM"
address must match the SASL authentication credentials, or
they reject the message.

The alternative solution would be sender-based selection of
authentication credentials, to make the SASL authentication
credentials match the address in the "MAIL FROM" command,
but it doesn't appear Postfix can be configured to do that.

Thanks.

Robert Riches
rm.richesverizon.net