[Dovecot] postfix - dovecot - ldap

Patrick Ben Koetter p at state-of-mind.de
Wed Jan 14 14:45:13 EET 2009


* Martin Sengstschmid <ms35 at lanolino.at>:
> Hallo,
>
> thank you for trying to help me:

Welcome.

What does the Dovecot Log say?

p at rick



>
> the bamm.ldif file is
> ldapsearch -x -LLL -b  
> "uniqueIdentifier=bamm at abcshop.at,ou=it,ou=people,dc=abcshop,dc=at"  
> "(objectclass=*)"
>
> dn: uniqueIdentifier=bamm at abcshop.at, ou=it,ou=people,dc=abcshop,dc=at
> objectClass: organizationalPerson
> objectClass: person
> objectClass: top
> objectClass: PostfixBookMailAccount
> objectClass: extensibleObject
> cn: Bamm Bamm
> givenName: Bamm
> mail: bamm at abcshop.at
> mailAlias: bamm.bamm at abcshop.at
> mailAlias: postmaster at abcshop.at
> mailAlias: abuse at abcshop.at
> mailEnabled: TRUE
> mailGidNumber: 2000
> mailHomeDirectory: /usr/local/mail/abcshop.at/bamm
> mailQuota: 2621440
> mailStorageDirectory: maildir:/usr/local/mail/abcshop.at/bamm/Maildir
> mailUidNumber: 2000
> sn: Bamm
> uniqueIdentifier: bamm at abcshop.at
> userPassword: bamm_secret
> creatorsName: cn=Manager,dc=abcshop,dc=at
> createTimestamp: 20040621072925Z
> modifiersName: cn=Manager,dc=abcshop,dc=at
> modifyTimestamp: 20040629211316Z
>
>
> dovecot-ldap.conf
> ...
> user_attrs =  
> mailHomeDirectory=home,mailUidNumber=uid,mailGidNumber=gid,mailStorageDirectory=mail 
> 
>
> ....
>
> If I login as bamm at abcshop.at
> I get OK Logged in
> but
> /usr/local/mail/
> remains empty.
>
> Martin
>> * Martin Sengstschmid <ms35 at lanolino.at>:
>>   
>>> Hallo,
>>> I want to run postfix - dovecot - openldap working together
>>>
>>> The first problem is, that dovecot doesn't create the directories
>>>
>>> /usr/local/mail/abcshop.at/bamm/Maildir
>>> cur
>>> new
>>> tmp
>>>
>>> although I can contact the Dovecot-Server
>>>
>>> telnet localhost 143
>>> OK ....
>>> 1 login bamm at abcshop.at secret
>>> OK Logged in
>>>
>>> /usr/local/mail/ is owned by virtual:virtual
>>>
>>> If I uncomment the line
>>> #mail_location = maildir:/usr/local/mail/%d/%n/Maildir
>>>
>>> dovecot creates the directories
>>> /usr/local/mail/abcshop.at/bamm/mail
>>>     
>>
>> Do you specify the location in LDAP with an attribute? Then prepend maildir
>> like this:
>>
>> maildir:/usr/local/mail/abcshop.at/bamm/mail
>>
>> p at rick
>>
>>
>>   
>

-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick Koetter            Tel: 089 45227227
Echinger Strasse 3         Fax: 089 45227226
85386 Eching               Web: http://www.state-of-mind.de

Amtsgericht München        Partnerschaftsregister PR 563


More information about the dovecot mailing list