On 12/03/2013 08:56 PM, Philippe Lelidy wrote:
> Le 03/12/13 18:33, edwin a icrit :
>> I also had to add this to /etc/login.conf to have system-user authentication 
>> working (on OpenBSD 5.4):
>> dovecot:\
>>                  :auth=:\
>>                  :auth-imap=passwd:\
>>                  :openfiles-cur=512:\
>>                  :openfiles-max=2048:\
>>                  :tc=daemon:
>>
> Thanks, I forgot mentionning that I did that too in /etc/login.conf
> dovecot:\
>         :openfiles-cur=1024:\
>         :openfiles-max=2048:\
>         :tc=daemon:
> 
> I understand that by using :auth-imap=passwd:\ you solved the issue I 
> mentionned as
> -----
>  c) Auth
>  c-1) System users:
>   passdb {
>     driver = bsdauth
> #   args = username_format=%n REFUSED
>   }
> This is the reason why system user have to login as <user> and not as 
> <user@domain>
> -----
> but I don't see any /usr/libexec/auth/login_imap, did you created it ?

No, if I read the manpage right then auth-imap=passwd means:
authentication type=imap
authentication style=passwd
and then it uses /usr/libexec/auth/login_style, i.e. 
/usr/libexec/auth/login_passwd.
I find this very confusing.

Anyway the auth entries in login.conf seem unnecessary after all, and no I 
can't login as user@domain, 
still only as <user>.

Sorry for the red herring.

--Edwin

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to