procmail
[Top] [All Lists]

Procmail isn't matching when it should (Redhat 8.0)

2002-12-11 13:45:49

Hi folks,

I'm having a strange problem with Procmail on Red Hat Linux 8.0.  I
recently migrated my e-mail services from a Red Hat 7.3 system to a Red
Hat 8.0 system, and everything but procmail survived the transition.  
(Fortunately, I'm the only one in the company who uses it, so it's not a
high priority.)

In a nutshell:  My procmail log shows that procmail is aware of the 
incoming messages, and it appears that it's actually processing them.  
However, no matter what I try I can't get procmail to actually recognize 
that many of these messages do indeed match rules in my .procmailrc.

Here's my ~/.procmailrc:

[...begin quote of procmailrc...]
LOGFILE=logs/procmail
VERBOSE=yes
LOGABSTRACT=all

:0c:
mail-backup

:0ic
| cd mail-backup && /bin/rm -f dummy `/bin/ls -t msg.* | /bin/sed -e 1,128d`

:0fw
| /usr/bin/spamassassin

:0:
* ^X\-Spam\-Flag.*YES
mail/spam

:0:
* ^TO_rt\-users\(_at_)lists\(_dot_)fsck\(_dot_)com
mail/rt-users

:0:
* ^TO_outlook\-users\(_at_)yahoogroups\(_dot_)com
mail/outlook-users

:0:
* ^TO_procmail(_at_)Lists\(_dot_)RWTH-Aachen\(_dot_)DE
mail/procmail-list

:0:
* ^TO_openldap\-software\(_at_)OpenLDAP\(_dot_)org
mail/openldap-software
[...end quote of procmailrc...]


Here's the procmail log entry from a recent message I got which, by virtue
of the "Cc: "'openLDAP'"  <openldap-software(_at_)OpenLDAP(_dot_)org>" header, 
should
have been handled by the relevant procmail rule:


[...begin quote of procmail log...]
procmail: [25469] Wed Dec 11 12:21:25 2002
procmail: Assigning "LOGABSTRACT=all"
procmail: Locking "mail-backup.lock"
procmail: Assigning "LASTFOLDER=mail-backup/msg.Ri2L"
procmail: Opening "mail-backup/msg.Ri2L"
procmail: Acquiring kernel-lock
From owner-openldap-software(_at_)OpenLDAP(_dot_)org  Wed Dec 11 12:21:23 2002
 Subject: RE: ldap_sasl_interactive_bind_s: Can't contact LDAP server (81)
  Folder: mail-backup/msg.Ri2L                                             
2740
procmail: Unlocking "mail-backup.lock"
procmail: Assigning "LASTFOLDER= cd mail-backup && /bin/rm -f dummy 
`/bin/ls -t msg.* | /bin/sed -e 1,128d`"
From owner-openldap-software(_at_)OpenLDAP(_dot_)org  Wed Dec 11 12:21:23 2002
 Subject: RE: ldap_sasl_interactive_bind_s: Can't contact LDAP server (81)
  Folder:  cd mail-backup && /bin/rm -f dummy `/bin/ls -t msg.* | /bin     
2740
procmail: Executing " cd mail-backup && /bin/rm -f dummy `/bin/ls -t msg.* 
| /bin/sed -e 1,128d`"
procmail: Executing "/usr/bin/spamassassin"
procmail: [25469] Wed Dec 11 12:21:27 2002
procmail: No match on "^X\-Spam\-Flag.*YES"
procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)rt\-users\(_at_)lists\(_dot_)fsck\(_dot_)com"
procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)outlook\-users\(_at_)yahoogroups\(_dot_)com"
procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)procmail(_at_)Lists\(_dot_)RWTH-Aachen\(_dot_)DE"
procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)openldap\-software\(_at_)OpenLDAP\(_dot_)org"
procmail: Locking "/var/spool/mail/graham.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/graham"
procmail: Opening "/var/spool/mail/graham"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/graham.lock"
procmail: Notified comsat: "graham(_at_)7530344:/var/spool/mail/graham"
  Folder: /var/spool/mail/graham                                              1
[...end quote of procmail log...]


This same "No match on [rule]" behaviour happens with every other message
which should otherwise match a rule in my procmailrc.

Any and all help would be appreciated.

(By the way, it'd sure be nice if VERBOSE=yes was a bit more verbose.  
There's not too much helpful information on the logfile even with the
VERBOSE flag set.)

-- 
Graham Freeman
Manager of Information Technology
Far Western Anthropological Research Group, Inc.
+1 530 756 3941 ext 111
graham(_at_)farwestern(_dot_)com


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