Bart?omiej Roma?ski: > > 2. Limit shell users' access to sendmail(1) using > > authorized_submit_users: > > That would break, for example, the 'at' command. It would like to > allow my users to send emails. I just want to prevent them from faking > "sender" header. > > > 3. Alternatively, you could limit access to sendmail(1) using > > filesystem permissions, but this might break in an upgrade. > > The same problem as above.
There exists no Postfix equivalent of smtpd_sender_login_maps for command-line submissions. There has not been sufficient justfication in fifteen years to write the code for it, and to maintain that code for eternity. Wietse