On 14 Nov 2008, at 05:29, Ville Walveranta wrote:
...
Actually there won't be an Exchange server any more; I'm replacing it
with Postfix. It's a small environment and there isn't a dedicated
server for Exchange available; it's been sharing a server with AD
which is a bad idea in the first place. Since the users aren't using
any of Exchange's extra features such as calendaring, there is no
reason for why they couldn't access mail via IMAP on Postfix/Dovecot.
...

I run a small network in which Dovecot authenticates against the domain using Winbind.

$ sudo cat /etc/pam.d/imap
auth       required     /lib/security/pam_winbind.so
account    required     /lib/security/pam_winbind.so
session required /lib/security/pam_mkhomedir.so skel=/etc/skel umask=0022
$

Once the user has logged in to their email, their homedir is created & Postfix can deliver mail to them. I have not yet attempted to address authenticating SMTP users as currently they all reside within the LAN.

I think the original reason for using Winbind was simply that it came higher in Google searches for "authenticate user linux windows domain", and it appeared simpler than learning what the heck an Active Directory was. Nevertheless it works pretty well here.

I hope you find this helpful,

Stroller.

Reply via email to