Bug#727531: kmail: timeout after sending mail instead of disconnect
Package: kmail
Version: 4:4.10.5-2
Severity: normal
Currently kmail on my system will keep a TCP connection to the mail server
open after a message is sent, it stays open until the mail server times out
and disconnects it.
I believe that kmail should send a "quit" command to end the session. Keeping
the connection open serves no purpose (no great effort or time is taken to
establish it) and acts as a minor DoS attack on the server. For example most
of the mail servers I run have a maxproc limit for the SMTP service that is
significantly smaller than the number of users. If all users on such a
network ran kmail and most of them tried to send email within the 5 minute
timeout period (which happens at about 5PM in some of the offices where I do
sysadmin work) then some users would be unable to connect.
-- System Information:
Debian Release: jessie/sid
APT prefers stable
APT policy: (700, 'stable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kmail depends on:
ii kde-runtime 4:4.10.5-1
ii kdepim-runtime 4:4.10.5-2
ii kdepimlibs-kio-plugins 4:4.10.5-1
ii libakonadi-contact4 4:4.10.5-1
ii libakonadi-kde4 4:4.10.5-1
ii libakonadi-kmime4 4:4.10.5-1
ii libakonadiprotocolinternals1 1.9.2-2+b1
ii libc6 2.17-93
ii libcalendarsupport4 4:4.10.5-2
ii libgcc1 1:4.8.2-1
ii libgpgme++2 4:4.10.5-1
ii libincidenceeditorsng4 4:4.10.5-2
ii libkabc4 4:4.10.5-1
ii libkcalcore4 4:4.10.5-1
ii libkcalutils4 4:4.10.5-1
ii libkcmutils4 4:4.10.5-1+b1
ii libkdecore5 4:4.10.5-1+b1
ii libkdepim4 4:4.10.5-2
ii libkdeui5 4:4.10.5-1+b1
ii libkio5 4:4.10.5-1+b1
ii libkleo4 4:4.10.5-2
ii libkmime4 4:4.10.5-1
ii libknotifyconfig4 4:4.10.5-1+b1
ii libkontactinterface4 4:4.10.5-1
ii libkparts4 4:4.10.5-1+b1
ii libkpgp4 4:4.10.5-2
ii libkpimidentities4 4:4.10.5-1
ii libkpimtextedit4 4:4.10.5-1
ii libkpimutils4 4:4.10.5-1
ii libkprintutils4 4:4.10.5-1+b1
ii libksieveui4 4:4.10.5-2
ii libktnef4 4:4.10.5-1
ii libmailcommon4 4:4.10.5-2
ii libmailimporter4 4:4.10.5-2
ii libmailtransport4 4:4.10.5-1
ii libmessagecomposer4 4:4.10.5-2
ii libmessagecore4 4:4.10.5-2
ii libmessagelist4 4:4.10.5-2
ii libmessageviewer4 4:4.10.5-2
ii libnepomukcore4 4:4.10.5-1+b1
ii libpimcommon4 4:4.10.5-2
ii libqt4-dbus 4:4.8.5+git121-g2a9ea11+dfsg1-2
ii libqt4-network 4:4.8.5+git121-g2a9ea11+dfsg1-2
ii libqt4-xml 4:4.8.5+git121-g2a9ea11+dfsg1-2
ii libqtcore4 4:4.8.5+git121-g2a9ea11+dfsg1-2
ii libqtgui4 4:4.8.5+git121-g2a9ea11+dfsg1-2
ii libqtwebkit4 2.2.1-6
ii libsolid4 4:4.10.5-1+b1
ii libsoprano4 2.9.2+dfsg.1-4
ii libstdc++6 4.8.2-1
ii libtemplateparser4 4:4.10.5-2
ii perl 5.18.1-4
Versions of packages kmail recommends:
ii gnupg-agent 2.0.22-1
ii gnupg2 2.0.22-1
ii pinentry-gtk2 [pinentry-x11] 0.8.1-1
Versions of packages kmail suggests:
pn clamav | f-prot-installer <none>
ii kaddressbook 4:4.10.5-2
ii kleopatra 4:4.10.5-2
ii procmail 3.22-21
pn spamassassin | bogofilter | annoyance-filter | spambayes | bsfi <none>
-- no debconf information
Reply to: