procmail
[Top] [All Lists]

Re: problem with procmail

2003-03-30 15:55:06
At 13:11 2003-03-30 -0700, LuKreme did say:
# usage banner from grep
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.

Which is the usage banner, as expected. We capture it because sometimes people don't have grep, or they've got some gawdawful implementation, and hopefully the usage banner will provide a clue as to which one (--version isn't available in all implementations of grep).

# sendmail program information (from procmail's $SENDMAIL):
0555  1 root     smmsp     413596 Fri Mar  7 18:23:38 2003 /usr/sbin/sendmail
sendmail: illegal option -- d
sendmail: fatal: usage: sendmail [options]

This sort of response, while not written out longhand, basically tells someone who reviews this output that you're not running a real sendmail. Your wrapper doesn't fully emulate sendmail in any event.

# Determining Mlocal via sendmail diagnostic invocation

That reference to "sendmail" is literal, as is Mlocal, which is a SENDMAIL configuration, not (AFAIK), postfix, exim, qmail, etc - which each have their own config file syntaxes.

sendmail: illegal option -- d
sendmail: fatal: usage: sendmail [options]
NOTE: procmail doesn't appear to be the LDA

(These last two I assume are because postfix is installed)

No doubt.

NB: I'm not complaining, the script is very useful, just wanted to let you know. These last two result int eh script reporting that procmail does not appear to be the LDA.

If you'd like to sort out the diagnostics for postfix, please feel free to do so - I'd be happy to supplement the script with material from others. I personally have no interest in installing postfix just to figure out which sendmail functions they don't actually emulate with their sendmail wrapper, or what is necessary to configure procmail as the LDA, etc.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


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