22 Jan
2010
22 Jan
'10
1:05 a.m.
On 22.1.2010, at 0.51, Federico Tomasczik wrote:
A group of users can use IMAP or POP3.
The others, only can use POP3. But, this users can use IMAP only with a webmail (the webmail is in the same server that Dovecot)
It is possible? How?
If you're using SQL, you can do something iike:
password_query = .. where ('%s' != 'imap' or imap_allowed=true or '%r' = '127.0.0.1') and ..
The idea being that your webmail connections are coming from 127.0.0.1 and they're always allowed.