diff options
author | Michael Hanselmann <hansmi@gentoo.org> | 2005-01-04 21:35:13 +0000 |
---|---|---|
committer | Michael Hanselmann <hansmi@gentoo.org> | 2005-01-04 21:35:13 +0000 |
commit | 8ebebd492194d8e6c727ed45c604692650086335 (patch) | |
tree | 72d87e63700c1359453e85984a6514b73f65a2d6 /mail-mta/qmail/files | |
parent | Initial import.Needed as a indirect dependency of #63290. (Manifest recommit) (diff) | |
download | gentoo-2-8ebebd492194d8e6c727ed45c604692650086335.tar.gz gentoo-2-8ebebd492194d8e6c727ed45c604692650086335.tar.bz2 gentoo-2-8ebebd492194d8e6c727ed45c604692650086335.zip |
Fixed bugs 67810, 73492
Diffstat (limited to 'mail-mta/qmail/files')
-rw-r--r-- | mail-mta/qmail/files/1.03-r16/double-bounce-trim.patch | 44 | ||||
-rw-r--r-- | mail-mta/qmail/files/run-qmailpop3dlog | 4 | ||||
-rw-r--r-- | mail-mta/qmail/files/run-qmailqmqpdlog | 4 | ||||
-rw-r--r-- | mail-mta/qmail/files/run-qmailqmtpdlog | 4 | ||||
-rw-r--r-- | mail-mta/qmail/files/run-qmailsendlog | 4 | ||||
-rw-r--r-- | mail-mta/qmail/files/run-qmailsmtpdlog | 4 |
6 files changed, 55 insertions, 9 deletions
diff --git a/mail-mta/qmail/files/1.03-r16/double-bounce-trim.patch b/mail-mta/qmail/files/1.03-r16/double-bounce-trim.patch new file mode 100644 index 000000000000..ad434bb150e2 --- /dev/null +++ b/mail-mta/qmail/files/1.03-r16/double-bounce-trim.patch @@ -0,0 +1,44 @@ +If you don't want doublebounces to hit your queue a second time +(because you have, say, ten million mailboxes and as much legitimate +email traffic and more spam), the following patch will immediately +discard bouncing bounces. Note that doublebounceto must start with a +blank line; that is, it must have one newline in it. A totally empty +file means "use the default of 'posthamster'". + +This version was rewritten by Charles Cazabon from my original patch +to include a man page, turn the patch around in the right direction, +and emit its own message for the logfile. + +Apply this patch as so: + +cd /usr/local/src/qmail-1.03 +patch <doublebounce-trim.patch + +diff -urN qmail-1.03.orig/qmail-send.9 qmail-1.03.nodoublebounce/qmail-send.9 +--- qmail-1.03.orig/qmail-send.9 Mon Jun 15 04:53:16 1998 ++++ qmail-1.03.nodoublebounce/qmail-send.9 Tue Sep 9 12:59:04 2003 +@@ -115,6 +115,10 @@ + (If that bounces, + .B qmail-send + gives up.) ++As a special case, if the first line of ++.IR doublebounceto ++is blank (contains a single linefeed), qmail-send will not queue ++the double-bounce at all. + .TP 5 + .I envnoathost + Presumed domain name for addresses without @ signs. +diff -urN qmail-1.03.orig/qmail-send.c qmail-1.03.nodoublebounce/qmail-send.c +--- qmail-1.03.orig/qmail-send.c Mon Jun 15 04:53:16 1998 ++++ qmail-1.03.nodoublebounce/qmail-send.c Tue Sep 9 13:02:43 2003 +@@ -683,6 +683,8 @@ + } + if (str_equal(sender.s,"#@[]")) + log3("triple bounce: discarding ",fn2.s,"\n"); ++ else if (!*sender.s && *doublebounceto.s == '@') ++ log3("double bounce: discarding ",fn2.s,"\n"); + else + { + if (qmail_open(&qqt) == -1) + +--9jxsPFA5p3P2qPhR-- diff --git a/mail-mta/qmail/files/run-qmailpop3dlog b/mail-mta/qmail/files/run-qmailpop3dlog index 9e25905177eb..8046922bcc87 100644 --- a/mail-mta/qmail/files/run-qmailpop3dlog +++ b/mail-mta/qmail/files/run-qmailpop3dlog @@ -1,6 +1,6 @@ #!/bin/bash # Gentoo Startup script for qmail's POP3 daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailpop3dlog,v 1.3 2005/01/03 20:55:10 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailpop3dlog,v 1.4 2005/01/04 21:35:13 hansmi Exp $ SERVICE=pop3 source /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} +eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/qmail/files/run-qmailqmqpdlog b/mail-mta/qmail/files/run-qmailqmqpdlog index 2bcef3188e2a..dc95016b886a 100644 --- a/mail-mta/qmail/files/run-qmailqmqpdlog +++ b/mail-mta/qmail/files/run-qmailqmqpdlog @@ -1,6 +1,6 @@ #!/bin/bash # Gentoo Startup script for qmail's QMQP daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailqmqpdlog,v 1.3 2005/01/03 20:55:10 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailqmqpdlog,v 1.4 2005/01/04 21:35:13 hansmi Exp $ SERVICE=qmqp source /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} +eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/qmail/files/run-qmailqmtpdlog b/mail-mta/qmail/files/run-qmailqmtpdlog index a27490ac960f..a08cd232782e 100644 --- a/mail-mta/qmail/files/run-qmailqmtpdlog +++ b/mail-mta/qmail/files/run-qmailqmtpdlog @@ -1,6 +1,6 @@ #!/bin/bash # Gentoo Startup script for qmail's QMTP daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailqmtpdlog,v 1.3 2005/01/03 20:55:10 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailqmtpdlog,v 1.4 2005/01/04 21:35:13 hansmi Exp $ SERVICE=qmtp source /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} +eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/qmail/files/run-qmailsendlog b/mail-mta/qmail/files/run-qmailsendlog index f1604c936a5c..a4d5379fd1c3 100644 --- a/mail-mta/qmail/files/run-qmailsendlog +++ b/mail-mta/qmail/files/run-qmailsendlog @@ -1,4 +1,6 @@ #!/bin/bash +# Gentoo Startup script for qmail's send daemon (logging) +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailsendlog,v 1.3 2005/01/04 21:35:13 hansmi Exp $ SERVICE=send source /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} +eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/qmail/files/run-qmailsmtpdlog b/mail-mta/qmail/files/run-qmailsmtpdlog index 2af080fabe31..1a0056bcb87e 100644 --- a/mail-mta/qmail/files/run-qmailsmtpdlog +++ b/mail-mta/qmail/files/run-qmailsmtpdlog @@ -1,6 +1,6 @@ #!/bin/bash # Gentoo Startup script for qmail's SMTP daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailsmtpdlog,v 1.3 2005/01/03 20:55:10 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/run-qmailsmtpdlog,v 1.4 2005/01/04 21:35:13 hansmi Exp $ SERVICE=smtp source /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} +eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} |