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.