procmail
[Top] [All Lists]

autoresponse fails: mail -t recipient not specified.

2001-08-17 13:40:27
Just installed procmail on sparc solaris 8.
attempting to use standard autoresponder

SHELL=/bin/sh
VERBOSE=on
LOGFILE=.pmdir/log

:0 h c
* !^FROM_DAEMON
* !^X-Loop: user(_at_)company(_dot_)com
| (formail -r -I"Precedence: junk" \
    -A"X-Loop: user(_at_)company(_dot_)com " ; \
   cat .vacation.message) | $SENDMAIL -t

but it will not respond to the sender.
log claims

procmail: Locking "/var/mail/user.lock"
mail: -t option used but no recipient(s) specified.
mail: Usage: [-ehpPqr] [-f file] [-x debuglevel]
or      [-tw] [-m message_type] [-T file] [-x debuglevel] persons
or      [-x debuglevel]
procmail: [7413] Fri Aug 17 16:16:16 2001

why is $SENDMAIL invoking mail -t and failing?

any help would be appreiated.  

complete transaction log follows"

>From me(_at_)company(_dot_)com  Fri Aug 17 16:08:13 2001
 Subject: testing
  Folder: /var/mail/user                                                704
procmail: Match on ! "(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: Multiple recipients of |(((Resent-)?(From|
Sender)|X-Envelope-From):|>?From )([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|
ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices
?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>      ][^<)]*(\(.*\).*)?
)?$([^>]|$)))"
procmail: Match on ! "^X-Loop: user(_at_)company(_dot_)com "
procmail: Executing " (formail -r -I"Precedence: junk" \
    -A"X-Loop: user(_at_)company(_dot_)com " ; \
   cat .vacation.message) | $SENDMAIL -t"
procmail: Assigning "LASTFOLDER= (formail -r -I"Precedence: junk" \
    -A"X-Loop: user(_at_)company(_dot_)com " ; \
   cat .vacation.message) | $SENDMAIL -t"
procmail: Locking "/var/mail/user.lock"
mail: -t option used but no recipient(s) specified.
mail: Usage: [-ehpPqr] [-f file] [-x debuglevel]
or      [-tw] [-m message_type] [-T file] [-x debuglevel] persons
or      [-x debuglevel]
procmail: [7413] Fri Aug 17 16:16:16 2001
procmail: Assigning "LASTFOLDER=/var/mail/user"
procmail: Opening "/var/mail/user"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/user.lock"
procmail: Notified comsat: "user(_at_)109772:/var/mail/user"
>From me(_at_)company(_dot_)com  Fri Aug 17 16:16:15 2001
 Subject: test
  Folder: /var/mail/user

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