Authenticate Postfix through Dovecot with slightly different LDAP settings

Jakob Lenfers lenfers at bigsss-bremen.de
Wed Nov 15 14:56:47 EET 2017


On 15.11.2017 13:18, Aki Tuomi wrote:
> On 15.11.2017 14:16, Jakob Lenfers wrote:

>> user_filter = (& \
>>     (objectClass=gosaMailAccount) \
>>     (allowedServices=*I*) \
>>     (uid=%u) \
>> )
>>
>> I wanted to have sparate LDAP filters (allowedServices=*I* for Dovecot
>> and allowedServices=*S* for Postfix), to be able to disable SMTP and
>> IMAP independently. Does anybody know a way to separate those settings?
> You can use %1Ls variable to produce I or S.

Genius, thanks, that works!

Thanks,
Jakob


More information about the dovecot mailing list