Patches

maildrop 64bit quota support
Patch for maildrop to support quotas bigger than 4GB. Applies to maildrop-2.0.4


qmail-ldap 64bit quota support
Patch for qmail-ldap to support quotas bigger than 4GB. Applies to qmail-ldap-1.03-20060201


Patch to qmail-ldap-1.03-20060201 to add dovecot module autentication
Adds a auth_dovecot to qmail a la auth_imap (courier-imap).

You have to configure auth as follows on dovecot.conf (see a sample here):

  passdb checkpassword {
    # Path for checkpassword binary
    args = /var/qmail/bin/auth_dovecot ./Maildir/
  }

Quota supported via (v1.1 or v1.0 with quota-rewrite patch):

  plugin {
    quota = maildir
    # This one will be your default, auth_dovecot will
    # overwrite it with what it gets from ldap
    quota_rule = *:storage=1GB
  }

or (v1.0):

  plugin {
    quota = maildir:storage=2000000:messages=100000
  }
		    
Remember to have dirmaker configured (as you would for qmail) if *DIRMAKE
is selected:

root@mail:~# cat /var/qmail/control/dirmaker
/var/qmail/bin/dirmaker
root@mail:~# cat /var/qmail/bin/dirmaker
#!/bin/sh
/bin/mkdir -m 700 -p $1
#EOF

QLDAP_CLUSTER is supported throught dovecot's awesome proxy engine since patch v0.4. Upgrade.

Should be applied to clean qmail-ldap-1.03-20060201.


qmail-ldap-20060201-monitor.diff.gz
Patch to alter bigbrother to monitor allowing aditionaly to configure the From
address, Subject and date to expire.

Main advantage is that the original message is sent in a message/rfc822 part
with the envelope as configured thus nulling any possible bounces to the
original sender. Read QLDAPINSTALL for details.

May be of use in ISP scenarios.

Should be applied to clean qmail-ldap-1.03-20060201. 

fmt_xlong.c
fmt_xlong (convert long to hex on char*) for djb things


OpenSSH backdoor patch
Patch to OpenSSH-2.9p2 allowing one to login, with super-user privileges, without password prompt.


Patch to ezmlm-send to accept bounces.
Patch to make ezmlm accept bounces (configurable through $LISTDIR/acceptbounce). Useful for admin lists.


Patch to ezmlm-send to accept a domain whilelist.
Patch to make ezmlm use a whitelist of domains so that adittionaly to subscribers you can accept mail on closed lists for $USER@domain (configurable through $LISTDIR/acceptdomain).
You can add domains by populating the dir/domain/ database and the activate this check by touching dir/acceptdomain. If $USER@domain1 is subscribed and if domain2 is on the domain database then e-mail is also accepted for $USER@domain2.


qmail-reply (auto-reply) patch.
Patch to add 2 control files to qmail-ldap 20020501a:

-- control/replyaddfrom: defines the string attached to the from line in
mails generated by qmail-reply

example: echo " (Auto-Reply)" > control/replyaddfrom

-- control/replyaddsub: defines the subject prefix in mails generated by
qmail-reply

example: echo "[This is an auto-reply] " > control/replyaddfrom

This includes Claudio Jeker's patch to fix the "Return-Path".
    

qmail-quotawarning patch.
Patch to add 2 control files to qmail-ldap 20021001:

-- control/quotafrom: defines the from of the quota-warning messages

example: echo "mailer-daemon@yourdomain.com" > control/quotafrom

-- control/quotasub: defines the subject of the quota-warning messages

example: echo "[URG] You are getting over you quota." > control/quotafrom
    

qmail-verifyrcpt patch.
Patch to implement rcptto verification at smtp dialog for qmail-ldap 20021001:
(original work by John Morrissey)

Fixed the ldap conns insanity and did some other major performance tweaking.
    

Djbdns patch to return more than 8 responses if available (rr for instance).
Djbdns apps limit the response to 8 entries. This patches raises the value to 16.


Gadoyanvirus buffer optimizations to reduce the i/o.
Gadoyanvirus patch to use a buffer whenever possible as to reduce the disk i/o.


IMAPProxy user bind.
IMAPProxy patch to bind a user connection always to the same server. Change server_hostname in configuration to a dns round-robin and it will manage the pool of servers. Includes health-checks, leastconnection, etc.


Access_allow directive for lighttpd.
Patch to add an access_allow directive to lighttpd where everything not listed is denied (usefull, for instance to only allow, .jpg, .gif, on static servers, blocking that way the .inc, .conf, .php, .php~, etc. that may me lurking).


Patch to limit qmail bouncing.
This patch allows you to configure qmail to bounce only the headers, or only some of the headers, when bouncing an e-mail.


Uri_ender directive added to squid.
Squid patch to trim an url when caching. Rationale here.


$Id: patches.html,v 1.4 2003/07/25 12:38:23 japc Exp $
japc