PDA

View Full Version : sending email (connect, login) = slow


TheRudy
7th July 2006, 21:01
Hey

Search didn't find anything about it. I actually missed this cause i don't wait for emails to be sent but each time you sent email, it takes about 15 seconds or so to connect to server. Receiving email is fast, all within second. Everything works normally except for sending email being slow. And by sending email i don't mean sending actuall email aka uploading to server but connection to server (connect -> login stuff). Same thing i had with FTP which was solved. It tooks ages to complete one command.

Oh and btw, using TLS or not, same thing.

platd
8th July 2006, 00:49
dns resolving issues on your lan at a guess :)

TheRudy
8th July 2006, 11:21
heh yeah, i'm missing something..

TheRudy
8th July 2006, 11:30
Fixed..

/etc/resolv.conf had an IP entry of router used as switch as first nameserver which i removed.. Now it works just fine..

platd
8th July 2006, 12:04
Excellent :)

edge
8th July 2006, 12:09
Speaking about resolv.conf.

I have the following in it:

search my-domain.tld
nameserver IP_of_dns1_from_my_isp
nameserver IP_of_dns2_from_my_isp


I'm sure the IP's dns1 and dns2_from_my_isp are correct.
What I'm not sure about is the search my-domain.tld!

Should this be in it?

TheRudy
8th July 2006, 12:12
I had it like this:

search
nameserver switch IP
nameserver 1
nameserver 2

changed to:

search server
#nameserver switch IP
nameserver 1
nameserver 2

But if it works, why brake it? :)

falko
8th July 2006, 13:46
What I'm not sure about is the search my-domain.tld!

Should this be in it?
That's ok. Have a look here: http://www.die.net/doc/linux/man/man5/resolv.conf.5.html