mailertable intrigue
Posted: Sat Aug 12, 2006 2:10 am
Hi All,
I was looking at my 3rd party mailgateway logs and noticed that there was some communication between internal Scalix servers there (i.e. scalix@server1.domain.com going to scalix@server2.domain.com). It was about every 15 minutes so very likely dir sync traffic as that was the period I had set.
The reason (I suspected) was that server1.domain.com has an smtp smarthost set because it is at the site where our gateway is and handles all internet mail for scalix.
I don't want this to happen as it loads the 3rd party mailgateway unecessarily with internal traffic. I thought I should be able to add a mailertable line to make the mail for server2 go directly to it and not via the gateway.
I added a line to server1's /etc/mail/mailertable :
did a and
However to no avail as all mail to this host is still going to the smarthost gateway. Tried with and without [brackets] and directly to IP address - same result.
Other entires in the mailertable are being acted on. It looks like it is not matching the lefthand side of this particular entry for some reason.
Any ideas what I can do to get this to work?
Thanks in advance.
C
I was looking at my 3rd party mailgateway logs and noticed that there was some communication between internal Scalix servers there (i.e. scalix@server1.domain.com going to scalix@server2.domain.com). It was about every 15 minutes so very likely dir sync traffic as that was the period I had set.
The reason (I suspected) was that server1.domain.com has an smtp smarthost set because it is at the site where our gateway is and handles all internet mail for scalix.
I don't want this to happen as it loads the 3rd party mailgateway unecessarily with internal traffic. I thought I should be able to add a mailertable line to make the mail for server2 go directly to it and not via the gateway.
I added a line to server1's /etc/mail/mailertable :
Code: Select all
server2.domain.com esmtp:[server2.domain.com]
did a
Code: Select all
make
Code: Select all
service sendmail restart
However to no avail as all mail to this host is still going to the smarthost gateway. Tried with and without [brackets] and directly to IP address - same result.
Other entires in the mailertable are being acted on. It looks like it is not matching the lefthand side of this particular entry for some reason.
Any ideas what I can do to get this to work?
Thanks in advance.
C
