[Dovecot] IMAP only for some users or via webmail
Hello!
First, sorry for my English...
I'm a newbie with Dovecot and I have some questions,
I'm testing Dovecot 1.1.11 in a virtual machine. I wish in the future, migrate this to a real server.
Ok, but i need this:
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?
Thanks!
Federico Ch. Tomasczik
It's always worth searching the mailing list to see if the question's already been asked
You don't say how you run your authentication backend. I'll hazard a guess that you're using MySQL, in which case you should see http://old.nabble.com/Allow-POP3-per-Domain-td27143238.html for reference.
In your case, you'll just have to adapt the SELECT statement somewhat.
Ronald.
Ronald MacDonald : +44-7772-351655 ronald@rmacd.com : http://www.rmacd.com 4/1 Gillespie Crescent, Edinburgh EH10 4HT
2010/1/21 Federico Tomasczik ftomasczik@gmail.com:
Hello!
First, sorry for my English...
I'm a newbie with Dovecot and I have some questions,
I'm testing Dovecot 1.1.11 in a virtual machine. I wish in the future, migrate this to a real server.
Ok, but i need this:
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?
Thanks!
Federico Ch. Tomasczik
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.
participants (3)
-
Federico Tomasczik
-
Ronald MacDonald
-
Timo Sirainen