procmail
[Top] [All Lists]

Re: procmail diagnostic shell script?

2001-12-16 05:21:00
I'd sent a private note to Sean before seeing Don's note.  So I'll now
follow-up here.  Sorry that you have to see this twice, Sean.

But speaking of sendmail, you might need a better way of finding it.

The right thing, surely, is not to find sendmail in the filesystem but
to look at the program that procmail has assigned to the SENDMAIL
variable.

One way of doing that is with something like:

  SM=`procmail LOG="\\\$SENDMAIL" </dev/null 2>&1`

which sets $SM to procmail's value of $SENDMAIL.

Regards,
Martin
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail