| From | Sent On | Attachments |
|---|---|---|
| Ricardo Kleemann | Oct 25, 2008 9:22 pm | |
| Tim Lyth | Oct 26, 2008 4:27 am | |
| Gordon Messmer | Oct 26, 2008 11:34 am | |
| Frederik Dannemare | Oct 29, 2008 3:40 am | |
| Gordon Messmer | Oct 29, 2008 8:39 am | |
| Frederik Dannemare | Oct 30, 2008 7:11 am | |
| Gordon Messmer | Oct 30, 2008 8:34 am | |
| Frederik Dannemare | Oct 30, 2008 9:15 am | |
| Frederik Dannemare | Oct 31, 2008 7:51 am |
| Subject: | Re: [courier-users] greylisting | |
|---|---|---|
| From: | Frederik Dannemare (fred...@dannemare.net) | |
| Date: | Oct 29, 2008 3:40:27 am | |
| List: | net.sourceforge.lists.courier-users | |
On Sunday 26 October 2008 13:23, Tim Lyth wrote:
I'm pretty sure that there's a .deb version of pythonfilter available somewhere - I run Debian, but I can't remember how I installed pythonfilter on my server.
I made these short notes when I installed it (a year ago, or so):
# Download and extract courier-pythonfilter
#
su - frederik
wget
http://phantom.dragonsdawn.net/~gordon/courier-pythonfilter/courier-pythonfilter-0.23.tar.gz
tar zxf courier-pythonfilter-0.23.tar.gz
logout
# Run the setup step as root. # This will place files in /usr/lib/python2.4/site-packages/courier # and /usr/lib/python2.4/site-packages/pythonfilter. Also, a config file, # pythonfilter.conf, is placed in /etc, and pythonfilter itself is placed # in /usr/bin. # python setup.py install
# Create custom config file. # cp /etc/pythonfilter.conf /etc/pythonfilter.conf.orig cat <<EOF >/etc/pythonfilter.conf noduplicates auto_whitelist whitelist_relayclients whitelist_auth whitelist_block greylist EOF
# Do not greylist certain "good" but bad-behaving servers.
# whitelist_block must be active for this to be honoured.
#
wget -O -
'http://cvs.puremagic.com/viewcvs/*checkout*/greylisting/schema/whitelist_ip.txt?rev=1.16'
\
| grep '^[[:digit:]]' | sed -e 's/[[:blank:]].*\|$/\tallow,BLOCK/' \
> /etc/courier/smtpaccess/nogreylisting
makesmtpaccess
# A few extra manual steps are also required. # mkdir -p /var/state/pythonfilter chown daemon:daemon /var/state/pythonfilter ln -s /usr/bin/pythonfilter /usr/lib/courier/filters/ filterctl start pythonfilter
Best regards, Frederik Dannemare
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





