comparison dnsbl.spec.in @ 152:c7fc218686f5

gpl3, block mail to recipients that cannot reply
author carl
date Sat, 07 Jul 2007 10:26:31 -0700
parents 8e813497582e
children 8d7c439bb6fa
comparison
equal deleted inserted replaced
151:0e8ec3c483ce 152:c7fc218686f5
2 2
3 Summary: @PACKAGE@ Sendmail Milter 3 Summary: @PACKAGE@ Sendmail Milter
4 Name: @PACKAGE@ 4 Name: @PACKAGE@
5 Version: @VERSION@ 5 Version: @VERSION@
6 Release: %{?custom_release}%{!?custom_release:1} 6 Release: %{?custom_release}%{!?custom_release:1}
7 Copyright: GPL 7 License: GPL
8 Group: System Environment/Daemons 8 Group: System Environment/Daemons
9 Source: http://www.five-ten-sg.com/@PACKAGE@/packages/@PACKAGE@-@VERSION@.tar.gz 9 Source: http://www.five-ten-sg.com/@PACKAGE@/packages/@PACKAGE@-@VERSION@.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot 10 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
11 URL: http://www.five-ten-sg.com/@PACKAGE@/ 11 URL: http://www.five-ten-sg.com/@PACKAGE@/
12 Vendor: 510 Software Group 12 Vendor: 510 Software Group
68 68
69 %pre 69 %pre
70 70
71 71
72 %post 72 %post
73 /usr/bin/getent passwd @PACKAGE@ >/dev/null || useradd -r -d %{_sysconfdir}/@PACKAGE@ -M -c "@PACKAGE@ pseudo-user" -s /sbin/nologin @PACKAGE@ 73 /usr/bin/getent passwd @PACKAGE@ >/dev/null || useradd -r -d %{_sysconfdir}/@PACKAGE@ -M -c "@PACKAGE@ pseudo-user" -s /sbin/nologin @PACKAGE@ >/dev/null
74 /sbin/chkconfig --add @PACKAGE@ 74 /sbin/chkconfig --add @PACKAGE@
75 echo Remember to edit %{_sysconfdir}/@PACKAGE@/@PACKAGE@.conf and add the following line to your sendmail.mc: 75 echo Remember to edit %{_sysconfdir}/@PACKAGE@/@PACKAGE@.conf and add the following line to your sendmail.mc:
76 echo "INPUT_MAIL_FILTER(\`dnsbl', \`S=local:/var/run/dnsbl/dnsbl.sock, F=T, T=C:30s;S:5m;R:5m;E:5m')" 76 echo "INPUT_MAIL_FILTER(\`dnsbl', \`S=local:/var/run/dnsbl/dnsbl.sock, F=T, T=C:30s;S:5m;R:5m;E:5m')"
77 echo 77 echo
78 78