Exim mail server slow on sending through SMTP
Posted
by
catalint
on Server Fault
See other posts from Server Fault
or by catalint
Published on 2011-09-13T12:28:13Z
Indexed on
2012/11/07
5:03 UTC
Read the original article
Hit count: 648
It takes about 30 seconds for the server to send me the banner, but initial connection is done instantly
only happens when I am at the office, from home it works fine
at the office I have a rRns set-up for my client ip that it's not working.
Server: Exim, public fixed ip, rDNS, no ports blocked, in a datacenter
Config:
hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff:7f00:0000/8
hostlist senderverifybypass_hosts = net-iplsearch;/etc/senderverifybypasshosts
hostlist skipsmtpcheck_hosts = net-iplsearch;/etc/skipsmtpcheckhosts
hostlist spammeripblocks = net-iplsearch;/etc/spammeripblocks
hostlist backupmx_hosts = lsearch;/etc/backupmxhosts
hostlist trustedmailhosts = lsearch;/etc/trustedmailhosts
domainlist user_domains = ${if exists{/etc/userdomains} {lsearch;/etc/userdomains} fail}
This happens super fast on the server:
30132 ident connection to 89.238.207.49 failed: Connection refused
30132 sender_fullhost = [89.238.207.49]
30132 sender_rcvhost = [89.238.207.49]
30132 Process 30132 is handling incoming connection from [89.238.207.49]
30132 host in host_lookup? no (option unset)
30132 set_process_info: 30132 handling incoming connection from [89.238.207.49]
30132 host in host_reject_connection? no (option unset)
30132 host in sender_unqualified_hosts? no (option unset)
30132 host in recipient_unqualified_hosts? no (option unset)
30132 host in helo_verify_hosts? no (option unset)
30132 host in helo_try_verify_hosts? no (option unset)
30132 host in helo_accept_junk_hosts? yes (matched "*")
30132 using ACL "acl_connect"
30132 processing "accept"
30132 check hosts = +trustedmailhosts
30132 sender host name required, to match against lsearch;/etc/trustedmailhosts
30132 looking up host name for 89.238.207.49
30132 IP address lookup yielded relay.easycomm.ro
Client side
2011.09.14 13:08:13 SMTP (mail.server.ro): Begin execution
2011.09.14 13:08:13 SMTP (mail.server.ro): Port: 465, Secure: SSL, SPA: no
2011.09.14 13:08:13 SMTP (mail.server.ro): Finding host
2011.09.14 13:08:13 SMTP (mail.server.ro): Connecting to host
2011.09.14 13:08:13 SMTP (mail.server.ro): Securing connection
2011.09.14 13:08:13 SMTP (mail.server.ro): Connected to host
---> This is a 1 minute 5 seconds gap
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 220-genius.filipnet.ro ESMTP Exim 4.69 #1 Wed, 14 Sep 2011 13:09:26 +0300
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 220-We do not authorize the use of this system to transport unsolicited,
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 220 and/or bulk e-mail.
2011.09.14 13:09:18 SMTP (mail.server.ro): [tx] EHLO CatalinDell
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 250-genius.filipnet.ro Hello CatalinDell [89.238.207.49]
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 250-SIZE 52428800
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 250-PIPELINING
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 250-AUTH PLAIN LOGIN
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 250 HELP
2011.09.14 13:09:18 SMTP (mail.server.ro): Authorizing to server
2011.09.14 13:09:18 SMTP (mail.server.ro): [tx] AUTH LOGIN
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 334 VXNlcm5hbWU6
2011.09.14 13:09:18 SMTP (mail.server.ro): [tx] dGVzdEBzcG9ydGd1cnUucm8=
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 334 UGFzc3dvcmQ6
2011.09.14 13:09:18 SMTP (mail.server.ro): [tx] *****
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 235 Authentication succeeded
2011.09.14 13:09:18 SMTP (mail.server.ro): Authorized to host
2011.09.14 13:09:18 SMTP (mail.server.ro): Connected to host
2011.09.14 13:09:18 SMTP (mail.server.ro): [tx] MAIL FROM: <*****>
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 250 OK
2011.09.14 13:09:18 SMTP (mail.server.ro): [tx] RCPT TO: <*****>
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 250 Accepted
2011.09.14 13:09:18 SMTP (mail.server.ro): [tx] DATA
2011.09.14 13:09:18 SMTP (mail.server.ro): <rx> 354 Enter message, ending with "." on a line by itself
2011.09.14 13:09:18 SMTP (mail.server.ro): [tx] .
---> This is a 1 minute 10 seconds gap
2011.09.14 13:10:28 SMTP (mail.server.ro): <rx> 250 OK id=1R3mPG-0004T4-7Q
2011.09.14 13:10:28 SMTP (mail.server.ro): End execution
--- Initial info
I've setup an email account on "Windows Live Mail" that comes with Windows 7
Receiving is super fast, but for some reason sending is very slow, I had to increase the outgoing timeout to 3 minutes in order to make it work.
Server software is Exim / Dovecot / cPanel.
Do you have any ideeas why there is a slow sending process?
Thank you!
© Server Fault or respective owner