using Cyrus was Re: [CentOS] Re: Planning Mail Server (with low resources)

Wed Dec 7 18:24:23 UTC 2005
Les Mikesell <lesmikesell at gmail.com>

On Wed, 2005-12-07 at 12:04, Paul Heinlein wrote:
> >
> > On Centos the other reasonable choice would be to configure procmail 
> > to default to deliver in maildir format (should work for either 
> > sendmail or postfix) and Dovecot to expect that format, and use 
> > authconfig/pam to authenticate however you want.  I think you'd have 
> > to create the home directories ahead of time though, and delete them 
> > when the account goes away.
> 
> PAM can auto-create home directories via pam_mkhomedir.so, which is 
> included with CentOS. Auto-creation is typically associated with login 
> activity (/etc/pam.d/login), but I wouldn't be surprised if it could 
> be associated with Dovecot IMAP/POP access. The README is available 
> via CVS:
> 
>    http://cvs.sourceforge.net/viewcvs.py/pam/Linux-PAM/modules/pam_mkhomedir/

I know it can do it as you log in, but in this case the mail delivery
may come first.  I'd assume you'd add a user to the network
authentication system and send off a welcome email. And I don't think
procmail will auto-create a maildir even if the home directory
was already there.

-- 
  Les Mikesell
    lesmikesell at gmail.com