I am having problems getting PROCMAIL to work at an ISP I have an account
since they have added a new mail-server. What happens is if I send
myself email from my account there, the email arrives, PROCMAIL acts on
it and it ends up in my mailbox as it should. Any email coming from
outside of this ISP ends up going to the "bit bucket".
Initially, PROCMAIL wouldn't even see that the non-local email even
arrived; the LOG file would show no evidence of the incoming email. I
spoke with the System Administrator who "made some changes" and now
PROCMAIL sees the non-local email coming in, a LOG file entry is made,
*but* the email still doesn't end up in my mailbox. Local email sent to
myself still works fine as before.
What has been done is that a new machine (with a different IP) is working
as a MX (mail exchanger) whereas before the computer that was handling
the UNiX shell accounts was doing double-duty handling the email. I
asked the System Administrator to make sure that all the necessary files
are mounted on the MX as this was my first thought as to what the problem
was. And after I told him to make sure all these necessary files (i.e.,
the "/var/spool/mail" DIR [where the incoming email is stored], the
"/home" DIRs [the executable of PROCMAIL and the recipe files are stored
here], and the "/bin" DIR [what PROCMAIL uses to FORK a shell]) is when I
saw the "improvement" (if you can call it that) from no LOG file on
non-local email to having a LOG file on non-local email.
I have included the output of the LOG file for local email (that arrives
fine and goes in my mailbox) and non-local email (that gets "eaten up")
to see if any of the PROCMAIL gurus have any suggestions:
[Email gets here fine on this one:]
procmail: Assigning "FORMAIL=/home/bodysurf/Bin/formail"
procmail: Assigning "SENDMAIL=/usr/bin/sendmail"
procmail: Assigning "BASTARDLIST=/home/bodysurf/.procmail/list-of-bastards"
procmail: Assigning "BASTARDMESG=/home/bodysurf/.procmail/message-to-bastards"
procmail: Assigning "BOUNCE=Thy email refused; returned unread."
procmail: Assigning "EGREP=grep"
procmail: Executing "/home/bodysurf/Bin/formail,-rt,-xTo:"
procmail: Assigning "FROM= bodysurf(_at_)netcom(_dot_)com"
procmail: Assigning "LINEBUF=5000"
procmail: Assigning "MDAEMON=Tim's Mail Daemon
<bodysurf(_at_)netcom(_dot_)com>"
procmail: Assigning "ME=bodysurf(_at_)netcom(_dot_)com"
procmail: Assigning "SHELL=/bin/sh"
procmail: Assigning "SHITCAN=/dev/null"
procmail: No match on "^X-Loop: bodysurf(_at_)netcom(_dot_)com"
procmail: No match on "(^(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|mmdf|n?uucp|LIST(SERV|proc)|NETSERV|owner|
r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: No match on "(^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?Mail(er)?|daemon|mmdf|n?uucp|r(esponse|oot)|(bbs\.)?smtp|serv(ices?|er)|A(dmin(istrator)?|MMGR))(([^).!:a-z0-9][-_a-z0-9
]*)?[%@> ][^<)]*(\(.*\).*)?)?$([^>]|$))"
procmail: Executing " echo "$FROM" | $EGREP -i -f $BASTARDLIST"
procmail: Program failure (1) of " echo "$FROM" | $EGREP -i -f $BASTARDLIST"
procmail: No match on " echo "$FROM" | $EGREP -i -f $BASTARDLIST"
procmail: Locking "/var/spool/mail/bodysurf.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/bodysurf"
procmail: Opening "/var/spool/mail/bodysurf"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/bodysurf.lock"
From bodysurf(_at_)exo(_dot_)com Fri Oct 11 16:16:34 1996
Subject: GETS HERE
Folder: /var/spool/mail/bodysurf 533
procmail: Notified comsat: "bodysurf(_at_)102620:/var/spool/mail/bodysurf"
[Email gets "eaten up" on this one:]
procmail: Assigning "FORMAIL=/home/bodysurf/Bin/formail"
procmail: Assigning "SENDMAIL=/usr/bin/sendmail"
procmail: Assigning "BASTARDLIST=/home/bodysurf/.procmail/list-of-bastards"
procmail: Assigning "BASTARDMESG=/home/bodysurf/.procmail/message-to-bastards"
procmail: Assigning "BOUNCE=Thy email refused; returned unread."
procmail: Assigning "EGREP=grep"
procmail: Executing "/home/bodysurf/Bin/formail,-rt,-xTo:"
procmail: Assigning "FROM= bodysurf(_at_)netcom(_dot_)com"
procmail: Assigning "LINEBUF=5000"
procmail: Assigning "MDAEMON=Tim's Mail Daemon
<bodysurf(_at_)netcom(_dot_)com>"
procmail: Assigning "ME=bodysurf(_at_)netcom(_dot_)com"
procmail: Assigning "SHELL=/bin/sh"
procmail: Assigning "SHITCAN=/dev/null"
procmail: No match on "^X-Loop: bodysurf(_at_)netcom(_dot_)com"
procmail: No match on "(^(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|mmdf|n?uucp|LIST(SERV|proc)|NETSERV|owner|
r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: No match on "(^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?Mail(er)?|daemon|mmdf|n?uucp|r(esponse|oot)|(bbs\.)?smtp|serv(ices?|er)|A(dmin(istrator)?|MMGR))(([^).!:a-z0-9][-_a-z0-9
]*)?[%@> ][^<)]*(\(.*\).*)?)?$([^>]|$))"
procmail: Executing " echo "$FROM" | $EGREP -i -f $BASTARDLIST"
procmail: [31915] Fri Oct 11 16:16:47 1996
procmail: Program failure (1) of " echo "$FROM" | $EGREP -i -f $BASTARDLIST"
procmail: No match on " echo "$FROM" | $EGREP -i -f $BASTARDLIST"
procmail: Locking "/var/spool/mail/bodysurf.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/bodysurf"
procmail: Opening "/var/spool/mail/bodysurf"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/bodysurf.lock"
From bodysurf(_at_)netcom(_dot_)com Fri Oct 11 16:16:46 1996
Subject: DOES NOT GET HERE
Folder: /var/spool/mail/bodysurf 810
procmail: Notified comsat: "bodysurf(_at_)1963:/var/spool/mail/bodysurf"
Thanks in advance.
Lates!
----------------------------------
Tim <bodysurf(_at_)netcom(_dot_)com>
"Finger" for PGP v2.6.2 Public Key