RE: [ILUG] Procmail not working on incoming mail?

From: Dave Neary (dneary at domain eircom.net)
Date: Wed 23 Feb 2000 - 23:14:08 GMT


Sorry...information overload. I was tring to be thorough.

I only added the .forward after the problem made itself known. The
procmail stuff in the sendmail.cf file is the default setup (with some
tweaking from install-sendmail scripts), and on any other box I've used
the combination, I have had no problems.

fetchmail -v only gets the mails once, but it gets mails which it has
previously gotten (doesn't delete mail from the server, and doesn't check
procmail rules to eliminate duplicates, presumably). The multiple messages
are in /var/spool/mail/dave, after fetchmail does it's thing.

Possibly I don't understand well enough how mail gets downloaded, or how
procmail got invoked. I assumed that it would be invoked automatically
when mail arrives in the local mailbox. I guess it's possible that it's
only invoked if mail's transfered by sendmail, as opposed to fetched by
fetchmail. But to be honest, I don't really understand what's happenning
at all.

Cheers,
Dave.

On Wed, 23 Feb 2000, Kenn Humborg wrote:

> Dammit, narrow the problem down a bit. Get rid of the .forward
> and the procmail stuff and see what happens. That'll tell you
> whether you need to focus on fetchmail/sendmail or procmail.
>
> Try looking at /var/spool/mail/$USER to see if multiple messages
> are appearing there.
>
> Try fetchmail -v to see if fetchmail is downloading messages
> multiple times.
>
> Kenn

  .-------------------------------------.
 / 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:29 GMT