different policy bank for sasl authenticated users in postfix smtpd_proxy_filter setup

Alexander 'Leo' Bergolth leo at strike.wu.ac.at
Wed Nov 21 15:50:00 CET 2018


On 11/21/2018 12:56 PM, Markus Schönhaber wrote:
> Alexander 'Leo' Bergolth, Wed, 21 Nov 2018 11:56:04 +0100:
>> Is it possible to assign a different policy bank to SASL authenticated
>> users for mail that arrives via port 25.
>> I am using a pre-queue filter setup with postfix:
> 
> I don't know of any simple way to achieve this. But since I once had a
> similar requirement, I wrote a small policy server which checks if
> postfix passes a non-empty "sasl_username" field to it and returns an
> "ACTION=FILTER ..." response in these cases.

Yes, but action=filter specifies an _after-queue_ content filter. :-(

--leo
-- 
e-mail   ::: Leo.Bergolth (at) wu.ac.at
fax      ::: +43-1-31336-906050
location ::: IT-Services | Vienna University of Economics | Austria



More information about the amavis-users mailing list