procmail
[Top] [All Lists]

Issues with formail autoresponder and Sendmail 8.12.2..

2002-02-12 19:58:34

I am a bit miffed on this one, so thought I would take a moment and
write and see if anyone had any clues.

For quite some time I have used procmail/formail to respond to incoming
mail to like abuse(_at_)abs(_dot_)net or noc(_at_)abs(_dot_)net and it worked 
wonderful.  Well
I just realized the other day that it's no longer responding to mail
with the autoresponse since updating from sendmail 8.11 to the 8.12
release, or that seems the only real change I made that I think would
affect it.  I am running the current procmail (3.22), and the current
sendmail (8.12.2) using the smmsp security/user for sendmail.

I have the following recipes:

#ABUSE Response
#
:0 c
* ^TO(_dot_)*abuse(_at_)*abs(_dot_)net
* !^X-Loop: abuse(_at_)abs(_dot_)net
| ( /usr/local/bin/formail -r -k \
 -A"X-Loop: abuse(_at_)abs(_dot_)net" ; \
 /bin/cat /home/noc/abuse.txt ) | $SENDMAIL -t

#NOC Response
#
:0 c
* ^TO(_dot_)*noc(_at_)*abs(_dot_)net
* !^X-Loop: noc(_at_)abs(_dot_)net
| ( /usr/local/bin/formail -r -k \
 -A"X-Loop: noc(_at_)abs(_dot_)net" ; \
 /bin/cat /home/noc/noc.txt ) | $SENDMAIL -t


If I look at the maillog for sendmail, even at log level 14, I see no
errors, in fact I see nothing. 

If I look at procmaillog, I see:

procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-
To):(.*[^a-zA-Z])?)(_dot_)*abuse(_at_)*abs(_dot_)net"
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-
To):(.*[^a-zA-Z])?)(_dot_)*noc(_at_)*abs(_dot_)net"
procmail: Match on ! "^X-Loop: noc(_at_)abs(_dot_)net"
procmail: Assigning "LASTFOLDER= ( /usr/local/bin/formail -r -k \
 -A"X-Loop: noc(_at_)abs(_dot_)net" ; \
 /bin/cat /home/noc/noc.txt ) | /usr/sbin/sendmail -t "
procmail: Executing " ( /usr/local/bin/formail -r -k \
 -A"X-Loop: noc(_at_)abs(_dot_)net" ; \
 /bin/cat /home/noc/noc.txt ) | /usr/sbin/sendmail -t "


So to me it looks like it matches, and setup the response at least.
Also if I take and just run a mail formatted message from the mailbox
into formail by hand at the shell prompt just like procmail should do,
it sends the response out just fine.  So that all seems OK.

I am at a bit of a loss as I don't get any errors, and the .procmailrc
worked fine for years.  Not it's broken and I can't seem to find a
logical reason.  Has anyone run into this, or can anyone provide any
clues as to how I might get this one figured out.

Many thanks in advance to any that try and help..


---
Howard Leadmon - howardl(_at_)abs(_dot_)net - http://www.abs.net
ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162


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