procmail
[Top] [All Lists]

more trouble with autoresp.

1999-06-01 13:46:20
Okay fellas, I still can't get procmail to send me the file back.  This is
a basic recipe (stock even), and it will not send the info.txt file.  Maybe
there is something I need to do in sendmail.cf???  I don't know what is
happening.  The log seems to say it is sending the file, but it never gets
there.

Please look over the following and lemmie know what might be happening, if
anything.

Thanx

Here is the .forward file:

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #mailbot"

----
Here is the .procmailrc file:

VERBOSE=on
SENDMAIL=/usr/sbin/sendmail
MAILDIR=/var/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
FILEDIR=$HOME/autores

:0 h c
* !^FROM_DAEMON
* !^X-Loop: mailbot(_at_)will(_dot_)linuxberg(_dot_)org
| (formail -r -A"Precedence: junk" \
-A"X-Loop: mailbot(_at_)will(_dot_)linuxberg(_dot_)org" ; \
cat $FILEDIR/info.txt) | $SENDMAIL -t

----
Here is the log from procmail:

procmail: Assigning "FILEDIR=/home/mailbot/autores"
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: mailbot(_at_)will(_dot_)linuxberg(_dot_)org"
procmail: Assigning "LASTFOLDER= (formail -r -A"Precedence: junk" \
-A"X-Loop: mailbot(_at_)will(_dot_)linuxberg(_dot_)org" ; \
cat $FILEDIR/info.txt) | $SENDMAIL -t"
procmail: Locking "/var/spool/mail/mailbot.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/mailbot"
procmail: Opening "/var/spool/mail/mailbot"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/mailbot.lock"
From MarkD(_at_)will(_dot_)linuxberg(_dot_)org  Tue Jun  1 16:30:58 1999
  Folder: /var/spool/mail/mailbot                                           493
procmail: Executing " (formail -r -A"Precedence: junk" \
-A"X-Loop: mailbot(_at_)will(_dot_)linuxberg(_dot_)org" ; \
cat $FILEDIR/info.txt) | $SENDMAIL -t"
procmail: Notified comsat: "mailbot(_at_)3348:/var/spool/mail/mailbot"



Thanx again,
Mark
=====================================
I need someone who can roll with my arrangement.
=====================================

http://www.netwater.com
Where the hell else?

<Prev in Thread] Current Thread [Next in Thread>