Il 12/01/2016 08:23, Jonas Bj?rklund ha scritto:> Hello,
>
> Is there a way to allow only certain users on IMAP/POP3 without SSL?
> Im running MySQL backend.
>
> /Jonas
You can try to add a deny passwd-file based on the service and protocol
or port (in order to determinate if users are login in clear):
passdb {
driver = passwd-file
args = /etc/dovecot/deny.%s.%a
deny = yes
}
And in the file /etc/dovecot/deny.imap.143 insert all users except the
allowed to login in clear.
http://wiki.dovecot.org/Authentication/RestrictAccess
http://wiki.dovecot.org/Variables
This is only a suggestion, I don't know if can works.
Let me know if you find a better way.
Ciao
--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice