[Dovecot] Problem with pop3 login
Hi, Im using dovecot version 0.99.11 and I'm facing a situation with one pop3 client.
This is a fax application (faxmaker for windows) written by a third party that tries to login to the dovecot as USER username@domain. When the application tries to login that way, my dovecot rejects the auth. All the other pop3 clients (outlook, eudora,etc) in the system log in correctly because they do just USER username.
The only failures related to the login (and I have debug enabled in dovecot) are: Sep 15 15:17:57 mail pop3-login: Aborted login [ipaddress]
How ca I tell dovecot to ignore the domain part for that user? I am not using virtual support.
Thanks,
--
Erick Perez Panama Sistemas Integradores de Telefonia IP y Soluciones Para Centros de Datos Panama, Republica de Panama Cel Panama. +(507) 6694-4780
I am sorry, I missed important info, here it is: dovecot 0.99.11 default_mail_env = mbox:/home/%n/mail/:INBOX=/var/mail/%n no virtual support
Note: I use %n because it was supposed to strip the domain part, but it seems not to be working. # %n - user part in user@domain, same as %u if there's no domain
**************examples:**********
telnet localhost 110 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK dovecot ready. user xyz +OK pass xyz +OK Logged in. list +OK 24 messages: 1 97887 2 37048 . .
********Failed example:************* telnet localhost 110 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK dovecot ready. user xyz@domain.com +OK pass xyz -ERR Authentication failed. quit +OK Logging out Connection closed by foreign host.
Thanks for your comments,
Erick.
On 9/15/06, Erick Perez eaperezh@gmail.com wrote:
Hi, Im using dovecot version 0.99.11 and I'm facing a situation with one pop3 client.
This is a fax application (faxmaker for windows) written by a third party that tries to login to the dovecot as USER username@domain. When the application tries to login that way, my dovecot rejects the auth. All the other pop3 clients (outlook, eudora,etc) in the system log in correctly because they do just USER username.
The only failures related to the login (and I have debug enabled in dovecot) are: Sep 15 15:17:57 mail pop3-login: Aborted login [ipaddress]
How ca I tell dovecot to ignore the domain part for that user? I am not using virtual support.
Thanks,
--
Erick Perez Panama Sistemas Integradores de Telefonia IP y Soluciones Para Centros de Datos Panama, Republica de Panama Cel Panama. +(507) 6694-4780
--
Erick Perez Panama Sistemas Integradores de Telefonia IP y Soluciones Para Centros de Datos Panama, Republica de Panama Cel Panama. +(507) 6694-4780
* On 15/09/06 11:52 -0500, Erick Perez wrote:
| I am sorry, I missed important info, here it is:
| dovecot 0.99.11
| default_mail_env = mbox:/home/%n/mail/:INBOX=/var/mail/%n
| no virtual support
|
| Note: I use %n because it was supposed to strip the domain part, but
| it seems not to be working.
| # %n - user part in user@domain, same as %u if there's no domain
There is a config param:
auth_username_format =
If you set it to: auth_username_format = %n, then it will drop the
domain part of the username for this user.
I am not sure which version of dovecot had this in the dovecot.conf
though. I am not sure if it is in 0.99.11 as I don't run it anymore.
There is a list of these dovecot variables tucked somewhere, maybe
in the wiki...
-Wash
http://www.netmeister.org/news/learn2quote.html
DISCLAIMER: See http://www.wananchi.com/bms/terms.php
--
+======================================================================+
|\ _,,,---,,_ | Odhiambo Washington
After upgrading to the 1.x series of Dovecot, the auth_username_format
was tested and is working perfectly. Note that indeed this parameter
is not available in the 0.99 series.
Thanks,
On 9/15/06, Odhiambo WASHINGTON
* On 15/09/06 11:52 -0500, Erick Perez wrote: | I am sorry, I missed important info, here it is: | dovecot 0.99.11 | default_mail_env = mbox:/home/%n/mail/:INBOX=/var/mail/%n | no virtual support | | Note: I use %n because it was supposed to strip the domain part, but | it seems not to be working. | # %n - user part in user@domain, same as %u if there's no domain
There is a config param:
auth_username_format =
If you set it to: auth_username_format = %n, then it will drop the domain part of the username for this user.
I am not sure which version of dovecot had this in the dovecot.conf though. I am not sure if it is in 0.99.11 as I don't run it anymore.
There is a list of these dovecot variables tucked somewhere, maybe in the wiki...
-Wash
http://www.netmeister.org/news/learn2quote.html
DISCLAIMER: See http://www.wananchi.com/bms/terms.php
-- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington
Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Carmel, New York, has an ordinance forbidding men to wear coats and trousers that don't match.
-- ------------------------------------------------------------ Erick Perez Panama Sistemas Integradores de Telefonia IP y Soluciones Para Centros de Datos Panama, Republica de Panama Cel Panama. +(507) 6694-4780 ------------------------------------------------------------
participants (2)
-
Erick Perez
-
Odhiambo WASHINGTON