Thanachit Vichianchay wrote:
MAILDIR=$HOME/Maildir
DEFAULT=$HOME/Maildir/cur
Best change to:
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
DROPPRIVS=YES
(yes, the slash at the end of DEFAULT is meant to be there)
LOGFILE=/var/log/procmail.log
Why in a central place?
Alternative:
LOGFILE=$HOME/log/procmail.log
:0 H
* Quarantine Release Notification
{
:0:
$HOME/Maildir/.Spam/cur
}
Looks quite wrong, best change all that to just:
:0
* Quarantine Release Notification
.Spam/
:0 H
* SPAM....\:
{
:0:
$HOME/Maildir/.Spam/cur
}
That can conveniently be combined with the previous one to just this:
:0
* 9876543210^0 Quarantine Release Notification
* 9876543210^0 SPAM....:
.Spam/
What can I do to correct this problems ?
As I showed above:
1. don't use the lock-flag nor the H-flag
2. don't mention the "cur", just deliver to .Spam/
(procmail knows how to do maildir type delivery)
or in short: replace your code (2+1+6+6 lines) with mine (3+1+4 lines).
--
Ruud
____________________________________________________________
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