Very Slow SMTPD

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rogmoreno

Very Slow SMTPD

Postby rogmoreno » Tue Mar 13, 2007 12:43 am

hi, i have a problem whit SMTPD, its very slow to respond a client (intranet) more than 15 seconds.... but pop and imap are very fast 1 or 2 seconds.

this problem appear today and no have answer for that. because no erros in logs

smtpd.cfg

EXTENSIONS=AUTH,DSN,8BITMIME
GREETING=%F %P %D


SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept 200.74.154.227
RELAY accept midominio.com.co
RELAY reject ALL
RELAY Log_Reject ALL


RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*


ANONYMOUS Log_Reject ALL
SUBMIT log_reject DNSBL,bl.spamcop.net,ALL
SMTPFILTER=TRUE


CATCH user* postmaster@midominio.com.co
CATCH @midominio.com.co postmaster@midominio.com.co
CATCH user*@midominio.com.co postnaster@midominio.com.co

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Tue Mar 13, 2007 10:14 am

This is indicative of a DNS lookup problem.

When a client connects to the SMTP Relay, the SMTP Relay will do a reverse lookup on the IP address to obtain the name for it's anti-spam checks.

If your DNS servers are slow to respond, this delay the initial 220 response back to the client.

Cheers

Dave

rogmoreno

Very Slow SMTP

Postby rogmoreno » Tue Mar 13, 2007 11:26 am

dkelly wrote:This is indicative of a DNS lookup problem.

When a client connects to the SMTP Relay, the SMTP Relay will do a reverse lookup on the IP address to obtain the name for it's anti-spam checks.

If your DNS servers are slow to respond, this delay the initial 220 response back to the client.

Cheers

Dave


tnks, but i have another q! when run

lsof -i tcp:25

show sendmail process in less to 1 seccond but the omsmtpd appear like over 20 seconds


sendmail 3049 root 4u IPv4 6269 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 3335 root 4u IPv4 7009 TCP 172.30.1.9:smtp (LISTEN)
omsmtpd 3335 root 5u IPv4 7010 TCP bochica.com.co:smtp (LISTEN)
omsmtpd 3335 root 11u IPv4 816397 TCP bochica.com.co:smtp->215-75-109-203.static.iqara.net:2756 (ESTABLISHED)
omsmtpd 3335 root 12u IPv4 806128 TCP bochica.com.co:smtp->202-61-153-75.rev.dft.net.au:4572 (CLOSE_WAIT)
omsmtpd 3335 root 15u IPv4 804318 TCP bochica.com.co:smtp->bgmail4.impsat.net.co:39775 (ESTABLISHED)
omsmtpd 3335 root 18u IPv4 816886 TCP bochica.com.co:smtp->196.207.196.169:4732 (ESTABLISHED)
omsmtpd 3335 root 19u IPv4 817100 TCP bochica.com.co:smtp->172.30.1.96:1092 (ESTABLISHED)
omsmtpd 3335 root 22u IPv4 817624 TCP bochica.com.co:smtp->e176107154.adsl.alicedsl.de:2875 (CLOSE_WAIT)
omsmtpd 3335 root 23u IPv4 817098 TCP bochica.com.co:smtp->84.4.144.46:2510 (ESTABLISHED)
omsmtpd 3335 root 24u IPv4 817626 TCP bochica.com.co:smtp->172.30.1.123:1059 (ESTABLISHED)
omsmtpd 3335 root 31w IPv4 814909 TCP bochica..com.co:smtp->dsl.static.85-105-27847.ttnet.net.tr:2205 (ESTABLISHED)
omsmtpd 14606 root 4u IPv4 7009 TCP 172.30.1.9:smtp (LISTEN)
omsmtpd 14606 root 5u IPv4 7010 TCP bochica.com.co:smtp (LISTEN)
omsmtpd 14606 root 10u IPv4 625259 TCP bochica..com.co:smtp->125.23.96.148:4210 (ESTABLISHED)
omsmtpd 14606 root 17u IPv4 614132 TCP bochica.com.co:smtp->59.93.73.71:2435 (ESTABLISHED)
omsmtpd 14606 root 24u IPv4 738372 TCP bochica..com.co:smtp->200.74.154.231:42793 (ESTABLISHED)
omsmtpd 14606 root 29u IPv4 762084 TCP bochica..com.co:smtp->84.36.27.158:25551 (ESTABLISHED)
omsmtpd 14606 root 30u IPv4 689176 TCP bochica.com.co:smtp->58.69.187.114:44259 (ESTABLISHED)

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Tue Mar 13, 2007 11:31 am

Again, that's indicative of DNS issues.

lsof has to convert the IP addresses for the connections into names.

Cheers

Dave

rogmoreno

Solved

Postby rogmoreno » Tue Mar 13, 2007 12:55 pm

Tnks.....


Return to “Scalix Server”



Who is online

Users browsing this forum: Bing [Bot] and 11 guests

cron