Michael Surette schreef:
Without recompiling, you could (temporarily) set MAILDIR and ORGMAIL
and DEFAULT in /etc/procmailrc
DROPPRIVS = 'yes'
MAILDIR = "/data/mailbox/$LOGNAME"
DEFAULT = "$MAILDIR/"
ORGMAIL = $DEFAULT
assuming that you want to use '/data/mailbox/userid/' for
Maildir-type delivery.
That works perfectly, thank you!
A much nicer solution too, as I'm able to use the "out of the box"
procmail, always preferable.
If you have many users, you might want to use '/data/mailbox/u/user'
MAILDIR = "/data/mailbox/@/$LOGNAME"
:0
* LOGNAME ?? ^^\/[a-z]
{ MAILDIR = "/data/mailbox/$MATCH/$LOGNAME" }
Similarly for '/data/mailbox/u/s/user'.
--
Grtz, 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