Re: [courier-users] Can the "defaultdomain" entry also be in "hosteddomains"?

This is a discussion on Re: [courier-users] Can the "defaultdomain" entry also be in "hosteddomains"? within the Courier-Imap forums, part of the Mail Servers and Related category; Jeff Jansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Lloyd Zusman wrote: > >>In ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-02-2005
Papo Napolitano
 
Posts: n/a
Default Re: [courier-users] Can the "defaultdomain" entry also be in "hosteddomains"?

Jeff Jansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Lloyd Zusman wrote:
>
>>In order to keep my maildrop processing rules simple and consistent, and
>>for other reasons which I won't go into here, I'd like, if possible, for
>>the "defaultdomain" to also get processed with "@domain.tld" attached.
>>
>>The only way I can think of to make this happen would be for me to put
>>my "defaultdomain" entry also into "hosteddomains". If I do that,
>>should I remove it from "locals", or do I need to keep it both in
>>"locals" and "hosteddomains"?
>>
>>A related question: can "locals" be completely empty (or non-existent),
>>as long as all my domains appear in "hosteddomains"?

>
>
> Sure - you don't need a local domain. Everything can be a hosteddomains
> - - just make sure that the locals file is empty. But if you do this then
> you'll need to change the username of ALL the users who are on that domain.
>
> For instance if your local domain was 'domain.com' and you had users
> "bob" and "alice" then their user names in userdb or mysql or whatever
> authentication method you use would be "bob" and "alice". If you move
> 'domain.com' to a hosteddomain then you need to change their user names
> to be "bob@domain.com" and "alice@domain.com". This is the difference
> between a local and a hosted domain.
>
> This has to change on the server AND it has to change in all your
> clients. Bob will have to change his email client to log in as
> "bob@domain.com". He can no longer log in as "bob". If you've got a
> lot of clients this can be a *real* pain to get them all to change their
> logins, so make sure you've got a plan and people know about it before
> you make the change.
>
> HTH
>
> Jeff Jansen



Actually, if you're using courierauthlib you got:

DEFAULT_DOMAIN in authmysqlrc and authpgsqlrc
LDAP_DOMAIN in authldaprc

I used to patch the userdb auth module to append my default domain if
there wasn't a @ in the username, but that was long before authlib.
No need to patch anymore, I now use mysql ;)

Later.-


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0