Home Forums OS X Server and Client Discussion Mail telnet smptd port 25 delay about 50 seconds

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #359679
    mac93
    Participant

    Hi,

    I implemented amavisd/clamav/spamassassin on mac os x server(Xserve dual G5), after running ok for a while, I found out the client connection to server’s smptd port 25 begin to delay a long time. If I restart postfix and amavisd, it will solve this problem temparily, but after running for a while, the problem comes again. whether is this postfix or amavisd or mac os x related problem?. The Lookupd program alwasy takes about 80% of my cpu usage, is this lookupd problem?

    Thanks

    #359685
    mac93
    Participant

    I use nslookup to do dns lookup on my server, it responds very quickly. As I unserstand, Amavisd process the email after postfix smtpd accepted email from smtp client, it shouldn’t be Amavisd problem, right? I never experience such problem before I implemented Amavisd. I use “postconf | grep dns”, there is one line “disable_dns_lookups = no”, should I disable dns lookup?

    #359689
    mac93
    Participant

    I do not have reverse entries DNS entries for my clients, even if I manually put one client host name in server’s /etc/hosts file, smtp from the client still delays. on my system, it seems lookupd has always been a problem, sometime when I run workgroup manager, it hanging there, I have to kill -HUP lookupd, then workgroup manger stop hanging

    #359772
    mac93
    Participant

    Hi
    I solved the problem, it turns out that the smtpd connection exceeded my maxmum smtpd processes, the clients has to wait new smtpd sessions. I adjusted the maxmum smtpd processes in master.cf and turn off "smtpd_error_sleep_time", the delay problem reduced within 20 seconds

    #359796
    mac93
    Participant

    lately, server are mail bombed by spamer

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed