Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Mon, 05 Jul 2004
postgrey
Early this weekend I installed postgrey, a greylister for Postfix based on Postfix 2.1's support for SMTP Access Policy Delgation. The theory behind greylisting is to temporarily delay mail message delivery in the hopes that spambots will not attempt to redeliver delayed messages. Based on my experiences, I'd say that hopes are high.
mailgraph is another utility written by David Schweikert, the author of postgrey. This graph shows the effects of turning on postgrey. I turned postgrey on late Friday/early Saturday, and you can see that the number of messages that were either spam or viruses decreased dramatically, while the number of rejected messages increased. The number of spams delivered to inboxes also decreased.
One thing that you need in order for postgrey to work is an script for starting up and shutting down. In Debian, such scripts go in
[23:49] |
[computers/operating_systems/linux/debian] |
# |
TB |
F |
G |
0 Comments |
/etc/init.d
. postgrey doesn't supply a script, so I've made mine available. I'm not an init.d wizard, so if you improve the script please let me know. [ update: postgrey is now a package in Debian unstable ]
To date our anti-spam measures consist of postfix, postgrey, amavisd-new, clamav, and spamassasin on the server, and a bayesian filter in the clients. The arms race goes on.
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk