different policy bank for sasl authenticated users in postfix smtpd_proxy_filter setup

Markus Schönhaber amavis-users at list-post.mks-mail.de
Wed Nov 21 16:23:35 CET 2018

Alexander 'Leo' Bergolth, Wed, 21 Nov 2018 15:50:00 +0100:

> 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. :-(

Yep, although I quoted it, I missed the point that you're using a
pre-queue filter.

I'd ask in postfix-users. If not someone else, at least Wietse or Viktor
will know an definitive answer to your question.


More information about the amavis-users mailing list