OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [PATCH] Postfix policy protocol

From: John Capo (jcirbs.com)
Date: Sun Feb 01 2004 - 16:49:18 CST


Quoting Yann GROSSEL (y.grosselsky.winterbird.net):
>
> Hello,
>
> I have a wish about the Postfix policy delegation protocol.
>
> I'm using SASL on a mailserver. I'm planning to use the great new
> check_policy_service restriction and I'd like to be able to base my
> policy decisions on the authenticated user.
>
> The problem is that the current policy protocol doesn't have an attribute
> to give the SASL authenticated user for the SMTP connection.
>
> Would it be possible to add an new attribute like :
>
> sasl_user=foobar.net
>
> in the requests sent by Postfix SMTPD to the policy server ? I think it
> can be done in a 10 lines patch...
>

Attached patch is against postfix-2.0.16-20031022. I needed it for
similar reasons.

John Capo