procmail
[Top] [All Lists]

Re: MAILDIR and VIRTUAL

2000-10-27 12:59:33
Linux <gcocchi(_dot_)master(_at_)tiscalinet(_dot_)it> writes:
I manage several mail linux box all using procmail as simple MDA.
(/var/spool/$USER).
I need to upgrade one of my servers for use Maildir format and virtual users.
My question now is this:
1)How can i implement procmail Maildir default delivery?

Add the line

#define MAILSPOOLSUFFIX "/"

to the config.h file.  That'll tell procmail to add a slash to the end
of the mailspool path, which it'll then treat as a request to default
to maildir format for that mailbox.


2)Since i have to implement virtual users, procmail must delivery to
/$VIRTUALHOME/$VIRTUALDOMAIN/$USER/Maildir/.
Is it possible?

Probably, but you'll need to give us more info.  What MTA are you using?
Since these are virtual users, they don't have entries in the system
passwd file, correct?  So, for any given virtual domain, some _real_
user is going to have to be owning all the mailboxes.  Will each
domain have its own user, or will one real user handle all the domain?
Is $VIRTUALHOME the home directory of that user?


Philip Guenther

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