Page 1 of 1

Scalix not working as a relayhost.

Posted: Mon Jul 31, 2006 11:47 am
by kanderson
I'm not sure what's happening here.

I have 2 servers. Server 1 is our head office, and is working normally. It's really busy, but it's running fine.

Server 2 is a remote office. Internally, it works fine, but it is configured to use Server 1 as a RelayHost.

All was working fine, and then it just stopped. I can't account for anything that changed on either end that would be involved in this.

When Sendmail send a message from Server2 to Server1, it recieved an error which says Deferred, Connection Timed Out.

I can send messages via telnet through through Server1 with no problem. And email is being recieved by Server 1 from other locations (Spam Gateway) with no problem. I'm just curious to know what I could check that would explain why this isn't working.

I'll also note that it isn't a constant problem. If I flush the queue, or restart sendmail, it often works for a few mins, and then stops again. Sometimes it'll go later too. But there doesn't seem to be any reason I can think of for why it does or doesn't work.

The only possible solution I can come up with is that it may defer messages if it's very busy. With Notify hammering Server1 now, we are seeing unusually high utilizations sometimes. If this is the case, is there a parameter I can change so that it will accept emails regardless of the LA? Or where I can at least adjust what the LA is where it will start deferring messages?

Thanks
Kev.

Posted: Mon Jul 31, 2006 11:49 am
by ScalixSupport
If you are using sendmail as the external listener on the receiving machine, the options in the sendmail.cf file are QueueLA , DeferLA and RefuseLA.

Cheers

Dave

Posted: Mon Jul 31, 2006 11:51 am
by kanderson
Scalix is the external listener on the recieving machine. Should I switch it?

Kev.

Posted: Mon Jul 31, 2006 7:56 pm
by dkelly
Can you post some of the output from mailq ?

What happens when you run sendmail -q -v ?

Cheers

Dave

Posted: Mon Jul 31, 2006 8:32 pm
by kanderson
There are MANY emails in there. Sometimes they eventually clean out though, so it isn't completely stuck. This is why I wonder about perhaps a load issue on the recieving side?

I put sendmail -q in my crontab to run every 5 mins in hopes that I'd hit the good window more frequently. Apparently not though.

Anyway, the messages are

Deferred: Connection refused by server1

I'm going to move this to a support call.

Thanks anyway Dave. I'll follow up this thread with the resolution.