thank you very much, alessandro!
that's what i was looking for!

stupid me.....the WHERE Clause with the OR part.....of course....I was 
blind!
but also the hint about the DEFDOMAIN....I had no clue about it 
before.....now a few things have become clearer...

now it's working perfectly! :-)

thx a lot again!

>From: Alessandro Vesely <[EMAIL PROTECTED]>
>To: [email protected]
>Subject: Re: [courier-users] Different DB settings for IMAP & maildrop 
>necessary but/with just one authlib???
>Date: Wed, 17 Jan 2007 18:23:56 +0100
>
>- - 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

_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!


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

Reply via email to