[Dovecot] authentication methods : pam, passwd and then backup question. How to restrict the methods

Pascal Volk user+dovecot at localhost.localdomain.org
Tue Jan 25 19:11:52 EET 2011


On 01/25/2011 05:55 PM J4K wrote:
> On 01/25/2011 05:53 PM, Pascal Volk wrote:
>> On 01/25/2011 05:50 PM J4K wrote:
>>>     I noticed that incoming users were attempting to authenicate using
>>> several methods like pam sql. Eventually, they logged in.
>>> Is there a way for dovecot to only query a mysql backup for users, and
>>> skip the other methods?
> # dovecot -n
> # 1.2.15: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-cgmemcap-smack x86_64 Debian 6.0 ext4
>> auth default:
>>   passdb:
>     driver: pam
>   passdb:
>     driver: sql
>     args: /etc/dovecot/dovecot-mysql.conf
>   userdb:
>     driver: passwd
>   userdb:
>     driver: static
>     args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes
>   userdb:
>     driver: sql
>     args: /etc/dovecot/dovecot-mysql.conf
>
Remove passdb pam and userdb static, then reload the configuration and
be happy. ;-)


Regards,
Pascal
-- 
The trapper recommends today: c01dcafe.1102518 at localdomain.org


More information about the dovecot mailing list