Ralph Seichter via Postfix-users:
> https://www.postfix.org/FILTER_README.html states:
> 
> > The content filter injects filtered mail back into Postfix with the
> > Postfix sendmail(1) command, so that Postfix can deliver it to the
> > final destination. This means that mail submitted via the Postfix
> > sendmail(1) command cannot be content filtered.
> 
> Just to confirm: This means that one would need to write a wrapper for
> Postfix's sendmail binary to have any chance of preventing user Alice to
> send mail in this manner, while allowing users Bob and Charlie to use
> sendmail unimpeded? I don't want to assign a non-standard GID shared by
> Bob and Charlie to the binary itself.
> 
> If I am missing an obvious alternative, please do share your idea.

This is already covered by existing sendmail (postdrop) features.

- Limit who can submit mail (based on the login name).

- Limit who Alice can send mail as (based on login name
and envelope sender).

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to