Procmail cloning mail
I use exim4, getmail and procmail. I want procmail to filter spam.It works OK, only doesn't stop. When I get an email, procmail starts cloning it. And there's no way to stop it, until removing .procmailrc completely. I don't want my hard drive to be stuffed with a multiple copies of the same spam email.How can I stop procmail?
|
Can you post the contents of your .procmailrc file please? It would help if we could see what might be causing the problem...
|
OK, gilead, if you are interested. But I guess, I found the solution. I don't try procmail any more. I am not running an email server. I just need to filter spam for my domestic purposes. I use slocal instead. But anyway,
I use exim4 to send emails, getmail to receive emails and nmh to handle emails. Getmail was configured to output to procmail like this: ~/.getmail/getmailrc: Code:
[destination] Code:
PATH=/usr/bin:/usr/local/bin:/usr/lib/mh Code:
Path: /home/rex/Mail |
I'm glad you've been able to figure out a solution and yes you are correct - it should have been $HOME, not HOME. Also, I wouldn't put the procmail.log file in your MAILDIR - but neither of those look they would cause a loop.
|
I don't know procmail, but with postfix/maildrop, I use user+spam rather than +spam
|
Hello, guys. Slocal filters spam very well.
To the guys who have the same problem I would recommend: don't use the "getmail-procmail-mh" combination, use "getmail-slocal-mh" instead. |
All times are GMT -5. The time now is 01:51 PM. |