mailertable intrigue

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

tenaciousC
Posts: 89
Joined: Thu Mar 30, 2006 5:41 pm
Location: Manchester, UK.

mailertable intrigue

Postby tenaciousC » 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 :

Code: Select all

server2.domain.com                 esmtp:[server2.domain.com]

did a

Code: Select all

make
and

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 8)

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Sat Aug 12, 2006 10:57 am


tenaciousC
Posts: 89
Joined: Thu Mar 30, 2006 5:41 pm
Location: Manchester, UK.

Now it works

Postby tenaciousC » Sun Aug 13, 2006 4:02 am

So the stage I missed was omsendin then? not sure why that makes a difference as it seems only concered with sendmail.cf, whereas the mailertable creates the mailertable.db.

Thanks for the tip --- and a great wiki page!

C


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron