Bug#921821: exim4: fails to send mail, timeout reached or host closed connection
Lev Lamberov
dogsleg at debian.org
Sat Feb 9 06:24:19 GMT 2019
Package: exim4
Version: 4.92~RC5-1
Severity: important
Dear Maintainer,
I had fully working exim4, but after some update (I'm not sure which
one, but the problem arose few days ago) I started to get Connection
timed out error, say:
2019-02-09 10:59:18 1gsLfa-0006zu-QT <= dogsleg at riseup.net U=dogsleg P=local S=3591
2019-02-09 11:04:19 1gsLfa-0006zu-QT H=mail.riseup.net [198.252.153.22]: SMTP timeout after initial connection: Connection timed out
But still I can delete the message with `exim -Mrm 1gsLfa-0006zu-QT'.
I've tried to update to 4.92~RC5-2 and now I'm getting waiting for a
remote delivery subprocess to finish, which requires killing exim
process even to remove messages from queue, say:
2019-02-09 11:06:23 Start queue run: pid=28694
2019-02-09 11:06:23 1gsLfa-0006zu-QT Spool file is locked (another process is handling this message)
2019-02-09 11:06:23 End queue run: pid=28694
After killing the exim4 process, removing the message and sending
another one, I'm getting the following:
2019-02-09 11:09:07 1gsLp5-0007Z5-1Q <= dogsleg at riseup.net U=dogsleg P=local S=3591
2019-02-09 11:14:08 1gsLp5-0007Z5-1Q H=mail.riseup.net [198.252.153.22]: Remote host closed connection in response to initial connection
And I cannot delete the message:
# exiwhat
29084 delivering 1gsLp5-0007Z5-1Q: waiting for a remote delivery subprocess to finish
29088 delivering 1gsLp5-0007Z5-1Q to mail.riseup.net [198.252.153.254]:465 (l.lamberov at gmail.com)
# exim -Mrm 1gsLp5-0007Z5-1Q
Message 1gsLp5-0007Z5-1Q is locked
I still can telnet to mail.riseup.net:465 and even sending messages
directly works properly.
exim still handles local mail and everything which I'm getting with
fetchmail properly.
With regards,
Lev Lamberov
-- Package-specific info:
Exim version 4.92-RC5 #5 built 31-Jan-2019 18:25:03
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2018
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DANE DKIM DNSSEC Event OCSP PRDR SOCKS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file search path is /etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to generate
# exim configuration macros for the configuration file.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file
dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='riseup.net'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets=''
dc_smarthost='mail.riseup.net::465'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'
mailname:localhost
# /etc/default/exim4
EX4DEF_VERSION=''
# 'combined' - one daemon running queue and listening on SMTP port
# 'no' - no daemon running the queue
# 'separate' - two separate daemons
# 'ppp' - only run queue with /etc/ppp/ip-up.d/exim4.
# 'nodaemon' - no daemon is started at all.
# 'queueonly' - only a queue running daemon is started, no SMTP listener.
# setting this to 'no' will also disable queueruns from /etc/ppp/ip-up.d/exim4
QUEUERUNNER='combined'
# how often should we run the queue
QUEUEINTERVAL='30m'
# options common to quez-runner and listening daemon
COMMONOPTIONS=''
# more options for the daemon/process running the queue (applies to the one
# started in /etc/ppp/ip-up.d/exim4, too.
QUEUERUNNEROPTIONS=''
# special flags given to exim directly after the -q. See exim(8)
QFLAGS=''
# Options for the SMTP listener daemon. By default, it is listening on
# port 25 only. To listen on more ports, it is recommended to use
# -oX 25:587:10025 -oP /run/exim4/exim.pid
SMTPLISTENEROPTIONS=''
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages exim4 depends on:
ii debconf [debconf-2.0] 1.5.70
ii exim4-base 4.92~RC5-1
ii exim4-daemon-light 4.92~RC5-1
exim4 recommends no packages.
exim4 suggests no packages.
-- debconf information:
exim4/drec:
More information about the Pkg-exim4-maintainers
mailing list