SPECS: postgrey.spec - pl, fixed paths in desc

qboosh qboosh at pld-linux.org
Mon Sep 5 20:11:16 CEST 2005


Author: qboosh                       Date: Mon Sep  5 18:11:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, fixed paths in desc

---- Files affected:
SPECS:
   postgrey.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/postgrey.spec
diff -u SPECS/postgrey.spec:1.7 SPECS/postgrey.spec:1.8
--- SPECS/postgrey.spec:1.7	Mon Sep  5 15:51:25 2005
+++ SPECS/postgrey.spec	Mon Sep  5 20:11:10 2005
@@ -1,8 +1,7 @@
 # $Revision$, $Date$
-# TODO:
-# - consider using postfix or mail group... (dunno if it's good idea)
 %include	/usr/lib/rpm/macros.perl
 Summary:	Postfix Greylisting Policy Server
+Summary(pl):	Serwer do polityki "szarych list" dla Postfiksa
 Name:		postgrey
 Version: 	1.21
 Release:	1
@@ -14,7 +13,6 @@
 Patch0:		%{name}-group.patch
 Patch1:		%{name}-postfix_dir.patch
 URL:		http://isg.ee.ethz.ch/tools/postgrey/
-Buildarch:	noarch
 BuildRequires:	rpm-perlprov
 Requires:	postfix
 BuildArch:	noarch
@@ -23,21 +21,42 @@
 %define		confdir /etc/mail
 
 %description
-Postgrey is a Postfix policy server implementing greylisting.
-When a request for delivery of a mail is received by Postfix 
-via SMTP, the triplet CLIENT_IP / SENDER / RECIPIENT is built. 
-If it is the first time that this triplet is seen, or if the 
-triplet was first seen less than 5 minutes, then the mail gets 
-rejected with a temporary error. Hopefully spammers or viruses 
-will not try again later, as it is however required per RFC.
+Postgrey is a Postfix policy server implementing greylisting. When a
+request for delivery of a mail is received by Postfix via SMTP, the
+triplet CLIENT_IP / SENDER / RECIPIENT is built. If it is the first
+time that this triplet is seen, or if the triplet was first seen less
+than 5 minutes, then the mail gets rejected with a temporary error.
+Hopefully spammers or viruses will not try again later, as it is
+however required per RFC.
+
 Edit your configuration files:
-/etc/postfix/main.cf:
+%{confdir}/main.cf:
   smtpd_recipient_restrictions = ...
     check_policy_service unix:postgrey/socket, ...
 or if you like to use inet sockets (modify the IP if needed):
 /etc/sysconfig/postgrey:
   OPTIONS="--inet=127.0.0.1:10023"
-/etc/postfix/main.cf:
+%{confdir}/main.cf:
+  smtpd_recipient_restrictions = ...
+    check_policy_service inet:127.0.0.1:10023, ...
+
+%description -l pl
+Postgrey to serwer polityki dla Postfiksa implementujący "szare
+listy". Kiedy Postfix otrzymuje po SMTP żądanie dostarczenia poczty,
+tworzony jest triplet IP_KLIENTA / NADAWCA / ADRESAT. Jeśli dany
+triplet jest widziany po raz pierwszy lub był widziany po raz pierwszy
+mniej niż 5 minut temu, poczta jest odrzucana z tymczasowym błędem.
+Można mieć nadzieję, że spamerzy i wirusy nie będą próbować ponownie,
+co jest jednak wymagane przez RFC.
+
+Aby użyć tego programu należy zmodyfikować pliki konfiguracyjne:
+%{confdir}/main.cf:
+  smtpd_recipient_restrictions = ...
+    check_policy_service unix:postgrey/socket, ...
+lub jeśli chcemy używać gniazd inet (w razie potrzeby zmienić IP):
+/etc/sysconfig/postgrey:
+  OPTIONS="--inet=127.0.0.1:10023"
+%{confdir}/main.cf:
   smtpd_recipient_restrictions = ...
     check_policy_service inet:127.0.0.1:10023, ...
 
@@ -97,7 +116,7 @@
 %attr(640,root,postgrey) %config(noreplace) /etc/sysconfig/%{name}
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %attr(755,root,root) %{_sbindir}/postgrey*
-%dir %attr(0711,postgrey,postgrey) %{_var}/spool/postfix/%{name}
+%dir %attr(711,postgrey,postgrey) %{_var}/spool/postfix/%{name}
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -105,6 +124,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/09/05 18:11:10  qboosh
+- pl, fixed paths in desc
+
 Revision 1.7  2005/09/05 13:51:25  blues
 - release 1 - works
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/postgrey.spec?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list