Hello
Thanks for the feedback.
Can you still help me with the following?
We want to have two smtp routes for one subdomain
For example
*@eqx.vessel.com = smtp 1: a ip adress 25
= smtp 2: a ip adress 20026
*@bqx.vessel.com = smtp 1: a ip adress 25
= smtp 2: a ip adress 20026
How can we do this with the transport map? Can we give two routes for each sub
domain?
I have try doing this by a.vessel.com = a-hostname.vessel.com and then mx
lookup but then i have the problem I can't specify two ports 25 and 20026.
The 20026 port is bound to a ssh server sow we can send mail with high latency,
therefor I need to be able to send mail over two ports.
Second question: if you can enter 2 smtp, how will they react, will they play
round robin or can you give them a prio? And where can you do this?
In Case you can give a prio when does it fail over, or can we give it a time
I'm sorry for all these questions but I'm trying to setup a difficult mail
system for our vessels that needs to be fully HA.
-----Original Message-----
From: Wietse Venema <[email protected]>
Sent: 01 February 2019 16:24
To: De Petter Mattheas <[email protected]>
Cc: [email protected]
Subject: Re: multi relay host
[email protected]:
> Dag wietse
>
> i have a littel question for you.
>
> we want to use postfix as a mta to handle mail to our ships.
>
> now we have a problem we want two routes from shore to vessel
>
> for each sub domain. each vessel has his own mail domain @a.vessel.com
> we we send the mail the transport map only allows one host ip.
In the transport map:
query response
==========================
a.vessel.com hostname-for-a.vessel.com
> how can we make it two host?
>
> can you use mx records in the transport map?
The transport map can reply with a domain name that has one or more MX records
that resolve to one or more A records. The Postfix SMTP client will try up to 5
IP addresses.
It can also be done without DNS:
/etc/hosts:
1.2.3.5 hostname-for-a.vessel.com
1.2.3.6 hostname-for-a.vessel.com
/etc/host.conf
multi on
Thank you for your interest in Postfix. Although I wrote a large part of the
software, my personal email is not the point of contact for support or
questions.
- Information about Postfix is at http://www.postfix.org/
- Send questions about Postfix to [email protected] To subscribe, see:
http://www.postfix.org/lists.html
Wietse
Wietse
************************************************************
Any reaction to this e-mail or any other mail, including any
files transmitted therewith to sender's e-mail address(es)
shall be dealt with not as private, but as business
communication(s) and shall be registered as such.
************************************************************