sending email (connect, login) = slow

Discussion in 'Server Operation' started by TheRudy, Jul 7, 2006.

  1. TheRudy

    TheRudy Member

    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.
     
  2. platd

    platd New Member

    dns resolving issues on your lan at a guess :)
     
  3. TheRudy

    TheRudy Member

    heh yeah, i'm missing something..
     
  4. TheRudy

    TheRudy Member

    Fixed..

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

    platd New Member

    Excellent :)
     
  6. edge

    edge Active Member Moderator

    Speaking about resolv.conf.

    I have the following in it:
    Code:
    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?
     
    Last edited: Jul 8, 2006
  7. TheRudy

    TheRudy Member

    I had it like this:

    Code:
    search
    nameserver switch IP
    nameserver 1
    nameserver 2
    changed to:

    Code:
    search server
    #nameserver switch IP
    nameserver 1
    nameserver 2
    But if it works, why brake it? :)
     
  8. falko

    falko Super Moderator Howtoforge Staff

Share This Page