Dnia 30.09.2020 o godz. 16:35:37 Wietse Venema pisze:
>    With authenticated smtp submission, the envelope.from can be
>    constrained by smtpd_sender_login_maps.
> 
>    With sendmail/postdrop submission the UNIX login name can be
>    overidden with "sendmail -f". There is no code in Postfix to
>    lock down "sendmail -f", and there is no 'plugin' interface that
>    could do this, either. I don't like the idea of adding complex
>    logic to the set-gid postdrop command to lock down "sendmail
>    -f". Doing the lockdown in the pickup daemon would be more
>    secure but has the problem that the 'reject' happens too late.

Slightly off topic, but the original sendmail when "-f" parameter was used
added the following header to the sent message:

X-Authentication-Warning: <hostname>: <original-username> set sender to
<sender-specified-with-f> using -f

<original-username> was of course the user who was calling
/usr/sbin/sendmail. Is Postfix able to do similar thing?
-- 
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."

Reply via email to