> On Jan 12, 2019, at 5:31 PM, Pali Rohár <pali.ro...@gmail.com> wrote:
>
> If you mean external content filters, I wanted to avoid using them.
Sometimes you need to bring out the sledgehammer.
> And it is really possible for milter to get unix user who invoked
> postdrop or sendmail wrapper? If yes, how? Because I thought that milter
> operates on SMTP where is no unix user anymore...
Postfix supports non-SMTP milters. The user's UID is recorded by
pickup(8) in the topmost "Received" header.
http://www.postfix.org/MILTER_README.html#non-smtp-milters
--
Viktor.