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
>             w...@example.com and d...@example.com
>
> Host B have other 2 account
>             q...@example.com and r...@example.com
>

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:      w...@host1.example.com
                d:      w...@host1.example.com
                q:      q...@host2.example.com
                r:      r...@host2.example.com

    Modern Postfix style:

        example.com in virtual_alias_domains
        $myhostname in mydestination or virtual_mailbox_domains
        /etc/postfix/virtual:
                w...@example.com        w...@host1.example.com
                d...@example.com        d...@host1.example.com
                q...@example.com        q...@host2.example.com
                r...@example.com        r...@host2.example.com

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