Re: How to restrict local users to use the sendmail command?

2011-06-27 Thread mouss
Le 27/06/2011 01:35, Noel Jones a écrit : On 6/26/2011 3:12 PM, Ralf Hildebrandt wrote: * Georg Sauthoffgsaut...@sdf.org: Since procmail(1), and other utilities need to be able to forward mail while retaining the original envelope sender address, restricting the envelope sender address in

Re: How to restrict local users to use the sendmail command?

2011-06-26 Thread Georg Sauthoff
On Sat, Jun 25, 2011 at 03:50:14PM -0400, Victor Duchovni wrote: On Sat, Jun 25, 2011 at 07:45:48PM +0200, Ralf Hildebrandt wrote: And how do I allow only a restricted set of envelope from values (with sendmail -f)? I think this is not possible. Correct, sendmail(1) is not

Re: How to restrict local users to use the sendmail command?

2011-06-26 Thread Ralf Hildebrandt
* Georg Sauthoff gsaut...@sdf.org: Since procmail(1), and other utilities need to be able to forward mail while retaining the original envelope sender address, restricting the envelope sender address in sendmail would be quite disruptive. Postfix does not provide such a feature. Ok,

Re: How to restrict local users to use the sendmail command?

2011-06-26 Thread Noel Jones
On 6/26/2011 3:12 PM, Ralf Hildebrandt wrote: * Georg Sauthoffgsaut...@sdf.org: Since procmail(1), and other utilities need to be able to forward mail while retaining the original envelope sender address, restricting the envelope sender address in sendmail would be quite disruptive. Postfix

How to restrict local users to use the sendmail command?

2011-06-25 Thread Georg Sauthoff
Hi, how can I restrict the use of the sendmail command? Especially, how to disallow sendmail for a certain user? And how do I allow only a restricted set of envelope from values (with sendmail -f)? Best regards Georg

Re: How to restrict local users to use the sendmail command?

2011-06-25 Thread Ralf Hildebrandt
* Georg Sauthoff gsaut...@sdf.org: Hi, how can I restrict the use of the sendmail command? Especially, how to disallow sendmail for a certain user? authorized_submit_users = !certainuser, static:anyone And how do I allow only a restricted set of envelope from values (with sendmail

Re: How to restrict local users to use the sendmail command?

2011-06-25 Thread Victor Duchovni
On Sat, Jun 25, 2011 at 07:45:48PM +0200, Ralf Hildebrandt wrote: And how do I allow only a restricted set of envelope from values (with sendmail -f)? I think this is not possible. Correct, sendmail(1) is not privileged, and it sets the envelope sender used by postdrop(1) either via -f