mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
spamass-milter generates "Received" header emulating MTA before passing e-mail to the spamassassin. i
However, generated header is wrong and can cause problems when parsing such message. http://savannah.nongnu.org/bugs/index.php?17178 http://cvs.savannah.gnu.org/viewvc/spamass-milt/spamass-milter.cpp?root=spamass-milt&r1=1.90&r2=1.91 PR: ports/1435600 Submitted by: Marko Njezic <mrmax063@maxempire.com>
This commit is contained in:
parent
1e7a0635fd
commit
d822b0671b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249504
14
mail/spamass-milter/files/patch-spamass-milter.cpp
Normal file
14
mail/spamass-milter/files/patch-spamass-milter.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
--- spamass-milter.cpp 2006-03-23 22:41:36.000000000 +0100
|
||||
+++ spamass-milter.cpp 2010-02-04 14:46:31.000000000 +0100
|
||||
@@ -1002,9 +1002,9 @@
|
||||
|
||||
assassin->output((string)
|
||||
"Received: from "+macro_s+" ("+macro__+")\r\n\t"+
|
||||
- "by "+macro_j+"("+macro_v+"/"+macro_Z+") with "+macro_r+" id "+macro_i+"\r\n\t"+
|
||||
+ "by "+macro_j+" ("+macro_v+"/"+macro_Z+") with "+macro_r+" id "+macro_i+";\r\n\t"+
|
||||
macro_b+"\r\n\t"+
|
||||
- "(envelope-from "+assassin->from()+"\r\n");
|
||||
+ "(envelope-from "+assassin->from()+")\r\n");
|
||||
|
||||
} else
|
||||
assassin->output((string)"X-Envelope-To: "+envrcpt[0]+"\r\n");
|
Loading…
Reference in New Issue
Block a user