procmail
[Top] [All Lists]

Re: lock problem (recipe only works for local delivery)

2004-02-11 20:23:22
Toen ik Floyd Hagen kietelde, kwam er dit uit:

FLOYD_MAILDIR=/home/floyd/Mail/
mywife_MAILDIR=/home/mywife/Procmail/

Get rid of the ending slashes. You use 
these values as parent-directories, so 
you will always put a slash after the 
variable, to separate it from the filename 
or subdirectory-name. 
See the double slashes in your log.


LOGFILE=/var/log/procmail_log
DEFAULT=$FLOYD_MAILDIR/inbox/
DROPPRIVS=YES

From now on, you run as the user. That may be 
to soon.

VERBOSE=YES

:0:

Remove all the locking (6 times) because you want to deliver to maildirs.


* ^TO_flohagen(_at_)popemail\(_dot_)net
$FLOYD_$MAILDIR/inbox/

What's that second $ doing there?


:0:
* ^TO_floyd
$FLOYD_$MAILDIR/inbox/

Another strange $.


:0:
* ^TO_lfs
$FLOYD_MAILDIR/lfs/

:0:
* ^TO_mywife(_at_)popemail\(_dot_)net
$mywife_MAILDIR/Inbox/

One inbox starts with a lowercase-i, the other 
with an uppercase-I. Is that as it should be?


:0:
* ^TO_mywife
$mywife_MAILDIR/Inbox/

:0:
${DEFAULT}

Delivery to default does not need to be specified.

Why not remove the /etc/procmailrc 
and make a ~/.procmailrc per user?


-- 
Affijn, Ruud

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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