[Dovecot] POP3 Proxy : user format not accepted
Hello, I want to use Dovecot as a POP3 proxy (http://wiki.dovecot.org/HowTo/ImapProxy). All is working fine on my sample platform, except that I have plenty (several thousands) of users that login using local_part#domain, instead of local_part@domain, which is an old setting on my POP3 server. And in that case, Dovecot returns 'Authentication failed'. Here is my proxy table : mysql select * from tbl_proxy; ++-++ | user | host | destuser | ++-++ | christ...@mydom.fr | 10.10.100.1 | christ...@mydom.fr | | christian#mydom.fr | 10.10.100.1 | christ...@mydom.fr | ++-++ If I login on the Dovecot proxy with the '@' version, everything is fine : root : ~ telnet 10.10.100.24 110 Trying 10.10.100.24... Connected to 10.10.100.24 (10.10.100.24). Escape character is '^]'. +OK Dovecot ready. user christ...@mydom.fr +OK pass azerty42 +OK christian#mydom.fr has 3 messages (3561 octets) And MySQL logs show the query : 121030 12:55:28 3 Query SELECT NULL AS password, host, destuser, 'Y' AS nologin, 'Y' AS nodelay, 'Y' AS proxy, 'Y' AS nopassword FROM tbl_proxy WHERE user = 'christ...@mydom.fr' If I login on the Dovecot proxy with the '#' version, it fails : root : ~ telnet 10.10.100.24 110 Trying 10.10.100.24... Connected to 10.10.100.24 (10.10.100.24). Escape character is '^]'. +OK Dovecot ready. user christian#mydom.fr +OK pass azerty42 -ERR Authentication failed. And nothing shows up the the MySQL logs. If I login directly on the POP server with the same credentials, no problem : root : ~ telnet 10.10.100.1 110 Trying 10.10.100.1... Connected to 10.10.100.1 (10.10.100.1). Escape character is '^]'. +OK Welcome to POP3 Server V 2.06. Authenticate yourself. user christian#mydom.fr +OK Password required for christian#mydom.fr pass azerty42 +OK christian#mydom.fr has 3 messages (3561 octets) Any idea ? Is the '#' not internally supported in the user login by Dovecot ? Thanks in advance. Christian
Re: [Dovecot] POP3 Proxy : user format not accepted
Indeed, I set its value to empty to allow all characters and it now works. Thanks a lot Timo. De : Timo Sirainen t...@iki.fi À : Christian Gregoire cgregoi...@yahoo.com; Dovecot Mailing List dovecot@dovecot.org Envoyé le : Mardi 30 octobre 2012 14h08 Objet : Re: [Dovecot] POP3 Proxy : user format not accepted On 30.10.2012, at 14.01, Christian Gregoire wrote: Any idea ? Is the '#' not internally supported in the user login by Dovecot ? See auth_username_chars setting.
[Dovecot] Dovecot and Lustre FS
Hello, Right now, I'm using Exim and a customized version of an old (10 years old) Atmail POP3 server written in Perl, with ~1 mailboxes located on a Lustre file system. So far so good. Though, I plan to migrate from Atmail to Dovecot, to provide our customers with IMAP support. Has anyone any experience with Dovecot on Lustre FS ? Thanks Christian
[Dovecot] Re : Dovecot and Lustre FS
[..] with ~1 mailboxes located on a Lustre file system. So far so good. This may be a bit off topic but... I thought that a lustre filesystem was not designed to store a lot of small files (e.g: due to MDS inodes) Can you tell us more about your experience ? Hi Thomas, We've developped our own MDA, and customized the POP server, thus for a given email, headers are stored in a MySQL database and the whole message (headers+body, mbox format) in the Lustre FS, in a directory based on the last 3 digits of its internal id (MySQL autoincrement) : 000 \_986544000 - one email \_852125000 [...] 001 \_780284001 \_986545001 [...] [...] 999 \_489288999 \_326541999 [...] As we only provide POP support, we reach a maximum of 2500 files per directory. Lustre version is 1.4, with one MDS and 3 OST. We have 9 SMTP/POP servers connected to the LFS. Indeed, I have many concerns about IMAP+Lustre. For example, should I use mbox or maildir ? I'd go with the second one but really don't know how Lustre would behave with potentially tens of thousands of files in one directory (according to the Lustre FAQ, it should perform fine : http://wiki.lustre.org/index.php/FAQ_-_Sizing), but ... I've been through some previous posts (http://dovecot.org/list/dovecot/2010-January/046106.html and http://www.dovecot.org/list/dovecot/2010-March/047673.html) and I'm also wondering whether I should switch to another FS. Any advice ? What is the most widely used clustered FS with Dovecot ? Thanks in avance for sharing your experience. Christian