Hello
I have 2 SMTP-servers running qmail placed on diffret physical location with
diffrent internet connections, so if my primary SMTP server is down or the
connection is broken the e-mails will end up on the secondary. I'm using
smtproute on the secondary to route all the incomming messages to my primary
server. This works perfect, if the primary server is down they are queued on
my secondary until the primary are back.
But my problem are, if someone is trying to use my secondary SMTP-server for
open relaying, the messages are routed to the primary server and that server
rejects them. The secondary generates a bounce message and are tryinging to
send it but because of the smtproutes it tries to send it to the primary
server and the bounce will be rejected and it will be a doubble bounce.
I want the bounce to be sended back to the sender without double bouncing.
Putting the rcpthosts file on the secondary server is not an option because
the file will be out of date almost immediately and the configuration I have
will not allow me to have a scheduled script that downloading that file.
So my question is if there are anyone who have an easy solution how I should
do so all messages are routed with smtproute except the bounce messages?
Andreas