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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux