two listeners with different "driver = " configs

Charles Marcus tanstaafl at libertytrek.org
Sun Jan 1 21:10:44 UTC 2017


Or. maybe it is the holidays and people actually have a life? 

On December 31, 2016 4:38:53 AM EST, mj <lists at merit.unu.edu> wrote:
>Hi,
>
>Does the lack of replies mean that what I'm asking is not possible?
>
>(or am I missing something SO obvious that nobody bothers to point it 
>out..?)
>
>MJ
>
>On 12/29/2016 09:23 PM, mj wrote:
>> Hi,
>>
>> I would like to have two seperate imap listeners, with different
>> authentication settings, but the mailstore and userbase etc will be
>> identical.
>>
>> I know I can do this:
>>
>>> service imap-login {
>>>    inet_listener imap {
>>>      port = 143
>>>    }
>>>    inet_listener imap2 {
>>>      port = 144
>>>    }
>>> }
>>
>> But I'm unsure how to configure imap/143 with "driver = ldap" and
>> imap2/144 with "driver = pam"
>>
>> Just to explain why i would like this:
>>
>> I am using pam-script-saml (https://github.com/ck-ws/pam-script-saml)
>to
>> enable saml-based access to dovecot. I would like to have one
>listener
>> 144 to only serve this saml authentication listener, and the regular
>143
>> listener with driver = ldap.
>>
>> Is that config possible?
>>
>> Best regards,
>> MJ

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the dovecot mailing list