Hi Eric:

This seems to work. Only needed to add the entry to smtproutes - used the IP address of the remote server and the port number. Just to be sure I spent some time testing whether we had an open relay and confirmed that we did not have an open relay.

Thanks for the help.

Jeff

On 7/3/2019 11:00 AM, Eric Broch wrote:

Backup /var/qmail/control/virtualhosts to /var/qmail/control/virtualhosts.bak and empty the new file of domains you don't want delivered locally, same with /var/qmail/control/locals.

Add entry to /var/qmail/control/smtproutes no quotes.

":remotehost:port"

You'll have to set up 'remotehost' to receive mail on new 'port'


http://wiki.qmailtoaster.com/index.php/Smtproutes

https://arstechnica.com/civis/viewtopic.php?f=16&t=67722


Let me know if it works.



On 7/3/2019 8:20 AM, Jeff Koch wrote:
Abel - thanks - I'll give it a try - how about forcing it to use port 26 for outgoing mail?

Jeff

On 7/3/2019 9:39 AM, a...@globalgate.com.ar wrote:

On Wed, 3 Jul 2019, Jeff Koch wrote:

Date: Wed, 3 Jul 2019 09:35:20 -0400
From: Jeff Koch <jeffk...@intersessions.com>
Reply-To: qmailtoaster-list@qmailtoaster.com
To: Eric Broch <ebr...@whitehorsetc.com>, qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Relaying mail to another server


Hi - I need to temporarily relay all mail from a QMT7 mailserver to another server that will distribute the mail. Does anyone know how to reconfigure the QMT7 mailserver to do that?

This is because my host is currently blocking outgoing port 25 so I thought I'd relay the mail on port 26 to a server we have on another host. But I need to configure QMT7 to do that.

Regards, Jeff


Hi,

/usr/bin/echo  ":<ip_external_relay>" >> /var/qmail/control/smtproutes


kind regards,


__Abel.

---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Reply via email to