[Dovecot] Settings: Dovecot + NTLM + Single Sing On + Windows + Outlook or Thunderbird.
Maria Jose Yañez Dacosta
mariajose1982 at gmail.com
Mon Jun 3 05:33:11 EEST 2013
Sorry for the bad drafting, writing is the clearest :).
I want to install dovecot on a linux server (centos 6) so that users
accessing from windows do not have to enter the password (single sign on).
I am following this explanation
http://wiki2.dovecot.org/HowTo/ActiveDirectoryNtlm
There are steps that fail settings in version 2.1.16.
1)
mechanisms = plain ntlm login
2)
userdb static {
args= uid=501 gid=501 home=/home/vmail/%1Ln/%Ln
mail=maildir:/home/vmail/%d/%1Ln/%Ln:INBOX=/home/vmail/%d/%1Ln/%Ln
allow_all_users=yes
}
Not recognize them.
Honestly, I have no experience configuring dovecot and would need some help.
Segurmante this forgetting me some things and not others take them
correctly.
Another question I have is if I have to set something in particular in PAM.
I show what I have now (doveconf-n):
# 2.1.16: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.6.2.el6.x86_64 x86_64 CentOS release 6.4
(Final)
auth_use_winbind = yes
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
passdb {
driver = pam
}
protocols = imap pop3
ssl = no
userdb {
args = uid=10000 gid=10000 home=/mail/%d/%n allow_all_users=yes
driver = static
}
As I discuss, I is working and if I look at the log (In / var / log /
maillog) When I do telnet localhost imap shows me this:
May 31 15:45:55 prueba-mail dovecot: master: Dovecot v2.1.16 starting up
(core dumps disabled)
May 31 15:46:04 prueba-mail dovecot: auth: Fatal: Support not compiled in
for passdb driver 'pam'
May 31 15:46:04 prueba-mail dovecot: master: Error: service(auth): command
startup failed, throttling for 2 secs
May 31 15:46:04 prueba-mail dovecot: imap-login: Disconnected: Auth process
broken (disconnected before greeting, waited 0 secs): user=<>, rip=::1,
lip=::1, secured, session=<jabyBgjevAAAAAAAAAAAAAAAAAAAAAAB>
Thank you very much for any help!
2013/6/1 Charles Marcus <CMarcus at media-brokers.com>
> Fix your line wrapping. The below is way too difficult to read for most
> people to waste time trying to decipher.
>
>
> On 2013-05-31 3:02 PM, Maria Jose Yañez Dacosta <mariajose1982 at gmail.com>
> wrote:
>
>> If I do "doveconf -n" it show
>>
>> # 2.1.16: /usr/local/etc/dovecot/**dovecot.conf # OS: Linux
>> 2.6.32-358.6.2.el6.x86_64 x86_64 CentOS release 6.4 (Final)
>> auth_use_winbind = yes namespace inbox { inbox = yes location = mailbox
>> Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk }
>> mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use
>> = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb {
>> driver
>> = pam } protocols = imap pop3 ssl = no userdb { args = uid=10000 gid=10000
>> home=/mail/%d/%n allow_all_users=yes driver = static }
>> The things I do not recognize are:
>>
>> mechanisms = plain ntlm login
>>
>
>
> --
>
> Best regards,
>
> Charles Marcus
> I.T. Director
> Media Brokers International, Inc.
> 678.514.6224 | 678.514.6299 fax
>
>
>
--
Maria José
More information about the dovecot
mailing list