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" or from getpwuid(). 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. -- Viktor.