procmail
[Top] [All Lists]

Re: Running as user...??

1999-10-11 03:29:01
On Sun, 10 Oct 1999, Philip Guenther wrote:

Be careful: there are right ways and wrong ways to fix this.  Changing the
DefaultUser option in sendmail is the Wrong Way (and possibily dangerous,
depending on what you change it to).  Adding the 'S' flag to the local
mailer is the Right Way.

So you mean to comment out the DefaultUser option and have in sendmail.cf:


#####  @(#)procmail.m4  8.11 (Berkeley) 5/19/1998  #####

Mprocmail,      P=/usr/local/bin/procmail, F=DFMSPhnu, S=11/31, R=21/31, 
T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u


##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4     8.30 (Berkeley) 6/30/1998  #####
# I think this commented out definition didn't work
#Mlocal,                P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, 
S=10/30, R=20/40,
#F=mSDFMhun, S=11, R=21,

# this works for sure
Mlocal,         P=/usr/local/bin/procmail, F=SAw5:|/@glDFMPhsfn, S=10/30, 
R=20/40,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u


Any hints on these flags? Any recommended changes?
--
Martin Mokrejs - PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs
<mmokrejs(_at_)natur(_dot_)cuni(_dot_)cz> Faculty of Science, The Charles 
University

<Prev in Thread] Current Thread [Next in Thread>