procmail
[Top] [All Lists]

Re: starting procmail

2000-10-19 13:55:28
are you using:

      sendmail?

              then write the following line into your ~/.forward file:
                      "|/usr/bin/procmail"


If he's using sendmail Linux, this is the wrong way; sendmail is configured to 
deliver via procmail.

depending on the version of sendmail he has, his sendmail.cf should gave 
something like this:
[root(_at_)possum /root]# egrep -A5 '^M.*proc' /etc/sendmail.cf
Mprocmail,      P=/usr/bin/procmail, F=DFMSPhnu9, S=EnvFromSMTP/HdrFromSMTP, 
R=EnvToSMTP/HdrFromSMTP,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u
 
 
##################################################
--
Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, 
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u
Mprog,          P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, 
D=$z:/,
                T=X-Unix/X-Unix/X-Unix,
                A=sh -c $u
[root(_at_)possum /root]#
 
Red Hat Linux (and most other distros) come setup this way; if he's using some 
Unix and has the m4 configuration tools, he can use them to set it up using
FEATURE(local_procmail)dnl
MAILER(procmail)dnl



Note: don't blindly copy my lines; they're for my version of sendmail and the 
way I've configured it; they might not fit yours.




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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