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 better to use %Ls which expands to "imap" or "pop3". > 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. or '%r' = '127.0.0.1'
signature.asc
Description: This is a digitally signed message part