FilesSubmittedBranchesLabelsClientsUsersJobsHelp
Tree viewShow file textShow revision historyShow/hide recent activityInformation
//depot/projects/greylistd/README#2

//depot/projects/greylistd/README#2 – edit change 77 (text) ·revision history

1greylistd
2=========
3
4A tiny greylisting policy daemon for Postfix 2.1+, written because the
5ttul.org mail spool was 94% spam in February 2004 and I got tired of
6watching ksimpson's procmail log scroll by.
7
8How greylisting works: the first time we see a (client IP, sender,
9recipient) triplet we tell the sending MTA "450 try again later". Real
10MTAs retry. Spamware generally doesn't. That's it. That's the whole trick.
11
12INSTALL
13
14 perl Makefile.PL
15 make
16 make test
17 make install
18
19Then in /etc/postfix/main.cf:
20
21 smtpd_recipient_restrictions =
22 permit_mynetworks,
23 reject_unauth_destination,
24 check_policy_service unix:private/greylist
25
26and in master.cf:
27
28 greylist unix - n n - - spawn
29 user=nobody argv=/usr/local/bin/greylistd
30
31Reload postfix and watch the maillog.
32
33OPTIONS
34
35 -d SECS how long a new triplet must wait (default 300)
36 -f FILE triplet database (default /var/lib/greylistd/triplets.db)
37
38Every decision is logged to syslog, facility mail.
39
40BUGS
41
42Probably. Mail nullbyte@ttul.org, or file a job in p4.

P4Web/LINUX26X86/2005.1/82295 · Copyright © 1995-2005 Perforce Software · ttul.org