Send mail to smarthost depending on the MX result

Discussion in 'Installation/Configuration' started by iqpascal, Jun 28, 2018.

  1. iqpascal

    iqpascal New Member HowtoForge Supporter

    Hi,
    I know you can forward mails to an diffent MX based on their domainnames but is this also possible based on what the MX is?
    I am forwarding all mail to for instance GMail and Hotmail/Outlook via smtp2go because if I don't do that I sometimes have mails that disapear in black holes or are sent into a spam folder.

    But somtimes people use their own domain on for instance Google Mail and these mails get routed directly to google and not via smtp2go. Is it possible in Postfix (perhaps via the config files itself) to route all traffic to MX *.google.com via smtp2go and all other mail directly?
     
  2. Jesse Norell

    Jesse Norell Well-Known Member

Share This Page