annotate dnsbl.spec.in @ 321:e172dc10fe24

add dkim white/black listing
author Carl Byington <carl@five-ten-sg.com>
date Sat, 17 Dec 2016 13:47:28 -0800
parents f7c5cfb76e86
children 354b15b8b263
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
1 %define localstatedir /var/lib
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
2
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
3 Summary: Sendmail milter for spam control
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
4 Name: @PACKAGE@
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
5 Version: @VERSION@
242
d8ee4c97b9ab 64 bit fixes for libresolv.a
Carl Byington <carl@five-ten-sg.com>
parents: 241
diff changeset
6 Release: 1%{?dist}
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
7 License: GPLv3+
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
8 Group: System Environment/Daemons
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
9 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
11 URL: http://www.five-ten-sg.com/%{name}/
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
12
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
13 Requires(pre): /usr/sbin/useradd
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
14 Requires(pre): /usr/bin/getent
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
15 Requires(postun): /usr/sbin/userdel
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
16 Requires(post,preun): /sbin/chkconfig
113
a893afee4b80 move to autoconf/automake/docbook
carl
parents: 112
diff changeset
17 Requires(post,preun): /sbin/service
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
18 BuildRequires: sendmail-devel >= 8.12.1
244
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
19 BuildRequires: glibc-devel
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
20 %if 0%{?fedora} >= 14
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
21 BuildRequires: glibc-static
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
22 %endif
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
23 %if 0%{?el6}
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
24 BuildRequires: glibc-static
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
25 %endif
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
26 Requires: sendmail >= 8.12.1
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
27 Requires: sendmail-cf
163
97d7da45fe2a spamassassin changes
carl
parents: 155
diff changeset
28 Requires: spamassassin
221
21037aa3aae5 try to build proper rpm by avoiding auto requires, revert to only libresolv.a
Carl Byington <carl@five-ten-sg.com>
parents: 216
diff changeset
29
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
30
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
31 %description
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
32 We present here a mechanism whereby the backup mail server can use the
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
33 correct set of DNSBLs for each recipient for each message. As a
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
34 side-effect, it gives us the ability to customize the set of DNSBLs on
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
35 a per-recipient basis, so that fred@example.com could use LOCAL and
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
36 the SBL, where all other users @example.com use only the SBL.
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
37
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
38 This milter will also decode (base64, mime, html entity, url
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
39 encodings) and scan for HTTP and HTTPS URLs and bare hostnames in the
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
40 body of the mail. If any of those host names have A or NS records on
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
41 the SBL (or a single configurable DNSBL), the mail will be rejected
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
42 unless previously whitelisted. This milter also counts the number of
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
43 invalid HTML tags, and can reject mail if that count exceeds your
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
44 specified limit.
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
45
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
46 The DNSBL milter reads a text configuration file (dnsbl.conf) on
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
47 startup, and whenever the config file (or any of the referenced
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
48 include files) is changed. The entire configuration file is case
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
49 insensitive.
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
50
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
51
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
52 %prep
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
53 %setup -q
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
54
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
55 %build
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
56 %configure
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
57 make %{?_smp_mflags}
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
58
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
59 %install
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
60 rm -rf $RPM_BUILD_ROOT
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
61 make DESTDIR=$RPM_BUILD_ROOT install
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
62 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
63 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d
207
2d8690ba9693 more changes for packaging, %doc seems to remove the doc directory before copying the files
Carl Byington <carl@five-ten-sg.com>
parents: 206
diff changeset
64 mkdir -p $RPM_BUILD_ROOT/var/run/%{name}
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
65 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/autowhite
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
66 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/.spamassassin
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
67
169
44021d570958 fix pre/post scripts in rpm spec file
carl
parents: 164
diff changeset
68
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
69 %pre
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
70 /usr/bin/getent passwd %{name} >/dev/null || /usr/sbin/useradd -r -d %{_sysconfdir}/%{name} -M -c "%{name} pseudo-user" -s /sbin/nologin %{name} >/dev/null
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
71
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
72
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
73 %post
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
74 /sbin/chkconfig --add %{name}
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
75 echo Remember to edit %{_sysconfdir}/%{name}/%{name}.conf and add the following line to your sendmail.mc:
113
a893afee4b80 move to autoconf/automake/docbook
carl
parents: 112
diff changeset
76 echo "INPUT_MAIL_FILTER(\`dnsbl', \`S=local:/var/run/dnsbl/dnsbl.sock, F=T, T=C:30s;S:5m;R:5m;E:5m')"
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
77 echo
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
78
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
79
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
80 %preun
241
315c53fbbb77 chkconfig -del in %%preun, not %%postun
Carl Byington <carl@five-ten-sg.com>
parents: 236
diff changeset
81 [ $1 = 0 ] && /sbin/service %{name} stop || :
315c53fbbb77 chkconfig -del in %%preun, not %%postun
Carl Byington <carl@five-ten-sg.com>
parents: 236
diff changeset
82 [ $1 = 0 ] && /sbin/chkconfig --del %{name} || :
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
83
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
84
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
85 %postun
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
86 [ $1 = 0 ] && userdel %{name} || :
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
87
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
88
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
89 %clean
211
4db1457cd11a Extend auto-whitelisting when receiving mail even if the auto whitelist is specified in a parent context.
Carl Byington <carl@five-ten-sg.com>
parents: 209
diff changeset
90 rm -rf $RPM_BUILD_ROOT
4db1457cd11a Extend auto-whitelisting when receiving mail even if the auto whitelist is specified in a parent context.
Carl Byington <carl@five-ten-sg.com>
parents: 209
diff changeset
91
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
92
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
93 %files
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
94 %defattr(-,root,root,-)
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
95 %{_sbindir}/*
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
96 %{_mandir}/man1/*
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
97 %{_mandir}/man5/*
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
98 %docdir %{_datadir}/doc/%{name}-%{version}
208
ec5cb59a7368 more changes to properly package html files
Carl Byington <carl@five-ten-sg.com>
parents: 207
diff changeset
99 %{_datadir}/doc/%{name}-%{version}
204
391e4dd074c2 more changes trying to get the pdf documentation to package properly via rpm
Carl Byington <carl@five-ten-sg.com>
parents: 203
diff changeset
100 %config(noreplace) %attr(0750,%{name},root) %{_sysconfdir}/%{name}
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
101 /etc/rc.d/init.d/%{name}
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
102 %dir %attr(0750,%{name},root) /var/run/%{name}
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
103
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
104
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
105 %changelog
321
e172dc10fe24 add dkim white/black listing
Carl Byington <carl@five-ten-sg.com>
parents: 316
diff changeset
106 * Sat Dec 17 2016 Carl Byington <carl@five-ten-sg.com> - 6.48-1
e172dc10fe24 add dkim white/black listing
Carl Byington <carl@five-ten-sg.com>
parents: 316
diff changeset
107 - allow dkim whitelisting.
e172dc10fe24 add dkim white/black listing
Carl Byington <carl@five-ten-sg.com>
parents: 316
diff changeset
108
316
f7c5cfb76e86 better smtp verify logging
Carl Byington <carl@five-ten-sg.com>
parents: 312
diff changeset
109 * Wed Sep 21 2016 Carl Byington <carl@five-ten-sg.com> - 6.47-1
f7c5cfb76e86 better smtp verify logging
Carl Byington <carl@five-ten-sg.com>
parents: 312
diff changeset
110 - Better smtp verify logging
f7c5cfb76e86 better smtp verify logging
Carl Byington <carl@five-ten-sg.com>
parents: 312
diff changeset
111
312
9c71faaae576 enable smtp verify logging
Carl Byington <carl@five-ten-sg.com>
parents: 305
diff changeset
112 * Mon Sep 19 2016 Carl Byington <carl@five-ten-sg.com> - 6.46-1
9c71faaae576 enable smtp verify logging
Carl Byington <carl@five-ten-sg.com>
parents: 305
diff changeset
113 - Enable smtp verify logging
9c71faaae576 enable smtp verify logging
Carl Byington <carl@five-ten-sg.com>
parents: 305
diff changeset
114
305
1f40b1b0ad31 add bitcoin donation address
Carl Byington <carl@five-ten-sg.com>
parents: 302
diff changeset
115 * Thu Apr 09 2015 Carl Byington <carl@five-ten-sg.com> - 6.45-1
1f40b1b0ad31 add bitcoin donation address
Carl Byington <carl@five-ten-sg.com>
parents: 302
diff changeset
116 - Add bitcoin donation address
1f40b1b0ad31 add bitcoin donation address
Carl Byington <carl@five-ten-sg.com>
parents: 302
diff changeset
117
302
52430ef70440 Generic regex now matches against the reverse dns PTR value
Carl Byington <carl@five-ten-sg.com>
parents: 294
diff changeset
118 * Mon Oct 13 2014 Carl Byington <carl@five-ten-sg.com> - 6.44-1
52430ef70440 Generic regex now matches against the reverse dns PTR value
Carl Byington <carl@five-ten-sg.com>
parents: 294
diff changeset
119 - Generic regex now matches against the reverse dns PTR value
52430ef70440 Generic regex now matches against the reverse dns PTR value
Carl Byington <carl@five-ten-sg.com>
parents: 294
diff changeset
120
294
7fb5911fe3a4 allow broken SRS0+ rather than the correct SRS0= tag
Carl Byington <carl@five-ten-sg.com>
parents: 291
diff changeset
121 * Fri Jul 18 2014 Carl Byington <carl@five-ten-sg.com> - 6.43-1
7fb5911fe3a4 allow broken SRS0+ rather than the correct SRS0= tag
Carl Byington <carl@five-ten-sg.com>
parents: 291
diff changeset
122 - Allow broken SRS0+ rather than the correct SRS0= tag.
7fb5911fe3a4 allow broken SRS0+ rather than the correct SRS0= tag
Carl Byington <carl@five-ten-sg.com>
parents: 291
diff changeset
123
291
9f0d9fcb58dd Never add auto-whitelist entries for outgoing mail from localhost
Carl Byington <carl@five-ten-sg.com>
parents: 290
diff changeset
124 * Sat Jun 28 2014 Carl Byington <carl@five-ten-sg.com> - 6.42-1
9f0d9fcb58dd Never add auto-whitelist entries for outgoing mail from localhost
Carl Byington <carl@five-ten-sg.com>
parents: 290
diff changeset
125 - Never add auto-whitelist entries for outgoing mail from localhost.
9f0d9fcb58dd Never add auto-whitelist entries for outgoing mail from localhost
Carl Byington <carl@five-ten-sg.com>
parents: 290
diff changeset
126
290
bb69fdc3acaa Unique ip connection limits only apply to authenticated connections
Carl Byington <carl@five-ten-sg.com>
parents: 286
diff changeset
127 * Fri Mar 21 2014 Carl Byington <carl@five-ten-sg.com> - 6.41-1
bb69fdc3acaa Unique ip connection limits only apply to authenticated connections
Carl Byington <carl@five-ten-sg.com>
parents: 286
diff changeset
128 - Unique ip connection limits only apply to authenticated connections.
bb69fdc3acaa Unique ip connection limits only apply to authenticated connections
Carl Byington <carl@five-ten-sg.com>
parents: 286
diff changeset
129
286
9bd5388bf469 Fix possible segfault in mlfi_connect, hostaddr might be null
Carl Byington <carl@five-ten-sg.com>
parents: 284
diff changeset
130 * Wed Feb 05 2014 Carl Byington <carl@five-ten-sg.com> - 6.40-1
9bd5388bf469 Fix possible segfault in mlfi_connect, hostaddr might be null
Carl Byington <carl@five-ten-sg.com>
parents: 284
diff changeset
131 - Fix possible segfault in mlfi_connect, hostaddr might be null.
9bd5388bf469 Fix possible segfault in mlfi_connect, hostaddr might be null
Carl Byington <carl@five-ten-sg.com>
parents: 284
diff changeset
132
284
896b9393d3f0 Fix segfault caused by freeing unallocated memory
Carl Byington <carl@five-ten-sg.com>
parents: 282
diff changeset
133 * Tue Dec 31 2013 Carl Byington <carl@five-ten-sg.com> - 6.39-1
896b9393d3f0 Fix segfault caused by freeing unallocated memory
Carl Byington <carl@five-ten-sg.com>
parents: 282
diff changeset
134 - Fix segfault caused by freeing unallocated memory.
896b9393d3f0 Fix segfault caused by freeing unallocated memory
Carl Byington <carl@five-ten-sg.com>
parents: 282
diff changeset
135
282
e276180647ab Activate check for unique ip connection limits
Carl Byington <carl@five-ten-sg.com>
parents: 279
diff changeset
136 * Tue Dec 24 2013 Carl Byington <carl@five-ten-sg.com> - 6.38-1
e276180647ab Activate check for unique ip connection limits
Carl Byington <carl@five-ten-sg.com>
parents: 279
diff changeset
137 - Activate check for unique ip connection limits.
e276180647ab Activate check for unique ip connection limits
Carl Byington <carl@five-ten-sg.com>
parents: 279
diff changeset
138
279
3d894d09c198 add limits on unique ip addresses per hour per authenticated user
Carl Byington <carl@five-ten-sg.com>
parents: 272
diff changeset
139 * Tue Dec 17 2013 Carl Byington <carl@five-ten-sg.com> - 6.37-1
3d894d09c198 add limits on unique ip addresses per hour per authenticated user
Carl Byington <carl@five-ten-sg.com>
parents: 272
diff changeset
140 - Add unique ip connection limits per authenticated id or email address.
3d894d09c198 add limits on unique ip addresses per hour per authenticated user
Carl Byington <carl@five-ten-sg.com>
parents: 272
diff changeset
141
272
a99b6c1f5f67 Code cleanup, increase minimum hostname length for uribl checking
Carl Byington <carl@five-ten-sg.com>
parents: 270
diff changeset
142 * Mon Sep 09 2013 Carl Byington <carl@five-ten-sg.com> - 6.36-1
a99b6c1f5f67 Code cleanup, increase minimum hostname length for uribl checking
Carl Byington <carl@five-ten-sg.com>
parents: 270
diff changeset
143 - Code cleanup, increase minimum hostname length for uribl checking.
a99b6c1f5f67 Code cleanup, increase minimum hostname length for uribl checking
Carl Byington <carl@five-ten-sg.com>
parents: 270
diff changeset
144
270
f92f24950bd3 Use mozilla prefix list for tld checking, Enable surbl/uribl/dbl rhs lists
Carl Byington <carl@five-ten-sg.com>
parents: 268
diff changeset
145 * Mon Sep 09 2013 Carl Byington <carl@five-ten-sg.com> - 6.35-1
f92f24950bd3 Use mozilla prefix list for tld checking, Enable surbl/uribl/dbl rhs lists
Carl Byington <carl@five-ten-sg.com>
parents: 268
diff changeset
146 - Use mozilla prefix list for tld checking. Enable surbl/uribl/dbl
f92f24950bd3 Use mozilla prefix list for tld checking, Enable surbl/uribl/dbl rhs lists
Carl Byington <carl@five-ten-sg.com>
parents: 268
diff changeset
147 rhs lists.
f92f24950bd3 Use mozilla prefix list for tld checking, Enable surbl/uribl/dbl rhs lists
Carl Byington <carl@five-ten-sg.com>
parents: 268
diff changeset
148
268
f941563c2a95 Add require_rdns checking
Carl Byington <carl@five-ten-sg.com>
parents: 264
diff changeset
149 * Wed May 22 2013 Carl Byington <carl@five-ten-sg.com> - 6.34-1
f941563c2a95 Add require_rdns checking
Carl Byington <carl@five-ten-sg.com>
parents: 264
diff changeset
150 - Add require_rdns checking.
f941563c2a95 Add require_rdns checking
Carl Byington <carl@five-ten-sg.com>
parents: 264
diff changeset
151
264
56f55547b120 fix unauthenticated rate limit bug for empty mail from; move unauthenticated rate limit checks after spam filtering
Carl Byington <carl@five-ten-sg.com>
parents: 260
diff changeset
152 * Sat Jul 21 2012 Carl Byington <carl@five-ten-sg.com> - 6.33-1
56f55547b120 fix unauthenticated rate limit bug for empty mail from; move unauthenticated rate limit checks after spam filtering
Carl Byington <carl@five-ten-sg.com>
parents: 260
diff changeset
153 - Fix unauthenticated rate limit bug for empty mail from.
56f55547b120 fix unauthenticated rate limit bug for empty mail from; move unauthenticated rate limit checks after spam filtering
Carl Byington <carl@five-ten-sg.com>
parents: 260
diff changeset
154 Move unauthenticated rate limit checks after spam filtering.
56f55547b120 fix unauthenticated rate limit bug for empty mail from; move unauthenticated rate limit checks after spam filtering
Carl Byington <carl@five-ten-sg.com>
parents: 260
diff changeset
155
260
7c05043a220e add recipient rate limits by email from address or domain
Carl Byington <carl@five-ten-sg.com>
parents: 257
diff changeset
156 * Sat Jul 21 2012 Carl Byington <carl@five-ten-sg.com> - 6.32-1
7c05043a220e add recipient rate limits by email from address or domain
Carl Byington <carl@five-ten-sg.com>
parents: 257
diff changeset
157 - Allow rate limiting for unauthentication connections by mail
7c05043a220e add recipient rate limits by email from address or domain
Carl Byington <carl@five-ten-sg.com>
parents: 257
diff changeset
158 from address or domain.
7c05043a220e add recipient rate limits by email from address or domain
Carl Byington <carl@five-ten-sg.com>
parents: 257
diff changeset
159
257
d11b529ce9c5 Fix uribl lookups on client dns name, need to strip the ip address in brackets
Carl Byington <carl@five-ten-sg.com>
parents: 255
diff changeset
160 * Sun Jul 01 2012 Carl Byington <carl@five-ten-sg.com> - 6.31-1
d11b529ce9c5 Fix uribl lookups on client dns name, need to strip the ip address in brackets
Carl Byington <carl@five-ten-sg.com>
parents: 255
diff changeset
161 - Fix uribl lookups on client dns name, need to strip the ip
d11b529ce9c5 Fix uribl lookups on client dns name, need to strip the ip address in brackets
Carl Byington <carl@five-ten-sg.com>
parents: 255
diff changeset
162 address in brackets.
d11b529ce9c5 Fix uribl lookups on client dns name, need to strip the ip address in brackets
Carl Byington <carl@five-ten-sg.com>
parents: 255
diff changeset
163
255
d6d5c50b9278 Allow dnswl_list and dnsbl_list to be empty, to override lists specified in the ancestor contexts. Add daily recipient limits as a multiple of the hourly limits.
Carl Byington <carl@five-ten-sg.com>
parents: 249
diff changeset
164 * Mon Apr 09 2012 Carl Byington <carl@five-ten-sg.com> - 6.30-1
d6d5c50b9278 Allow dnswl_list and dnsbl_list to be empty, to override lists specified in the ancestor contexts. Add daily recipient limits as a multiple of the hourly limits.
Carl Byington <carl@five-ten-sg.com>
parents: 249
diff changeset
165 - Allow dnswl_list and dnsbl_list to be empty, to override lists
d6d5c50b9278 Allow dnswl_list and dnsbl_list to be empty, to override lists specified in the ancestor contexts. Add daily recipient limits as a multiple of the hourly limits.
Carl Byington <carl@five-ten-sg.com>
parents: 249
diff changeset
166 specified in the ancestor contexts.
d6d5c50b9278 Allow dnswl_list and dnsbl_list to be empty, to override lists specified in the ancestor contexts. Add daily recipient limits as a multiple of the hourly limits.
Carl Byington <carl@five-ten-sg.com>
parents: 249
diff changeset
167 - Add daily recipient limits as a multiple of the hourly limits.
d6d5c50b9278 Allow dnswl_list and dnsbl_list to be empty, to override lists specified in the ancestor contexts. Add daily recipient limits as a multiple of the hourly limits.
Carl Byington <carl@five-ten-sg.com>
parents: 249
diff changeset
168
d6d5c50b9278 Allow dnswl_list and dnsbl_list to be empty, to override lists specified in the ancestor contexts. Add daily recipient limits as a multiple of the hourly limits.
Carl Byington <carl@five-ten-sg.com>
parents: 249
diff changeset
169 * Sun Apr 08 2012 Carl Byington <carl@five-ten-sg.com> - 6.29-1
249
15bf4f68a0b2 Add dnswl support
Carl Byington <carl@five-ten-sg.com>
parents: 246
diff changeset
170 - Add dnswl support.
15bf4f68a0b2 Add dnswl support
Carl Byington <carl@five-ten-sg.com>
parents: 246
diff changeset
171
246
8b0f16abee53 Add prvs decoding to envelope addresses
Carl Byington <carl@five-ten-sg.com>
parents: 244
diff changeset
172 * Fri Sep 30 2011 Carl Byington <carl@five-ten-sg.com> - 6.28-1
8b0f16abee53 Add prvs decoding to envelope addresses
Carl Byington <carl@five-ten-sg.com>
parents: 244
diff changeset
173 - Add prvs decoding to envelope addresses.
8b0f16abee53 Add prvs decoding to envelope addresses
Carl Byington <carl@five-ten-sg.com>
parents: 244
diff changeset
174
244
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
175 * Mon Aug 15 2011 Carl Byington <carl@five-ten-sg.com> - 6.27-1
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
176 - const correctness fixes from new gcc
ef97c7cd4a6e const correctness fixes from new gcc, libresolv.a moved to glibc-static on newer distributions
Carl Byington <carl@five-ten-sg.com>
parents: 242
diff changeset
177
242
d8ee4c97b9ab 64 bit fixes for libresolv.a
Carl Byington <carl@five-ten-sg.com>
parents: 241
diff changeset
178 * Fri Nov 19 2010 Carl Byington <carl@five-ten-sg.com> - 6.26-1
d8ee4c97b9ab 64 bit fixes for libresolv.a
Carl Byington <carl@five-ten-sg.com>
parents: 241
diff changeset
179 - 64bit fixes for libresolv.a
d8ee4c97b9ab 64 bit fixes for libresolv.a
Carl Byington <carl@five-ten-sg.com>
parents: 241
diff changeset
180
241
315c53fbbb77 chkconfig -del in %%preun, not %%postun
Carl Byington <carl@five-ten-sg.com>
parents: 236
diff changeset
181 * Thu Jul 22 2010 Carl Byington <carl@five-ten-sg.com> - 6.25-2
315c53fbbb77 chkconfig -del in %%preun, not %%postun
Carl Byington <carl@five-ten-sg.com>
parents: 236
diff changeset
182 - chkconfig -del in %%preun, not %%postun
315c53fbbb77 chkconfig -del in %%preun, not %%postun
Carl Byington <carl@five-ten-sg.com>
parents: 236
diff changeset
183
236
c0d2e99c0a1d Add surbl checks on the smtp helo value, client reverse dns name, and mail from domain name
Carl Byington <carl@five-ten-sg.com>
parents: 235
diff changeset
184 * Tue Sep 29 2009 Carl Byington <carl@five-ten-sg.com> - 6.25-1
c0d2e99c0a1d Add surbl checks on the smtp helo value, client reverse dns name, and mail from domain name
Carl Byington <carl@five-ten-sg.com>
parents: 235
diff changeset
185 - Add surbl checks on the smtp helo value, client reverse dns name,
c0d2e99c0a1d Add surbl checks on the smtp helo value, client reverse dns name, and mail from domain name
Carl Byington <carl@five-ten-sg.com>
parents: 235
diff changeset
186 and mail from domain name.
c0d2e99c0a1d Add surbl checks on the smtp helo value, client reverse dns name, and mail from domain name
Carl Byington <carl@five-ten-sg.com>
parents: 235
diff changeset
187
235
e6c66640f6f9 Add SRS decoding to envelope addresses
Carl Byington <carl@five-ten-sg.com>
parents: 233
diff changeset
188 * Tue Jun 09 2009 Carl Byington <carl@five-ten-sg.com> - 6.24-1
e6c66640f6f9 Add SRS decoding to envelope addresses
Carl Byington <carl@five-ten-sg.com>
parents: 233
diff changeset
189 - Add SRS decoding to envelope addresses.
e6c66640f6f9 Add SRS decoding to envelope addresses
Carl Byington <carl@five-ten-sg.com>
parents: 233
diff changeset
190
233
5c3e9bf45bb5 Add whitelisting by regex expression filtering.
Carl Byington <carl@five-ten-sg.com>
parents: 231
diff changeset
191 * Mon May 25 2009 Carl Byington <carl@five-ten-sg.com> - 6.23-1
5c3e9bf45bb5 Add whitelisting by regex expression filtering.
Carl Byington <carl@five-ten-sg.com>
parents: 231
diff changeset
192 - Add whitelisting by regex expression filtering.
5c3e9bf45bb5 Add whitelisting by regex expression filtering.
Carl Byington <carl@five-ten-sg.com>
parents: 231
diff changeset
193
230
ad38575e98ca Prevent auto whitelisting due to outgoing multipart/report delivery notifications.
Carl Byington <carl@five-ten-sg.com>
parents: 227
diff changeset
194 * Fri May 08 2009 Carl Byington <carl@five-ten-sg.com> - 6.22-1
ad38575e98ca Prevent auto whitelisting due to outgoing multipart/report delivery notifications.
Carl Byington <carl@five-ten-sg.com>
parents: 227
diff changeset
195 - Prevent auto whitelisting due to outgoing multipart/report
ad38575e98ca Prevent auto whitelisting due to outgoing multipart/report delivery notifications.
Carl Byington <carl@five-ten-sg.com>
parents: 227
diff changeset
196 delivery notifications.
231
4d6bd04d93fa Fix memory leak in suppressed auto whitelisting.
Carl Byington <carl@five-ten-sg.com>
parents: 230
diff changeset
197 - Fix memory leak in suppressed auto whitelisting.
230
ad38575e98ca Prevent auto whitelisting due to outgoing multipart/report delivery notifications.
Carl Byington <carl@five-ten-sg.com>
parents: 227
diff changeset
198
227
3fee608becbc Fixes to compile on old systems without memrchr or string::clear().
Carl Byington <carl@five-ten-sg.com>
parents: 223
diff changeset
199 * Sat Jan 03 2009 Carl Byington <carl@five-ten-sg.com> - 6.21-1
3fee608becbc Fixes to compile on old systems without memrchr or string::clear().
Carl Byington <carl@five-ten-sg.com>
parents: 223
diff changeset
200 - Fixes to compile on old systems without memrchr or string::clear().
3fee608becbc Fixes to compile on old systems without memrchr or string::clear().
Carl Byington <carl@five-ten-sg.com>
parents: 223
diff changeset
201 - Fix bug in spamassassin interface trying to clear a string with string::empty().
3fee608becbc Fixes to compile on old systems without memrchr or string::clear().
Carl Byington <carl@five-ten-sg.com>
parents: 223
diff changeset
202
216
784030ac71f1 Never whitelist self addressed mail. Changes for Fedora 10 and const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 214
diff changeset
203 * Sat Dec 27 2008 Carl Byington <carl@five-ten-sg.com> - 6.20-1
784030ac71f1 Never whitelist self addressed mail. Changes for Fedora 10 and const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 214
diff changeset
204 - Never whitelist self addressed mail.
784030ac71f1 Never whitelist self addressed mail. Changes for Fedora 10 and const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 214
diff changeset
205 - Fixes to compile on Fedora 10 and for const correctness.
784030ac71f1 Never whitelist self addressed mail. Changes for Fedora 10 and const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 214
diff changeset
206
214
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 211
diff changeset
207 * Tue Jun 10 2008 Carl Byington <carl@five-ten-sg.com> - 6.19-1
216
784030ac71f1 Never whitelist self addressed mail. Changes for Fedora 10 and const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 214
diff changeset
208 - Fixes to compile on Fedora 9 and for const correctness.
214
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 211
diff changeset
209
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 211
diff changeset
210 * Wed Mar 05 2008 Carl Byington <carl@five-ten-sg.com> - 6.18-1
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 211
diff changeset
211 - Extend auto-whitelisting when receiving mail even if the auto
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 211
diff changeset
212 whitelist is specified in a parent context.
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 211
diff changeset
213
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 211
diff changeset
214 * Tue Mar 04 2008 Carl Byington <carl@five-ten-sg.com> - 6.17-1
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
215 - changes for Fedora packaging guidelines
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
216
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
217 * Thu Aug 30 2007 Carl Byington <carl@five-ten-sg.com> - 6.07
169
44021d570958 fix pre/post scripts in rpm spec file
carl
parents: 164
diff changeset
218 - Add generic rdns filtering, fix pre/post scripts
44021d570958 fix pre/post scripts in rpm spec file
carl
parents: 164
diff changeset
219
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
220 * Sun Aug 26 2007 Carl Byington <carl@five-ten-sg.com> - 6.04
163
97d7da45fe2a spamassassin changes
carl
parents: 155
diff changeset
221 - require spamassassin
97d7da45fe2a spamassassin changes
carl
parents: 155
diff changeset
222
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
223 * Sat Jul 07 2007 Carl Byington <carl@five-ten-sg.com> - 6.01
153
8d7c439bb6fa add auto whitelisting
carl
parents: 152
diff changeset
224 - GPL3, auto whitelisting
8d7c439bb6fa add auto whitelisting
carl
parents: 152
diff changeset
225
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
226 * Wed Aug 02 2006 Carl Byington <carl@five-ten-sg.com> - 5.20
135
8e813497582e fix rpm scripts
carl
parents: 133
diff changeset
227 - http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html help with postun
8e813497582e fix rpm scripts
carl
parents: 133
diff changeset
228
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
229 * Thu Mar 16 2006 Carl Byington <carl@five-ten-sg.com> - 5.16
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
230 - use %{name} in more places
124
ea6f9c812faa put hostname in smtp message for uribl style lookups
carl
parents: 117
diff changeset
231
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
232 * Fri Mar 10 2006 Carl Byington <carl@five-ten-sg.com> - 5.13
117
aa07452e641b uribl patch from Jeff Evans <jeffe@tricab.com>
carl
parents: 113
diff changeset
233 - remove redundant entry in files section
aa07452e641b uribl patch from Jeff Evans <jeffe@tricab.com>
carl
parents: 113
diff changeset
234
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
235 * Sun Dec 18 2005 Carl Byington <carl@five-ten-sg.com> - 5.11
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
236 - use autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 102
diff changeset
237
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
238 * Tue Jan 03 2005 Carl Byington <carl@five-ten-sg.com> - 4.0
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
239 - added hosts-ignore conf file
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
240 - see RELEASE_NOTES
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
241
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
242 * Thu Jul 15 2004 John Gunkel <antispam@boing.ca> - 1.3
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
243 - patch to rc file no longer needed
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
244 - see RELEASE_NOTES
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
245
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
246 * Mon Jul 05 2004 John Gunkel <jgunkel@palliser.ca> - 1.2
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
247 - Fixed some typos
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
248 - removed patch into separate file
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
249 - added config migration as suggested by Carl
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
250 - Added reminder to edit sendmail.mc
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
251
203
92a5c866bdfa Verify from/to pairs even if they might be explicitly whitelisted.
Carl Byington <carl@five-ten-sg.com>
parents: 180
diff changeset
252 * Wed Jun 30 2004 John Gunkel <jgunkel@palliser.ca> - 1.1
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
253 - Initial revision of spec file. Need to add a better description, docs and a sendmail.mc message