Postfix send mails to 2 different locations

Discussion in 'Installation/Configuration' started by chameleon, Apr 3, 2008.

  1. chameleon

    chameleon New Member

    Hello,

    I have a external mail server (postfix), which holds all the mailboxes and then forward them to internal server.

    Is there a way to send this mails to 2 diffrent servers?

    Example: External mail receive a mail, check it for spam, antivirus etc, and then forwad this mail to 2 different mail servers inside the network.

    BR,
    chameleon
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You can use Postfix transports for this. Take a look at
    Code:
    man 5 transport
     
  3. chameleon

    chameleon New Member

    I already check it, but I can add only one IP.
    I need to add 2 IPs. I made some test with your how-to and put 2 IP addresses into transport table, but postfix don't like it. example was smtp[192.168.4.2]
    I need postfix to send mails to 192.168.4.2 and to 192.168.4.3.
    Can you provide me with correct syntax for this, having in mind my desire - 2IPs.

    Thanks
     
  4. falko

    falko Super Moderator Howtoforge Staff

Share This Page