procmail
[Top] [All Lists]

Re: autoresponse fails: mail -t recipient not specified.

2001-08-20 22:21:49
astanich(_at_)reutershealth(_dot_)com writes:
* astanich(_at_)reutershealth(_dot_)com 
<astanich(_at_)reutershealth(_dot_)com> [20010818 11:08]: 
writing on the subject 'autoresponse fails: mail -t recipient not specified.'
...
nope no symlink to mail
any other suggestions?


Do you set the SENDMAIL variable?  If so, remove that assignment and
try again.  If not, try running the following command:

procmail LOG='$SENDMAIL' DEFAULT=/dev/null /dev/null < /dev/null ; echo ''

If the output of that isn't either
        /usr/lib/sendmail
or      /usr/sbin/sendmail

then whoever compiled the procmail binary edited a part of the config.h
file that they would have been better leaving alone.  In particular,
the DEFsendmail #define should *not* refer to /bin/mail, despite the
example provided in the config.h file.  Indeed, the next version will
say something like:

/*#define DEFsendmail   "/usr/sbin/sendmail"    /* uncomment and/or change if
                                                   the autoconfigured default
        SENDMAIL is not suitable.  This program should quack like a sendmail:
        it should accept the -oi flag (to tell it to _not_ treat a line
        containing just a period as EOF) and then a list of recipients.  If the
        -t flag is given, it should instead extract the recipients from the
        To:, Cc:, and Bcc: header fields.  If it can't do this, many standard
        recipes will not work.  One reasonable candidate is "/etc/mta/send"
        on systems that support the MTA configuration switch. */


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