/[smeserver]/rpms/qmail/sme9/qmail-inject-null-sender.patch
ViewVC logotype

Contents of /rpms/qmail/sme9/qmail-inject-null-sender.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Dec 5 15:52:16 2016 UTC (7 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: qmail-1_03-23_el6_sme, qmail-1_03-20_el6_sme, qmail-1_03-22_el6_sme, qmail-1_03-24_el6_sme, qmail-1_03-21_el6_sme, qmail-1_03-18_el6_sme, qmail-1_03-19_el6_sme, HEAD
* Mon Dec 5 2016 Daniel Berteaud <daniel@firewall-services.com> 1.03-18
- Consider literal <> as null sender [SME: 9883]

1 diff -Nur qmail-1.03/qmail-inject.c qmail-1.03_bz9884/qmail-inject.c
2 --- qmail-1.03/qmail-inject.c 1998-06-15 12:53:16.000000000 +0200
3 +++ qmail-1.03_bz9884/qmail-inject.c 2016-12-05 16:47:13.607016769 +0100
4 @@ -269,6 +269,10 @@
5 token822_alloc *addr;
6 {
7 if (!addr->len) return; /* don't rewrite <> */
8 + if (addr->len == 1 && str_equal(addr->t[0].s,"<>")) {
9 + addr->len = 0;
10 + return;
11 + }
12 if (addr->len >= 2)
13 if (addr->t[1].type == TOKEN822_AT)
14 if (addr->t[0].type == TOKEN822_LITERAL)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed