username mapping for imap/pop

Igor Sysoev igor at sysoev.ru
Mon Jan 13 07:58:20 UTC 2014


On Jan 13, 2014, at 2:27 , bidwell wrote:

> I need to map from username to login name where I wish to map from just
> username to username at domain.org for gmail and windomain\username for an
> exchange server.  Is there a way for me to build in hooks to change the
> username before connecting.  I can to that in my mailauth.pm module but
> don't know how to return the updated username.

You can return it via header:
Auth-User: user at domain.org


-- 
Igor Sysoev
http://nginx.com



More information about the nginx mailing list