14 messages in net.sourceforge.lists.courier-users[courier-users] Re: One Domain et mul...
FromSent OnAttachments
Michelle KonzackMar 15, 2005 11:59 am 
Michael NguyenMar 15, 2005 2:25 pm 
Sam VarshavchikMar 15, 2005 3:44 pm 
Michelle KonzackMar 15, 2005 4:23 pm 
Martijn LievaartMar 16, 2005 1:02 am 
Michelle KonzackMar 16, 2005 1:31 am 
Martijn LievaartMar 16, 2005 2:24 am 
Hans du PlooyMar 16, 2005 9:45 am 
Hans du PlooyMar 16, 2005 9:53 am 
Gordon MessmerMar 16, 2005 11:33 am 
Michelle KonzackMar 17, 2005 5:59 am 
Ricky ChanMar 17, 2005 6:15 am 
Michelle KonzackMar 17, 2005 6:57 am 
Sam VarshavchikMar 17, 2005 3:48 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: One Domain et multiple mbox-serverActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 17, 2005 3:48:23 pm
List:net.sourceforge.lists.courier-users

Michelle Konzack writes:

coming into <mail.mydomain.tld> are forwarded to the mailbox

<user@mbox-ir.mydomain.tld>

I have read the documentation but not found the right part, how to forward $USER to a specific mbox-server.

You can do this with a combination of carefully setting up the domain configuration files, and mail aliases.

A simple configuration using two servers:

Server eu1.example.com: esmtpacceptmailfor contains eu1.example.com and example.com; hosteddomains contains eu1.example.com; existing mail accounts are: use@eu1.example.com, use@eu2.example.com

Server eu2.example.com: esmtpacceptmailfor contains eu2.example.com and example.com; hosteddomains contains eu2.example.com; mail accounts are: use@eu2.example.com, use@eu2.example.com

Common mail aliases:

use@example.com: use@eu1.example.com use@example.com: use@eu1.example.com use@example.com: use@eu2.example.com use@example.com: use@eu2.example.com

Either server can receive mail for any account; if necessary mail will be forwarded to the other server.

The mail clients will have to be set up to log in via IMAP/POP3, or authenticate via SMTP as "use@eu1.example.com", etc…, plus the appropriate password. If desired, the authentication database can be augmented with additional records "user1", "user2", etc…, so that the mail clients can login using the userid portion only, of their E-mail address.