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.


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.


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



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?


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


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

kind regards,


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

Reply via email to