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?
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?
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
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
Comments are closed