On Thu, Nov 18, 2010 at 03:17:36PM +0100, Matteo Cazzador wrote:

> Hello, i've a question: i'need to configure various postfix server to 
> receive mail with the same domain (but filtered by receiver) and send it.
> Example:
>
> Host A have 2 account
>             [email protected] and [email protected]
>
> Host B have other 2 account
>             [email protected] and [email protected]
>

Each host forwards mail that is not for itself to the other host.

    Traditional (Sendmail style):

        example.com in mydestination
        $myhostname in mydestination
        /etc/aliases:
                w:      [email protected]
                d:      [email protected]
                q:      [email protected]
                r:      [email protected]

    Modern Postfix style:

        example.com in virtual_alias_domains
        $myhostname in mydestination or virtual_mailbox_domains
        /etc/postfix/virtual:
                [email protected]        [email protected]
                [email protected]        [email protected]
                [email protected]        [email protected]
                [email protected]        [email protected]

http://www.postfix.org/ADDRESS_REWRITING_README.html
http://www.postfix.org/ADDRESS_CLASS_README.html
http://www.postfix.org/VIRTUAL_README.html
http://www.postfix.org/BASIC_CONFIGURATION_README.html

-- 
        Viktor.

Reply via email to