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 ------------------------------------------------------------