Re: [Dovecot] postfix, dovecot, samba, winbind
Am 28.02.2013 um 19:00 schrieb Bob Miller : > It has been a few months since I worked out all the settings to > authenticate against samba's AD, but I think you can solve your problem > by putting a home argument in your userdb{} stanza. If that doesn't > work, and assuming you are authenticating using ldap lookups, let me > know and I can share more of how I set things up… Hi Bob, thanks for your reply. How do I set up the home argument? When I put it into the args= line dovecot doesn't find my config file. If I put a home= line it doesn't work either. In the dovecot wiki I could only find an example with home= for a static userdb config. Thanks!
Re: [Dovecot] postfix, dovecot, samba, winbind
It has been a few months since I worked out all the settings to authenticate against samba's AD, but I think you can solve your problem by putting a home argument in your userdb{} stanza. If that doesn't work, and assuming you are authenticating using ldap lookups, let me know and I can share more of how I set things up... -- Computerisms Bob Miller 867-334-7117 / 867-633-3760 http://computerisms.ca On Thu, 2013-02-28 at 18:22 +0100, Denis Witt wrote: > Hello List, > > we're currently working on the migration of our LDAP/Samba3-Domain to > Samba4-Active-Directory. So far everything works fine. Postfix can deliver > Mails using ProxyAddresses-Information from the AD and Dovecot delivers the > mail. > > Unfortunately when Postfix tells Dovecot to deliver the mail he submit the > username without the AD-Domain part: > > Feb 28 17:17:59 tpdc postfix/pickup[30396]: 5DDAE2C0C2B: uid=0 from= > Feb 28 17:17:59 tpdc postfix/cleanup[30402]: 5DDAE2C0C2B: > message-id=<20130228161759.5ddae2c0...@mx0.concepts-and-training.de> > Feb 28 17:17:59 tpdc postfix/qmgr[30395]: 5DDAE2C0C2B: > from=, size=463, nrcpt=1 (queue active) > Feb 28 17:17:59 tpdc dovecot: lda(dwitt): > msgid=<20130228161759.5ddae2c0...@mx0.concepts-and-training.de>: saved mail > to INBOX > Feb 28 17:17:59 tpdc postfix/local[30404]: 5DDAE2C0C2B: > to=, orig_to=, > relay=local, delay=0.24, delays=0.1/0.01/0/0.13, dsn=2.0.0, status=sent > (delivered to command: /usr/lib/dovecot/deliver) > Feb 28 17:17:59 tpdc postfix/qmgr[30395]: 5DDAE2C0C2B: removed > > So Dovecot saves the Mail to "/var/mail/dwitt/", which is fine for me. The > Problem kicks in when I try to read my Mail. Dovecot uses "TESTDOM\dwitt" as > username and so he didn't find the Mailbox and create a new one in > "/var/mail/TESTDOM\dwitt". > > I tried to fix it with auth_username_translation and auth_username_format but > it doesn't work. > > Any ideas? > > Thanks!
[Dovecot] postfix, dovecot, samba, winbind
Hello List, we're currently working on the migration of our LDAP/Samba3-Domain to Samba4-Active-Directory. So far everything works fine. Postfix can deliver Mails using ProxyAddresses-Information from the AD and Dovecot delivers the mail. Unfortunately when Postfix tells Dovecot to deliver the mail he submit the username without the AD-Domain part: Feb 28 17:17:59 tpdc postfix/pickup[30396]: 5DDAE2C0C2B: uid=0 from= Feb 28 17:17:59 tpdc postfix/cleanup[30402]: 5DDAE2C0C2B: message-id=<20130228161759.5ddae2c0...@mx0.concepts-and-training.de> Feb 28 17:17:59 tpdc postfix/qmgr[30395]: 5DDAE2C0C2B: from=, size=463, nrcpt=1 (queue active) Feb 28 17:17:59 tpdc dovecot: lda(dwitt): msgid=<20130228161759.5ddae2c0...@mx0.concepts-and-training.de>: saved mail to INBOX Feb 28 17:17:59 tpdc postfix/local[30404]: 5DDAE2C0C2B: to=, orig_to=, relay=local, delay=0.24, delays=0.1/0.01/0/0.13, dsn=2.0.0, status=sent (delivered to command: /usr/lib/dovecot/deliver) Feb 28 17:17:59 tpdc postfix/qmgr[30395]: 5DDAE2C0C2B: removed So Dovecot saves the Mail to "/var/mail/dwitt/", which is fine for me. The Problem kicks in when I try to read my Mail. Dovecot uses "TESTDOM\dwitt" as username and so he didn't find the Mailbox and create a new one in "/var/mail/TESTDOM\dwitt". I tried to fix it with auth_username_translation and auth_username_format but it doesn't work. Any ideas? Thanks!