- - wrote:
> If I change now the settings in the DB and configure that the email address
> equals the username for login, then of course it's working for maildrop but
> sadly then I have also to use the email address as login name for webmail
> and mailclient. But that's not what I want!
As a third alternative (after using "locals" or "$(service)") it is possible
to allow both login_id or email_address, setting a query with a where-clause
like
WHERE ('$(domain)' = 'DEFAULT' AND '$(local_part)' = login_id) OR\
('$(domain)' != 'DEFAULT' AND '$(local_part)@$(domain)' = email_address)
where the string DEFAULT is whatever you set your DEFAULT_DOMAIN to: the
module will use that if the name handed to it contains no strudel (`@'.)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users