procmail
[Top] [All Lists]

Re: Rerunning recipes

2009-05-05 12:58:21
Paulo J. Matos wrote:
Ruud:
Paulo:

MAILDIR=$HOME/.maildir/
DEFAULT=$MAILDIR

 MAILDIR=$HOME/.maildir
 DEFAULT=$MAILDIR/

Is there any problem the way I was doing? Everything seemed to be
working ok since my emails got dumped correctly in my INBOX.

Basically, MAILDIR shouldn't end in a slash.

When you deliver to ".cron/", procmail will AFAIK deliver
to "$MAILDIR/.cron/new/some-unique-name", which would then become "/home/user/.maildir//.cron/new/some-unique-name".

Most filesystem drivers will know how to cope with doubled slashes,
but I see no good reason to gamble on that.

--
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

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