Boris V. Bogachov wrote:

>I have four hosted domains and a number of virtual
>users within those domains. The virtual users data
>are stored in the userdb. Is it possible for some
>of the virtual users to have their user names in the
>form of "user1, user2" instead of "[EMAIL PROTECTED],
>[EMAIL PROTECTED]" ? If yes, what should I do to set
>up such user names?

It should be possible, as I am doing the exact same. However I use 
authmysql, but the same system of authentication, and handling is 
basically the same regardless what you use.

Breakdown:

1) add the users with their username as "user1" "user2" etc.
2) remove "domain1.tld" "domain2.tld" from "etc/hosteddomains" and put 
them into "etc/locals".
3) refresh the dat files using the makeuserdb, makehosteddomains, and 
restart all processes (to be sure the change to "etc/locals" is read 
in... I am unsure the exact process that uses it) commands.
4) instruct your users to set their pop/imap username as "user1" "user2" 
etc instead of them having them currently set as "[EMAIL PROTECTED]" (or 
user1%domain1.tld for older clients) etc.

I hope that helps?

Steps 1 and 2 make it so mail DELIVERS to their mailbox ok.
Steps 2 and 4 make it so people can GET their mail ok.

This is what I gathered from the doc/man/faq reading, and from what I 
experienced when trying to get a couple users to be "user" and other 
users to being "user@domain". If this is all WRONG... then uhm... someone 
else should correct me. Basically the key thing I read somewhere amongst 
the miles of docs was that domains in etc/locals are STRIPPED from the 
delivery leaving only "user" to match to find where to place the incoming 
mail, and domains in etc/hosteddomains leave the domain ON so it matches 
with "user@domain".


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to