Proxmox relay domain to multiple host

Discussion in 'Mail Gateway: Installation and configuration' started by TT5776, Aug 8, 2018.

  1. TT5776

    TT5776 New Member

    Joined:
    Jul 27, 2018
    Messages:
    4
    Likes Received:
    0
    Hello

    For this exemple :
    Code:
    mail.exemple.com local ip : 192.168.20.100
    mail2.exemple.com local ip : 192.168.20.101
    mail.exemple.com and mail2.exemple.com are a cluster

    Actually in my DNS i've :
    exemple.com IN MX 30 mail.exemple.com
    exemple.com IN MX 10 mail2.exemple.com

    mail.exemple.com IN A PUBLICIP1
    mail2.exemple.com IN A PUBLICIP2

    Actually i dont want Proxmox use public IP to send email to my domain exemple.com
    Can i set a relay for exemple.com using 192.168.20.100 and 192.168.20.101 ( if the first one crash ? )

    Thanks
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,216
    Likes Received:
    269
    Yes, just define a "Transport" for those two domains (Configuration/MailProxy/Transports).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. TT5776

    TT5776 New Member

    Joined:
    Jul 27, 2018
    Messages:
    4
    Likes Received:
    0
    Hi,
    I'm sorry but it's not two domain, i only have one, i've two Lotus Domino in cluster for the same domain.
    Cant i set in "host" something like : 192.168.20.100;192.168.20.101 ?

    Thanks.
     

    Attached Files:

  4. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    45
    Likes Received:
    4
    You can use smtp_fallback_relay postfix parameter.
    For example, if 1 is down, it will send to 2; 2 down, send to 3.

    relay_transport = smtp:[10.10.10.1]:25
    smtp_fallback_relay = [10.10.10.2]:25, [10.10.10.3]:25
     
    DerDanilo likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice