Koozali.org: home of the SME Server

Timeouts when contacting multi-drop mail servers

Ed Form

Timeouts when contacting multi-drop mail servers
« on: February 18, 2002, 05:00:45 PM »
Some ISPs have slow CHAP responders so that the time taken between triggering a dialup and actually getting a valid connection to the mail server is notably longer than with other ISPs.

This causes a problem with the e-smith mail setup which calls for mail before the sytem is able to pass the request to the upstream mail server. The system responds with a message like...

  fetchmail: couldn't find canonical DNS name of pop.businesssserve.co.uk

Is there a setting that can be changed to make the mailserver wait longer after a dialup is triggered before it shouts for the mail?

Ed Form

Dean Mumby

Re: Timeouts when contacting multi-drop mail servers
« Reply #1 on: February 18, 2002, 05:44:02 PM »
I have reported this to bugs@e-smith.org

Are you using essg 4.1.2 it seems that fetchmail is doing a dns lookup on all receipents listed in the headers and if it cant resolve all the domains it simply leaves the email on the isp server

Apparently sme 5.1.2 does not do this as there is a no dns spec now.

Ed Form

Re: Timeouts when contacting multi-drop mail servers
« Reply #2 on: February 19, 2002, 06:23:20 PM »
Dean Mumby wrote:
>
> I have reported this to bugs@e-smith.org
>
> Are you using essg 4.1.2 it seems that fetchmail is doing a
> dns lookup on all receipents listed in the headers and if it
> cant resolve all the domains it simply leaves the email on
> the isp server
>
> Apparently sme 5.1.2 does not do this as there is a no dns
> spec now.

Your problem isn't the same as mine. My situation is that one particular ISP has a very slow CHAP responder which fails to complete the authentication of the caller before the mailserver times out and says it couldn't find the multi-drop mailserver at all. On the other modem dial-up system I have running - my own - I get reliable connections at every mail call. When I swap the equipment over, so that I use the modem/router combination normally used on the slow-response ISP, but with my ISP, I again get good connections every time. My own equipment also fails to get quick enough authentication on the troublesome ISP. So it's not the equipment's fault, nor is it a bug in e-smith.

When the dialup is to browse the internet the authentication delay isn't a real problem. Internet explorer on the client PC gets tired of waiting and puts up error 404, but a few more seconds, and a quick F5, gets it going. The problem with the mailserver is serious because mail fails every time and always goes for a second dialup, and often a third, before it gets an authenticated connection within the timeout window - more phone bill escalation.

What I am looking for is some way to hold back the mail server for a bit longer after it triggers a dialup before it calls the mailserver for mail.

Anyone have any ideas?

Ed Form

Dean Mumby

Re: Timeouts when contacting multi-drop mail servers
« Reply #3 on: February 19, 2002, 11:06:47 PM »
I dont know if this will work but you might want to try stephen nobles multipop and isp rpms the isp rpm forces email collection repeatedly while the connection is up so if it fails the first time it might work the second

the rpms are in his contrib directory or at http://dungog.net

Good Luck

Dean