procmail
[Top] [All Lists]

Re: procmail doesn't work

2004-09-02 19:32:22
Travel Jadoo wrote:
A weird one: I do not have /etc/procmailrc I have the following .procmailrc in one directory just to filter spam
tagged messages to me for verification.

What are the permissions on ~/.procmailrc?

From the procmail manpage:

For security reasons procmail will only use an absolute or  $HOME-rela-
tive  rcfile  if  it  is  owned  by  the  recipient  or root, not world
writable, and the directory it is contained in is not  world  writable.
The  $HOME/.procmailrc  file has the additional constraint of not being
group-writable or in a group-writable directory.

I created a log file
-rw-rw-rw-    1 res      res             0 Aug 30 17:34 procmail.log
-------------
PATH=/usr/bin
MAILDIR=/var/spool/mail/res
DEFAULT=/var/spool/mail/res
LOGFILE=$HOME/procmail.log

I assume this is your ~/.procmailrc, right?

However, this doesn't do a thing with a test message with or without
SPAM in the subject line. It also doesn't log anything. I have a similar
recipe in another user directory which works fine so no problems with
the procmail installation. Any ideas how to check what is going on?

Permissions would explain all of this, I suspect. Compare yours to the working set.

- Bob

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>