procmail
[Top] [All Lists]

Re: defSENDMAIL

2000-07-11 14:03:27
On Tue, 11 Jul 2000, Dominic W. Chan wrote:

procmail default is mbox-style not maildir!

dwc

On Tue, 11 Jul 2000, [iso-8859-2] Martin MOKREJŠ wrote:

Hello,
  I want to compile procmail for use with qmail, mbox-style delivery, not
Maildir.

Hello, thank you for notice, yes I know. I just wanted to explicitly say I
don't use maildir under qmail. Anyway, it seem's that procmail is running
with
defSENDMAIL="/usr/lib/sendmail" which is a link to /var/qmail/bin/sendmail
and the flags are "-oi -t".

  in config.h there's `#define DEFsendmail' commented out, but there's
preset "/bin/mail" value. I was told by sysadmin /bin/mail doesn't work
well (no details), however /usr/lib/sendmail is a qmail which emulates
sendmail. What is the `#define DEFsendmail' supposed to do? To define
$SENDMAIL in procmail, i.e.   /usr/lib/sendmail -oem -ti   or whatever are
those flags?

Anyway, I still don't understand why there was /bin/mail preset value
(although commented out).

How can I get the $1 and $2 arguments from qmail (like getting these two
from sendmail)? I want to save the envelope information, under
sendmail-8.10.1 works for me only Envelope-To:

Mlocal,         P=/usr/local/bin/procmail, 
F=lsDFMAw5:/|@qPfhun89m,S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u


Mprocmail,      P=/usr/local/bin/procmail, 
F=DFMSPhnu9,S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u

What does $g ?    -------------------------^ here above


-- 
Martin Mokrejs - PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
<mmokrejs(_at_)natur(_dot_)cuni(_dot_)cz> Faculty of Science, The Charles 
University



_______________________________________________
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>