summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2005-09-05 18:11:10 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitdf605159ad48ab64176c8b6b6cb5915c8664047e (patch)
tree6c865107b5a6a2fd7b09f5be85ae416307cc0447
parent250814f7749f905a6f21ca64ae26aa7466023c70 (diff)
downloadpostgrey-df605159ad48ab64176c8b6b6cb5915c8664047e.zip
postgrey-df605159ad48ab64176c8b6b6cb5915c8664047e.tar.gz
- pl, fixed paths in desc
Changed files: postgrey.spec -> 1.8
-rw-r--r--postgrey.spec45
1 files changed, 32 insertions, 13 deletions
diff --git a/postgrey.spec b/postgrey.spec
index 79e37c4..18c1821 100644
--- a/postgrey.spec
+++ b/postgrey.spec
@@ -1,7 +1,6 @@
-# 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
@@ -13,7 +12,6 @@ Source1: %{name}.init
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
@@ -22,21 +20,42 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%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, ...
@@ -96,4 +115,4 @@ fi
%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}