Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-06 Thread FORMER 03 | Baltasar Cevc
Hi Timo, On Mon, 06 Aug 2007 15:00:05 +0300 Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Sun, 2007-08-05 at 22:20 +0200, FORMER 03 | Baltasar Cevc wrote: > > password_query = SELECT username AS user, password_enc AS password > > FROM mail_users WHERE username = '%u' AND ( (IF('%a'='143', > > `im

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-06 Thread Timo Sirainen
On Sun, 2007-08-05 at 22:20 +0200, FORMER 03 | Baltasar Cevc wrote: > password_query = SELECT username AS user, password_enc AS password FROM > mail_users WHERE username = '%u' AND ( (IF('%a'='143', `imap`,'0'))='Y' > OR (IF('%a '='110', `pop3`, '0') = 'Y') OR 1 ) Instead of ports it would be bett

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-06 Thread Geert Hendrickx
On Sun, Aug 05, 2007 at 10:20:02PM +0200, FORMER 03|Baltasar Cevc wrote: > But I'd need some possibility to have two different IMAP listeners (e.g. > one on port 144 for webmail) or something similar, as I currently > disallow webmail (which connects to localhost via IMAP), too. You just need to a

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread Angel Marin
FORMER 03 | Baltasar Cevc escribió: > Hi Timo! > > On Sun, 05 Aug 2007 20:02:28 +0300 > Timo Sirainen <[EMAIL PROTECTED]> wrote: > >> On Sun, 2007-08-05 at 12:41 +0200, FORMER 03 | Baltasar Cevc wrote: >>> Is there any possibility to achieve what I need without having two >>> completely separated

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread FORMER 03 | Baltasar Cevc
Hi Timo! On Sun, 05 Aug 2007 20:02:28 +0300 Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Sun, 2007-08-05 at 12:41 +0200, FORMER 03 | Baltasar Cevc wrote: > > Is there any possibility to achieve what I need without having two > > completely separated instances of Dovecot running? > > It depends

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread FORMER 03 | Baltasar Cevc
Hi Geert, On Sun, 5 Aug 2007 19:54:03 +0200 Geert Hendrickx <[EMAIL PROTECTED]> wrote: > Baltasar: > > You could use different passdb's under pop3 and imap, using the > allow_nets extra field: > http://wiki.dovecot.org/PasswordDatabase/ExtraFields/AllowNets > > You would allow pop3 access to al

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread Bill Cole
At 8:28 AM -0700 8/5/07, Don Russell imposed structure on a stream of electrons, yielding: FORMER 03 | Baltasar Cevc wrote: Hi everybody, I'm planning to set up our new mail system using the Dovecot mailbox server. It mostly works fine yet (it's quite straigt forward to set up, I'd say), but t

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread Geert Hendrickx
On Sun, Aug 05, 2007 at 09:53:52AM -0700, Don Russell wrote: > Not sure what your situation is, but in the USA laws are underway for > requiring corporations to keep ALL e-mail ... not sure what the state of > those laws are maybe they won't materialize but obviously people > are thinking a

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread Timo Sirainen
On Sun, 2007-08-05 at 12:41 +0200, FORMER 03 | Baltasar Cevc wrote: > Is there any possibility to achieve what I need without having two > completely separated instances of Dovecot running? It depends on what passdb you want to use. SQL would be simple. CheckPassword script would be possible. Othe

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread Don Russell
FORMER 03 | Baltasar Cevc wrote: Hi Russel, On Sun, 05 Aug 2007 08:28:12 -0700 Don Russell <[EMAIL PROTECTED]> wrote: 1 - storage is cheap - Costco sells a 1 TByte external drive for approx $US 300. That holds a LOT of e-mail. The 500 GByte is less than half that price. The problem is

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread FORMER 03 | Baltasar Cevc
Hi Russel, On Sun, 05 Aug 2007 08:28:12 -0700 Don Russell <[EMAIL PROTECTED]> wrote: > 1 - storage is cheap - Costco sells a 1 TByte external drive for > approx $US 300. That holds a LOT of e-mail. The 500 GByte is less > than half that price. The problem is not storage as such. It's reliability

Re: [Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread Don Russell
FORMER 03 | Baltasar Cevc wrote: Hi everybody, I'm planning to set up our new mail system using the Dovecot mailbox server. It mostly works fine yet (it's quite straigt forward to set up, I'd say), but there's a thing I haven't been able to find out yet. We provide POP3 access for all users, but

[Dovecot] Disable IMAP for certain users, but not Webmailer

2007-08-05 Thread FORMER 03 | Baltasar Cevc
Hi everybody, I'm planning to set up our new mail system using the Dovecot mailbox server. It mostly works fine yet (it's quite straigt forward to set up, I'd say), but there's a thing I haven't been able to find out yet. We provide POP3 access for all users, but want to restrict IMAP access to so