1 |
%define bootstrap 0 |
2 |
%{?_without_bootstrap: %global bootstrap 0} |
3 |
%{?_with_bootstrap: %global bootstrap 1} |
4 |
|
5 |
%define fname Mail-SpamAssassin |
6 |
|
7 |
Summary: A spam filter for email which can be invoked from mail delivery agents |
8 |
Name: spamassassin |
9 |
Version: 3.3.2 |
10 |
Release: %mkrel 1 |
11 |
License: Apache License |
12 |
Group: Networking/Mail |
13 |
URL: http://spamassassin.apache.org/ |
14 |
Source0: http://www.apache.org/dist/spamassassin/source/%{fname}-%{version}.tar.gz |
15 |
#Source1: http://www.apache.org/dist/spamassassin/source/%{fname}-%{version}.tar.bz2.asc |
16 |
#svn co https://svn.apache.org/repos/asf/spamassassin/branches/3.3 spamassassin-3.3.x |
17 |
Source2: spamd.init |
18 |
Source3: spamd.sysconfig |
19 |
Source4: spamassassin-default.rc |
20 |
Source5: spamassassin-spamc.rc |
21 |
Source6: sa-update.cron |
22 |
Source7: spamd.logrotate |
23 |
Source8: spamd.conf |
24 |
# (fc) 2.60-5mdk don't use version dependent perl call in #! |
25 |
Patch0: spamassassin-3.2.0-fixbang.patch |
26 |
Patch1: Mail-SpamAssassin-3.1.5-no_spamcop.diff |
27 |
Requires(post): rpm-helper |
28 |
Requires(preun): rpm-helper |
29 |
BuildRequires: gnupg |
30 |
BuildRequires: openssl-devel |
31 |
BuildRequires: perl-Apache-Test |
32 |
BuildRequires: perl(Archive::Tar) |
33 |
BuildRequires: perl-DB_File |
34 |
BuildRequires: perl-devel |
35 |
BuildRequires: perl(Digest::SHA) |
36 |
BuildRequires: perl-Encode-Detect |
37 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 |
38 |
BuildRequires: perl-HTML-Parser |
39 |
BuildRequires: perl(IO::Socket::INET6) |
40 |
BuildRequires: perl-IO-Socket-SSL |
41 |
BuildRequires: perl-IO-Zlib |
42 |
BuildRequires: perl-IP-Country |
43 |
BuildRequires: perl-libwww-perl |
44 |
BuildRequires: perl-Mail-DKIM >= 0.37 |
45 |
BuildRequires: perl-Mail-SPF |
46 |
BuildRequires: perl-Net-DNS |
47 |
BuildRequires: perl-Net-Ident |
48 |
BuildRequires: perl-Socket6 |
49 |
BuildRequires: perl-Sys-Hostname-Long |
50 |
BuildRequires: perl-Time-HiRes |
51 |
BuildRequires: perl-version |
52 |
BuildRequires: re2c |
53 |
Requires: perl-Mail-SpamAssassin >= %{version}-%{release} |
54 |
Requires: perl(Archive::Tar) |
55 |
Requires: perl-DB_File |
56 |
Requires: perl(NetAddr::IP) |
57 |
Requires: perl-Net-DNS |
58 |
Requires: perl(Time::HiRes) |
59 |
%if ! %bootstrap |
60 |
Requires: spamassassin-rules >= 3.3.0 |
61 |
%endif |
62 |
# (oe) these are not required, but if not it cripples the SpamAssassin functionalities |
63 |
%define opt_deps gnupg perl(Digest::SHA) perl-Encode-Detect perl-IO-Socket-SSL perl-IO-Zlib perl-IP-Country perl-libwww-perl perl-Mail-DKIM >= 0.37 perl-Mail-SPF perl-Net-Ident perl-Sys-Hostname-Long perl-version |
64 |
Suggests: %{opt_deps} |
65 |
|
66 |
|
67 |
%description |
68 |
SpamAssassin provides you with a way to reduce if not completely eliminate |
69 |
Unsolicited Commercial Email (SPAM) from your incoming email. It can |
70 |
be invoked by a MDA such as sendmail or postfix, or can be called from |
71 |
a procmail script, .forward file, etc. It uses a genetic-algorithm |
72 |
evolved scoring system to identify messages which look spammy, then |
73 |
adds headers to the message so they can be filtered by the user's mail |
74 |
reading software. This distribution includes the spamd/spamc components |
75 |
which create a server that considerably speeds processing of mail. |
76 |
|
77 |
SpamAssassin also includes support for reporting spam messages |
78 |
automatically, and/or manually, to collaborative filtering databases such |
79 |
as Vipul's Razor, DCC or pyzor. |
80 |
Install perl-Razor-Agent package to get Vipul's Razor support. |
81 |
Install dcc package to get Distributed Checksum Clearinghouse (DCC) support. |
82 |
Install pyzor package to get Pyzor support. |
83 |
|
84 |
To enable spamassassin, if you are receiving mail locally, simply add |
85 |
this line to your ~/.procmailrc: |
86 |
INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc |
87 |
|
88 |
To filter spam for all users, add that line to /etc/procmailrc |
89 |
(creating if necessary). |
90 |
|
91 |
%package sa-compile |
92 |
Summary: Compiles SpamAssassin rulesets into native perl code |
93 |
Group: Networking/Mail |
94 |
Requires: gcc make |
95 |
Requires: perl-devel |
96 |
Requires: re2c |
97 |
|
98 |
%description sa-compile |
99 |
sa-compile uses re2c to compile the site-wide parts of the SpamAssassin |
100 |
ruleset. No part of user_prefs or any files included from user_prefs can be |
101 |
built into the compiled set. This compiled set is then used by the |
102 |
"Mail::SpamAssassin::Plugin::Rule2XSBody" plugin to speed up SpamAssassin's |
103 |
operation, where possible, and when that plugin is loaded. re2c can match |
104 |
strings much faster than perl code, by constructing a DFA to match many simple |
105 |
strings in parallel, and compiling that to native object code. Not all |
106 |
SpamAssassin rules are amenable to this conversion, however. |
107 |
|
108 |
%package tools |
109 |
Summary: Miscleanous tools for SpamAssassin |
110 |
Group: Networking/Mail |
111 |
Requires: perl-Mail-SpamAssassin = %{version} |
112 |
|
113 |
%description tools |
114 |
Miscleanous tools from various authors, distributed with SpamAssassin. |
115 |
See /usr/share/doc/spamassassin-tools-*/. |
116 |
|
117 |
%package spamd |
118 |
Summary: Daemonized version of SpamAssassin |
119 |
Group: System/Servers |
120 |
%if ! %bootstrap |
121 |
Requires(post): rpm-helper spamassassin-rules >= 3.3.0 |
122 |
%endif |
123 |
Requires(preun): rpm-helper |
124 |
Requires: spamassassin = %{version} |
125 |
|
126 |
%description spamd |
127 |
The purpose of this program is to provide a daemonized version of the |
128 |
spamassassin executable. The goal is improving throughput performance |
129 |
for automated mail checking. |
130 |
|
131 |
This is intended to be used alongside "spamc", a fast, low-overhead C |
132 |
client program. |
133 |
|
134 |
%package spamc |
135 |
Summary: A client for spamd |
136 |
Group: Networking/Mail |
137 |
|
138 |
%description spamc |
139 |
Spamc is the client half of the spamc/spamd pair. It should be used in |
140 |
place of "spamassassin" in scripts to process mail. It will read the |
141 |
mail from STDIN, and spool it to its connection to spamd, then read |
142 |
the result back and print it to STDOUT. Spamc has extremely low |
143 |
overhead in loading, so it should be much faster to load than the |
144 |
whole spamassassin program. |
145 |
|
146 |
%package -n perl-%{fname} |
147 |
Summary: SpamAssassin e-mail filter Perl modules |
148 |
Group: Development/Perl |
149 |
Requires: perl(HTML::Parser) |
150 |
|
151 |
%description -n perl-%{fname} |
152 |
Mail::SpamAssassin is a module to identify spam using text analysis and |
153 |
several internet-based realtime blacklists. Using its rule base, it uses a |
154 |
wide range of heuristic tests on mail headers and body text to identify |
155 |
``spam'', also known as unsolicited commercial email. Once identified, the |
156 |
mail can then be optionally tagged as spam for later filtering using the |
157 |
user's own mail user-agent application. |
158 |
|
159 |
%package -n perl-%{fname}-Spamd |
160 |
Summary: A mod_perl2 module implementing the spamd protocol |
161 |
Group: Development/Perl |
162 |
Requires: apache-mod_perl |
163 |
|
164 |
%description -n perl-%{fname}-Spamd |
165 |
This distribution contains a mod_perl2 module, implementing the spamd protocol |
166 |
from the SpamAssassin (http://spamassassin.apache.org/) project in Apache2. |
167 |
It's mostly compatible with the original spamd. |
168 |
|
169 |
%prep |
170 |
|
171 |
%setup -q -n %{fname}-%{version} |
172 |
%patch0 -p0 -b .fixbang |
173 |
%patch1 -p0 |
174 |
|
175 |
cp %{SOURCE2} spamd.init |
176 |
cp %{SOURCE3} spamd.sysconfig |
177 |
cp %{SOURCE6} sa-update.cron |
178 |
cp %{SOURCE7} spamd.logrotate |
179 |
cp %{SOURCE8} spamd.conf |
180 |
|
181 |
# svn cleansing... |
182 |
for i in `find . -type d -name .svn`; do |
183 |
if [ -e "$i" ]; then rm -rf $i; fi >&/dev/null |
184 |
done |
185 |
|
186 |
%build |
187 |
|
188 |
%{__perl} \ |
189 |
Makefile.PL \ |
190 |
INSTALLDIRS=vendor \ |
191 |
SYSCONFDIR=%{_sysconfdir} \ |
192 |
DATADIR=%{_datadir}/spamassassin \ |
193 |
ENABLE_SSL=yes \ |
194 |
RUN_NET_TESTS=no < /dev/null |
195 |
|
196 |
%make OPTIMIZE="%{optflags}" LDFLAGS="%{ldflags}" |
197 |
|
198 |
pushd spamd-apache2 |
199 |
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null |
200 |
%make |
201 |
popd |
202 |
|
203 |
%check |
204 |
#cat >> t/config.dist << EOF |
205 |
#run_net_tests=y |
206 |
#run_spamd_prefork_stress_test=y |
207 |
#EOF |
208 |
export LANG=C |
209 |
export LC_ALL=C |
210 |
export LANGUAGE=C |
211 |
# useless and broken test case |
212 |
rm -f t/make_install.t |
213 |
# requires polish locales?!? |
214 |
rm -f t/lang_pl_tests.t |
215 |
# do not work |
216 |
# error: Can't locate auto/Net/SSLeay/CTX_v2_new.al |
217 |
rm -f t/spamd_ssl_tls.t |
218 |
rm -f t/spamd_ssl_v2.t |
219 |
|
220 |
make FULLPERL="%{_bindir}/perl" test |
221 |
|
222 |
%install |
223 |
|
224 |
%makeinstall_std |
225 |
|
226 |
pushd spamd-apache2 |
227 |
%makeinstall_std |
228 |
popd |
229 |
|
230 |
install -d %{buildroot}%{_sysconfdir}/mail/%{name}/sa-update-keys |
231 |
install -d %{buildroot}%{_sysconfdir}/sysconfig |
232 |
install -d %{buildroot}%{_sysconfdir}/cron.daily |
233 |
install -d %{buildroot}%{_sysconfdir}/logrotate.d |
234 |
install -d %{buildroot}%{_initrddir} |
235 |
install -d %{buildroot}/var/spool/spamassassin |
236 |
install -d %{buildroot}/var/log/spamassassin |
237 |
install -d %{buildroot}/var/lib/spamassassin |
238 |
install -d %{buildroot}%{_sysconfdir}/httpd/conf/webapps.d |
239 |
|
240 |
cat << EOF >> %{buildroot}%{_sysconfdir}/mail/%{name}/v330.pre |
241 |
|
242 |
# Mail::SpamAssassin::Plugin::AWL - Normalize scores via auto-whitelist |
243 |
loadplugin Mail::SpamAssassin::Plugin::AWL |
244 |
EOF |
245 |
|
246 |
cat << EOF >> %{buildroot}%{_sysconfdir}/mail/%{name}/local.cf |
247 |
required_hits 5 |
248 |
rewrite_header Subject [SPAM] |
249 |
report_safe 0 |
250 |
ifplugin Mail::SpamAssassin::Plugin::AWL |
251 |
auto_whitelist_path /var/spool/spamassassin/auto-whitelist |
252 |
auto_whitelist_file_mode 0666 |
253 |
endif # Mail::SpamAssassin::Plugin::AWL |
254 |
EOF |
255 |
|
256 |
install -m0755 spamd.init %{buildroot}%{_initrddir}/spamd |
257 |
install -m0644 spamd.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/spamd |
258 |
install -m0755 sa-update.cron %{buildroot}%{_sysconfdir}/cron.daily/sa-update |
259 |
install -m0644 spamd.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/spamd |
260 |
install -m0644 spamd.conf %{buildroot}/%{_sysconfdir}/httpd/conf/webapps.d/spamd.conf |
261 |
|
262 |
install -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/mail/spamassassin/ |
263 |
install -m0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/mail/spamassassin/ |
264 |
|
265 |
# bork bork |
266 |
install -m0644 rules/*.pre %{buildroot}%{_sysconfdir}/mail/%{name}/ |
267 |
|
268 |
# cleanup |
269 |
rm -f %{buildroot}%{_bindir}/apache-spamd.pl |
270 |
rm -f %{buildroot}%{_mandir}/man1/apache-spamd.pl.1* |
271 |
|
272 |
# these are not meant to be relased |
273 |
rm -f %{buildroot}%{perl_vendorlib}/Mail/SpamAssassin/Plugin/P595Body.pm |
274 |
rm -f %{buildroot}%{perl_vendorlib}/Mail/SpamAssassin/Plugin/RabinKarpBody.pm |
275 |
|
276 |
%post |
277 |
[ -f %{_sysconfdir}/spamassassin.cf ] && %{__mv} %{_sysconfdir}/spamassassin.cf %{_sysconfdir}/mail/spamassassin/migrated.cf || true |
278 |
[ -f %{_sysconfdir}/mail/spamassassin.cf ] && /bin/mv %{_sysconfdir}/mail/spamassassin.cf %{_sysconfdir}/mail/spamassassin/migrated.cf || true |
279 |
|
280 |
|
281 |
%post spamd |
282 |
|
283 |
|
284 |
# -a and --auto-whitelist options were removed from 3.0.0 |
285 |
# prevent service startup failure |
286 |
perl -p -i -e 's/(["\s]-\w+)a/$1/ ; s/(["\s]-)a(\w+)/$1$2/ ; s/(["\s])-a\b/$1/' /etc/sysconfig/spamd |
287 |
perl -p -i -e 's/ --auto-whitelist//' /etc/sysconfig/spamd |
288 |
|
289 |
# fix permissions |
290 |
if [ -f %{_sysconfdir}/mail/%{name}/local.cf ]; then |
291 |
|
292 |
auto_whitelist_path="`grep "^auto_whitelist_path" %{_sysconfdir}/mail/%{name}/local.cf | awk '{ print $2 }'`" |
293 |
auto_whitelist_file_mode="`grep "^auto_whitelist_file_mode" %{_sysconfdir}/mail/%{name}/local.cf | awk '{ print $2 }'`" |
294 |
|
295 |
if [ "${auto_whitelist_path}" == "/var/spool/%{name}" ]; then |
296 |
echo "Correcting \"auto_whitelist_path\" (#27424) in the %{_sysconfdir}/mail/%{name}/local.cf file..." |
297 |
perl -pi -e "s|/var/spool/%{name}\b|/var/spool/%{name}/auto-whitelist|g" %{_sysconfdir}/mail/%{name}/local.cf |
298 |
auto_whitelist_path="/var/spool/%{name}/auto-whitelist" |
299 |
fi |
300 |
|
301 |
if ! [ -z "${auto_whitelist_path}" ]; then |
302 |
touch ${auto_whitelist_path} |
303 |
if [ -z "${auto_whitelist_file_mode}" ]; then |
304 |
auto_whitelist_file_mode="0666" |
305 |
fi |
306 |
chmod ${auto_whitelist_file_mode} ${auto_whitelist_path} |
307 |
fi |
308 |
|
309 |
fi |
310 |
# Need to run sa-update otherwise the spamd will not start until a cron job completes |
311 |
echo "need to run sa-update" |
312 |
/usr/bin/sa-update -v |
313 |
|
314 |
%_post_service spamd |
315 |
|
316 |
%preun spamd |
317 |
%_preun_service spamd |
318 |
|
319 |
%files |
320 |
%doc README Changes sample-*.txt procmailrc.example INSTALL TRADEMARK |
321 |
%doc CREDITS UPGRADE USAGE |
322 |
%dir %{_sysconfdir}/mail/%{name} |
323 |
%dir %attr(0700,root,root) %{_sysconfdir}/mail/%{name}/sa-update-keys |
324 |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/mail/%{name}/*.cf |
325 |
%config(noreplace) %{_sysconfdir}/mail/%{name}/*.pre |
326 |
%config(noreplace) %{_sysconfdir}/mail/%{name}/spamassassin-default.rc |
327 |
%dir %attr(0777,root,root) /var/spool/spamassassin |
328 |
%dir /var/lib/spamassassin |
329 |
%attr(0755,root,root) %{_bindir}/sa-awl |
330 |
%attr(0755,root,root) %{_bindir}/sa-check_spamd |
331 |
%attr(0755,root,root) %{_bindir}/sa-learn |
332 |
%attr(0755,root,root) %{_bindir}/sa-update |
333 |
%attr(0755,root,root) %{_bindir}/spamassassin |
334 |
%{_mandir}/man1/sa-awl.1* |
335 |
%{_mandir}/man1/sa-learn.1* |
336 |
%{_mandir}/man1/spamassassin.1* |
337 |
%{_mandir}/man1/sa-update.1* |
338 |
%{_mandir}/man1/spamassassin-run.1* |
339 |
%{_mandir}/man1/sa-awl.1* |
340 |
%{_datadir}/spamassassin |
341 |
|
342 |
%files sa-compile |
343 |
%defattr(-,root,root) |
344 |
%attr(0755,root,root) %{_bindir}/sa-compile |
345 |
%{_mandir}/man1/sa-compile.1* |
346 |
|
347 |
%files tools |
348 |
%defattr(-,root,root) |
349 |
%doc sql ldap |
350 |
|
351 |
%files spamd |
352 |
%defattr(-,root,root) |
353 |
%doc spamd/README* spamd/PROTOCOL |
354 |
%attr(0700,root,root) %{_sysconfdir}/cron.daily/sa-update |
355 |
%attr(0755,root,root) %{_initrddir}/spamd |
356 |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/spamd |
357 |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/logrotate.d/spamd |
358 |
%attr(0755,root,root) %{_bindir}/spamd |
359 |
%{_mandir}/man1/spamd.1* |
360 |
%dir %attr(0755,root,root) /var/log/spamassassin |
361 |
|
362 |
%files spamc |
363 |
%defattr(-,root,root) |
364 |
%config(noreplace) %{_sysconfdir}/mail/%{name}/spamassassin-spamc.rc |
365 |
%attr(0755,root,root) %{_bindir}/spamc |
366 |
%{_mandir}/man1/spamc.1* |
367 |
|
368 |
%files -n perl-%{fname} |
369 |
%defattr(644,root,root,755) |
370 |
%dir %{perl_vendorlib}/Mail/SpamAssassin |
371 |
%{perl_vendorlib}/Mail/SpamAssassin/*.pm |
372 |
%{perl_vendorlib}/Mail/SpamAssassin.pm |
373 |
%{perl_vendorlib}/spamassassin-run.pod |
374 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Bayes |
375 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/BayesStore |
376 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Conf |
377 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Locker |
378 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Logger |
379 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Message |
380 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Message/Metadata |
381 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Plugin |
382 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Util |
383 |
%{perl_vendorlib}/Mail/SpamAssassin/Bayes/*.pm |
384 |
%{perl_vendorlib}/Mail/SpamAssassin/BayesStore/*.pm |
385 |
%{perl_vendorlib}/Mail/SpamAssassin/Conf/*.pm |
386 |
%{perl_vendorlib}/Mail/SpamAssassin/Locker/*.pm |
387 |
%{perl_vendorlib}/Mail/SpamAssassin/Logger/*.pm |
388 |
%{perl_vendorlib}/Mail/SpamAssassin/Message/Metadata/*.pm |
389 |
%{perl_vendorlib}/Mail/SpamAssassin/Message/*.pm |
390 |
%{perl_vendorlib}/Mail/SpamAssassin/Plugin/*.pm |
391 |
%{perl_vendorlib}/Mail/SpamAssassin/Util/*.pm |
392 |
%{_mandir}/man3/Mail::SpamAssassin.3pm* |
393 |
%{_mandir}/man3/Mail::SpamAssassin::AICache.3pm* |
394 |
%{_mandir}/man3/Mail::SpamAssassin::ArchiveIterator.3pm* |
395 |
%{_mandir}/man3/Mail::SpamAssassin::AsyncLoop.3pm* |
396 |
%{_mandir}/man3/Mail::SpamAssassin::AutoWhitelist.3pm* |
397 |
%{_mandir}/man3/Mail::SpamAssassin::Bayes.3pm* |
398 |
%{_mandir}/man3/Mail::SpamAssassin::BayesStore.3pm* |
399 |
%{_mandir}/man3/Mail::SpamAssassin::BayesStore::BDB.3pm* |
400 |
%{_mandir}/man3/Mail::SpamAssassin::BayesStore::MySQL.3pm* |
401 |
%{_mandir}/man3/Mail::SpamAssassin::BayesStore::PgSQL.3pm* |
402 |
%{_mandir}/man3/Mail::SpamAssassin::BayesStore::SQL.3pm* |
403 |
%{_mandir}/man3/Mail::SpamAssassin::Client.3pm* |
404 |
%{_mandir}/man3/Mail::SpamAssassin::Conf.3pm* |
405 |
%{_mandir}/man3/Mail::SpamAssassin::Conf::LDAP.3pm* |
406 |
%{_mandir}/man3/Mail::SpamAssassin::Conf::Parser.3pm* |
407 |
%{_mandir}/man3/Mail::SpamAssassin::Conf::SQL.3pm* |
408 |
%{_mandir}/man3/Mail::SpamAssassin::DnsResolver.3pm* |
409 |
%{_mandir}/man3/Mail::SpamAssassin::Logger.3pm* |
410 |
%{_mandir}/man3/Mail::SpamAssassin::Logger::File.3pm* |
411 |
%{_mandir}/man3/Mail::SpamAssassin::Logger::Stderr.3pm* |
412 |
%{_mandir}/man3/Mail::SpamAssassin::Logger::Syslog.3pm* |
413 |
%{_mandir}/man3/Mail::SpamAssassin::Message.3pm* |
414 |
%{_mandir}/man3/Mail::SpamAssassin::Message::Metadata.3pm* |
415 |
%{_mandir}/man3/Mail::SpamAssassin::Message::Node.3pm* |
416 |
%{_mandir}/man3/Mail::SpamAssassin::PerMsgLearner.3pm* |
417 |
%{_mandir}/man3/Mail::SpamAssassin::PerMsgStatus.3pm* |
418 |
%{_mandir}/man3/Mail::SpamAssassin::PersistentAddrList.3pm* |
419 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin.3pm* |
420 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::AccessDB.3pm* |
421 |
#%{_mandir}/man3/Mail::SpamAssassin::Plugin::AskDNS.3pm* |
422 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::AntiVirus.3pm* |
423 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::ASN.3pm* |
424 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::AutoLearnThreshold.3pm* |
425 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::AWL.3pm* |
426 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Bayes.3pm* |
427 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::BodyRuleBaseExtractor.3pm* |
428 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Check.3pm* |
429 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::DCC.3pm* |
430 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::DKIM.3pm* |
431 |
%{_mandir}/man3/Mail::SpamAssassin::PluginHandler.3pm* |
432 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Hashcash.3pm* |
433 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::MIMEHeader.3pm* |
434 |
#%{_mandir}/man3/Mail::SpamAssassin::Plugin::NetCache.3pm* |
435 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::OneLineBodyRuleType.3pm* |
436 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::PhishTag.3pm* |
437 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Pyzor.3pm* |
438 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Razor2.3pm* |
439 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::RelayCountry.3pm* |
440 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::ReplaceTags.3pm* |
441 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Reuse.3pm* |
442 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Rule2XSBody.3pm* |
443 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Shortcircuit.3pm* |
444 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::SpamCop.3pm* |
445 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::SPF.3pm* |
446 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::Test.3pm* |
447 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::TextCat.3pm* |
448 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::URIDetail.3pm* |
449 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::URIDNSBL.3pm* |
450 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::VBounce.3pm* |
451 |
%{_mandir}/man3/Mail::SpamAssassin::Plugin::WhiteListSubject.3pm* |
452 |
%{_mandir}/man3/Mail::SpamAssassin::SQLBasedAddrList.3pm* |
453 |
%{_mandir}/man3/Mail::SpamAssassin::SubProcBackChannel.3pm* |
454 |
%{_mandir}/man3/Mail::SpamAssassin::Timeout.3pm* |
455 |
%{_mandir}/man3/Mail::SpamAssassin::Util.3pm* |
456 |
%{_mandir}/man3/Mail::SpamAssassin::Util::DependencyInfo.3pm* |
457 |
%{_mandir}/man3/Mail::SpamAssassin::Util::Progress.3pm* |
458 |
%{_mandir}/man3/Mail::SpamAssassin::Util::RegistrarBoundaries.3pm* |
459 |
%{_mandir}/man3/spamassassin-run.3pm* |
460 |
|
461 |
%files -n perl-%{fname}-Spamd |
462 |
%defattr(644,root,root,755) |
463 |
%doc spamd-apache2/README.apache |
464 |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/conf/webapps.d/spamd.conf |
465 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Spamd |
466 |
%{perl_vendorlib}/Mail/SpamAssassin/Spamd/Apache2.pm |
467 |
%{perl_vendorlib}/Mail/SpamAssassin/Spamd/Config.pm |
468 |
%{perl_vendorlib}/Mail/SpamAssassin/Spamd.pm |
469 |
%dir %{perl_vendorlib}/Mail/SpamAssassin/Spamd/Apache2 |
470 |
%{perl_vendorlib}/Mail/SpamAssassin/Spamd/Apache2/AclRFC1413.pm |
471 |
%{perl_vendorlib}/Mail/SpamAssassin/Spamd/Apache2/Config.pm |
472 |
%{perl_vendorlib}/Mail/SpamAssassin/Spamd/Apache2/AclIP.pm |
473 |
%{_mandir}/man3/Mail::SpamAssassin::Spamd.3pm* |
474 |
%{_mandir}/man3/Mail::SpamAssassin::Spamd::Apache2.3pm* |
475 |
%{_mandir}/man3/Mail::SpamAssassin::Spamd::Apache2::AclIP.3pm* |
476 |
%{_mandir}/man3/Mail::SpamAssassin::Spamd::Apache2::AclRFC1413.3pm* |
477 |
%{_mandir}/man3/Mail::SpamAssassin::Spamd::Apache2::Config.3pm* |
478 |
%{_mandir}/man3/Mail::SpamAssassin::Spamd::Config.3pm* |