Helllo

Indeed that's what I meant.

We want smtp 1 = a ip adress: 25, the second a ipadress:20026

We have to have two routes on the server so we can have a mail relay system.

One route should connect to the vpn and deliver mail that way on standard port 
25
The second was a ssh with port forwarding, where we give the postfix as smtp 
route the adress of the ssh server that listen on port 20026.
And in that ssh server there was a port forwarding made with the responding 
smtp server on port 25, so mail could get in.

Do any of you know another program or solution that has this functionality?


Many thanks

Met vriendelijke groeten                         
Kind regards                                                  
De Petter Mattheas                                   
Technical support engineer - projects team     
IT-Department Jan De Nul Dredging N.V.
T +32 (0)53 73 95 53                                          
F +32 (0)53 21 00 31                                          
www.jandenul.com                                            


-----Original Message-----
From: [email protected] <[email protected]> On 
Behalf Of Wietse Venema
Sent: 04 February 2019 16:53
To: Postfix users <[email protected]>
Subject: Re: multi relay host

De Petter Mattheas:
> 
> 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

Ehm. 25 is not an IP address. Did you mean TCP port?

Transport maps currently can return only one result. You can use DNS to go from 
one transport map result to multiple IP addresses, but multiple TCP ports.

What you can do is to (also) run an SMTP daemon on port 20026 on the smtp1 
host. In Postfix, that means:

/etc/postfix/master.cf:
    20026 inet .... ... .. .. .. .. smtpd

        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.
************************************************************

Reply via email to