Package: cyrus-imapd / 3.0.8-4

Metadata

Package Version Patches format
cyrus-imapd 3.0.8-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Disable runpath checking.patch | (download)

configure.ac | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 disable runpath checking

@DPATCH@

0002 Shutdown and close sockets cleanly.patch | (download)

imap/fud.c | 9 9 + 0 - 0 !
imap/imapd.c | 4 4 + 0 - 0 !
imap/lmtpd.c | 3 3 + 0 - 0 !
imap/pop3d.c | 3 3 + 0 - 0 !
4 files changed, 19 insertions(+)

 shutdown and close sockets cleanly

Cleanly shutdown and close sockets, this is supposed to allow for better
TCP teardown on the remote end, and reduces CLOSE_WAIT time.

This patch was written 8 years ago, it is possible that nowadays nothing
will benefit from a shutdown() right before close().  The commit log
from eight years ago mentions that SHUT_RD should be upgraded to
SHUT_RDWR where possible, but only after verification that this is not
going to cause problems (e.g. by discarding data still on flight to the
remote).

Also, it is possible that new daemons and utils in Cyrus 2.2 and 2.3 may
need similar patches.

0003 Fix syslog prefix.patch | (download)

imap/global.c | 7 6 + 1 - 0 !
ptclient/ptexpire.c | 2 1 + 1 - 0 !
ptclient/test.c | 2 1 + 1 - 0 !
ptclient/test2.c | 2 1 + 1 - 0 !
4 files changed, 9 insertions(+), 4 deletions(-)

 fix syslog prefix

Make sure all programs log (to syslog) with "cyrus/<program>" as the
log prefix.

@DPATCH@

0004 silence erroneous RLIMIT_NUMFDS related log messages.patch | (download)

master/master.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 silence erroneous rlimit_numfds-related log messages

Fixes setrlimit(RLIMIT_NUMFDS) handling to be less obnoxious and
not barf error messages to syslog incorrectly, nor log nonsense
if getrlimit(RLIMIT_NUMFDS) failed.

0005 Updates calling of the perl interpreter to what we e.patch | (download)

perl/imap/examples/auditmbox.pl | 2 1 + 1 - 0 !
perl/imap/examples/imapcollate.pl | 2 1 + 1 - 0 !
perl/imap/examples/imapdu.pl | 2 1 + 1 - 0 !
perl/sieve/scripts/installsieve.pl | 4 1 + 3 - 0 !
perl/sieve/scripts/sieveshell.pl | 4 1 + 3 - 0 !
snmp/snmpgen | 20 1 + 19 - 0 !
tools/config2header | 20 1 + 19 - 0 !
tools/config2man | 20 1 + 19 - 0 !
tools/masssievec | 24 3 + 21 - 0 !
tools/mkimap | 20 1 + 19 - 0 !
tools/mknewsgroups | 25 3 + 22 - 0 !
tools/rehash | 2 1 + 1 - 0 !
tools/translatesieve | 4 1 + 3 - 0 !
13 files changed, 17 insertions(+), 132 deletions(-)

 updates calling of the perl interpreter to what we expect in debian

More precisely: Call /usr/bin/perl directly instead of using some
shell magic to locate perl and run it.

NOTE: only some script use the "-w" or even the "-T" flag for perl.
This should be the default actually.

0006 Fix paths on Debian in tools rehash.patch | (download)

tools/rehash | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix paths on debian in tools/rehash


0007 Adds some enhancements to sieveshell and fixes some .patch | (download)

perl/imap/IMAP/Shell.pm | 4 2 + 2 - 0 !
perl/sieve/scripts/sieveshell.pl | 55 43 + 12 - 0 !
2 files changed, 45 insertions(+), 14 deletions(-)

 adds some enhancements to sieveshell and fixes some paths.


0008 Accept invalid From header in email.patch | (download)

imap/message.c | 17 14 + 3 - 0 !
1 file changed, 14 insertions(+), 3 deletions(-)

 accept invalid from: header in email

This stops Cyrus from ruining everything all by itself; Your MTA is
the point where the validity of headers should be checked. For more
information on such and so forth, see (amongst others):

    http://www.postfix.org/header_checks.5.html

If one chooses to allow slightly invalid headers in the MTA, then
Cyrus should not raise problems.

0009 Normalize the authentication ID.patch | (download)

imap/global.c | 2 2 + 0 - 0 !
lib/auth_unix.c | 18 18 + 0 - 0 !
lib/imapoptions | 5 5 + 0 - 0 !
lib/libcyr_cfg.c | 4 4 + 0 - 0 !
lib/libcyr_cfg.h | 2 2 + 0 - 0 !
5 files changed, 31 insertions(+)

 normalize the authentication id

By normalize, it is intended that;

    1) Authentication IDs all can be lowercased for more accurate
       comparison without being volatile to, say, user error, and
    2) Any leading or trailing blank space can be stripped

0010 Fix PATH_MAX on GNU Hurd.patch | (download)

imap/pop3d.c | 4 4 + 0 - 0 !
master/master.c | 4 4 + 0 - 0 !
master/service.c | 4 4 + 0 - 0 !
3 files changed, 12 insertions(+)

 fix path_max on gnu/hurd


0011 Fix extra libpci in SNMP_LIBS.patch | (download)

cmulocal/ucdsnmp.m4 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix extra libpci in snmp_libs


0012 Use UnicodeData.txt from system.patch | (download)

Makefile.am | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use unicodedata.txt from system


0013 Re add perl2rst tool from cyrus imapd 3.0 upstream b.patch | (download)

tools/perl2rst | 37 37 + 0 - 0 !
1 file changed, 37 insertions(+)

 re-add perl2rst tool from cyrus-imapd-3.0 upstream branch


0014 ipurge dont crash on partial name matches.patch | (download)

imap/ipurge.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] ipurge: don't crash on partial name matches

Fixes #2524

0015 conversations update the G keys even if the message has no threadid.patch | (download)

imap/conversations.c | 23 15 + 8 - 0 !
1 file changed, 15 insertions(+), 8 deletions(-)

 [patch] conversations: update the g keys even if the message has no
 threadid


0016 conversations actually need to update GUID counts after calculating CID.patch | (download)

imap/conversations.c | 44 20 + 24 - 0 !
1 file changed, 20 insertions(+), 24 deletions(-)

 [patch] conversations: actually,
 need to update GUID counts after calculating CID


0017 cert update.patch | (download)

cunit/cacert.pem | 82 18 + 64 - 0 !
cunit/cert.pem | 124 74 + 50 - 0 !
cunit/key.pem | 43 28 + 15 - 0 !
3 files changed, 120 insertions(+), 129 deletions(-)

 cert-update


0018 backend.testc reset server authenticated state between connections.patch | (download)

cunit/backend.testc | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] backend.testc: reset server authenticated state between
 connections


0019 support clamav 0.101.0.patch | (download)

imap/cyr_virusscan.c | 8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)

 support-clamav-0.101.0

Support for clamav-0.101.0