On Thursday 05 June 2003 12:20, "Paeddy" <[EMAIL PROTECTED]> 
wrote:
> i want to be able to receive any mail with the domain
> "baenz.net" to this account ([EMAIL PROTECTED])
>
> for example:
>
> [EMAIL PROTECTED]                 -> should be delivered to  
>   -> baenz.net [EMAIL PROTECTED]     -> should be
> delivered to     -> baenz.net
>
> so the user should have to possibility to choose whatever
> he wants before his domain.
>
> i know that this is possible but i can't remember how i
> did it.
>
> any ideas ?

Two options that I know of.

1. Add the alias "@baenz.net:  user".  "user" can either be 
a system user on the box or a virtual user defined in 
userdb, mysql, etc.  Mail to "[EMAIL PROTECTED]" will be 
rewritten by courier as "user-anyone" and delivered to 
"user".  (This MUST be a local user - not a user at a 
hosteddomain.) In any case you need to create a 
.courier-default file in "user's" Home directory telling 
courier what to do with mail that arrives.  (For a system 
user that would their actual $HOME directory.  For a 
virtual user that would be whatever is specified in the 
$HOME variable for that account.)

2. Create a hosteddomain "baenz.net".  Then create the user 
"[EMAIL PROTECTED]".  Any mail that arrives for baenz.net 
which does not match a valid user will be delivered to the 
account "[EMAIL PROTECTED]".  Create a .courier file that 
tells courier what to do with the mail.

Jeff Jansen


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to