[ILUG] Procmail not working on incoming mail?

From: Dave Neary (dneary at domain eircom.net)
Date: Wed 23 Feb 2000 - 10:46:16 GMT


Hi all,

On more teensy weensy mail related question to ask...I'm sure the answer's
obvious, but I can't see it.

I have been getting duplicate mails (or rather multiplicate) from my
mailserver since I got mail working nicely. None of my procmail filters
have been working either. I *think* I have sendmail set up to run procmail
correctly, and I think the .forward file should get it, even if I hadn't.
Mail's coming to /var/spool/mail, via fetchmail. Could that be it? Is it
that because the mail's not delivered to my machine by sendmail that
procmail's not acting on it? If so, is there any way I can change that?

Thanks a lot, Config file details are below...

Cheers,
Dave.

The pertinent bits from my .procmailrc are...

:0 Wh: msgid.lock
| formail -D 8192 msgid.cache

:0:
* ^Subject:.*\[ILUG\].*
mail/ilug

:0:
* ^Subject:.*\[ILUG\-Social\].*
mail/ilug-social

My /etc/sendmail.cf contails the lines:

procmail, P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31,
T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u
Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/| at domain qSPfhn9, S=10/30,
R=20/40,
                A=procmail -Y -a $h -d $u

...and to make sure it got called, my .forward file contains:

"|exec /usr/bin/procmail"

  .-------------------------------------.
 / David Neary, \
| E-Mail dneary at domain eircom.net |
| Fax (int access)-353-1-872-0654 |
 \ Phone (int access)-353-1-872-0654 /
  `-------------------------------------'



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:28 GMT