Page 1 of 1

local mail sends slower than external mail

Posted: Fri Nov 17, 2006 8:25 am
by kmcelwain
Could anyone explain why it takes 3 to 5 seconds to send an email to a local account versus almost instantly to an external email address.

Example....we are mail.banks.k12.ga.us

send to kmcelwain@banks.k12.ga.us...little slow
send to kvmcelwain@alltel.net...real fast...almost instant.

This really doesnt make sense

Posted: Fri Nov 17, 2006 10:14 pm
by kmcelwain
It's strange, could it be because I setup the local to bypass SpamAssassin, but shouldn't that make it faster?

Is there something that i can do to make sure that it goes through the local delivery or is it already?

Posted: Mon Nov 20, 2006 6:15 am
by Valerion
The path local mail takes is diffent.

If you use Outlook, it goes from the client to Scalix, gets put in the Service Router's queue, from there it gets put in Local Delivery's queue and that delivers into your mailbox. No outside applications (eg. Spamassassin) gets to see the mail. If you use SWA it gets delivered to the SMTP Relay (or possibly sendmail, depending on your setup), then possibly go to Spamassassin (depending on your setup), then goes to Scalix internally (Incoming mail gateway, then the Service Router, then Local Delivery). So the client used determines the path taken. If you can tell us which clients you are using here it would help quite a bit.

Also, I suggest you put audit logging on (omconfaud) on the Service Router and Local Delivery. It may be that the mail goes through fast and the client doesn't notify you in a timely way. Remember to restart the services when you change the logging (omoff and omon). You can have a look at the timestamps in the scalix audit log (/var/opt/scalix/logs/audit in Scalix 10) and see where the delay occurs.

Posted: Mon Nov 20, 2006 10:49 am
by kmcelwain
SWA client...thanks I'll turn on the logs and start looking