At 01:40 2002-02-26 -0600, Mike Loiterman wrote:
I'm trying to use procmail to filter my messages.
What version?
I have installed procmail and it works correctly,
Using what test, seeing as you're indicating that it _doesn't_ seem to work
properly as the LDA...
BUT when I have it set ast the MDA via Mlocal in sendmail.cf or invoke it
via a .forward file, I get endless copies of the any message that I
receive. The same messages just keep coming in over and over.
What do the logs say? Both the MTA logging, as well as the procmail
VERBOSE logging. Does the mail spool dir exist? How do you know you've
configured the sendmail LDA properly?
I have this in my .forward file:
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"
#user is really your userid? Perhaps you mean #mike ?
Are permissions set correctly on this file and .procmailrc?
You shouldn't use a .forward to invoke procmail if you have procmail set as
the LDA (I don't know that it'll necessarily cause problems, but it's
certainly not necessary to do that, and it's definatley a waste of
resources if procmail is already running as LDA). Your message isn't
particularly clear that you're completely separating the two invocation
methods.
You might want to check out my simple procdiag script:
<http://www.professional.org/procmail/procdiag.sh>
Which attempts to validate your basic environment configuration. Read the
script, execute it, and see if it mentions anything that might be iffy. It
is by no means an authoratative diagnostic, but it might identify a basic
problem you have with your config.
and I have this as my .procmailrc file:
#Set on when debugging
VERBOSE=off
Hint: perhaps you aught to turn this on to assist your debugging of your
configuration problem? What does it say about the message with the blank
subject?
#Replace `mail' with your mail directory (Pine uses mail, Elm uses
Mail)
MAILDIR=$HOME/Mail
Presumably the dir DOES exist?
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail