Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45782 Details for
Bug 67810
request to add 2 patches to the qmail-1.03 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
double-bounce-trim patch plus comments and instructions at beginning
doublebounce-trim.patch (text/plain), 1.62 KB, created by
Chuck
on 2004-12-11 16:20:13 UTC
(
hide
)
Description:
double-bounce-trim patch plus comments and instructions at beginning
Filename:
MIME Type:
Creator:
Chuck
Created:
2004-12-11 16:20:13 UTC
Size:
1.62 KB
patch
obsolete
>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--
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 67810
: 45782