Page 1 of 1

Postgrey & SpamAssassin

Posted: 21. Nov 2009, 10:27
by Akuna
Very useful for mail servers:

Postgrey is a Postfix policy server implementing greylisting
website: http://postgrey.schweikert.ch/
download: http://postgrey.schweikert.ch/pub

SpamAssassin uses a wide variety of local and network tests to identify spam signatures.
website: http://spamassassin.apache.org
download: http://spamassassin.apache.org/download ... 0806121419

Thank you :)

Re: Postgrey & SpamAssassin

Posted: 23. Nov 2009, 14:28
by gapan
For postgrey:

Code: Select all

slapt-get -i perl-net-server perl-io-multiplex perl-berkeleydb
and try this package: http://pnboy.pinguix.com/gapan/salix/postgrey/
(you need to have postfix installed and configured)

Working on spamassasin deps...

Re: Postgrey & SpamAssassin

Posted: 23. Nov 2009, 17:06
by damNageHack
gapan wrote:Working on spamassasin deps...
Alternative Bogofilter? There is a plugin for claws-mail, dunno if it fits also for server logic.

See also here: http://www.salixos.org/forum/viewtopic.php?f=21&t=181
bogofilter
- Claws-Mail is shipped with bogofilter plugin, but does not work w/o bogofilter itself installed.

http://bogofilter.sourceforge.net/

Re: Postgrey & SpamAssassin

Posted: 23. Nov 2009, 17:18
by gapan
For spamassassin:

Code: Select all

slapt-get -i perl-digest-sha1 perl-digest-hmac perl-net-ip perl-net-dns perl-html-parser libwww-perl
to get the deps and try this package: http://pnboy.pinguix.com/gapan/salix/sp ... 86-1gv.txz
There are many optional plugins that are left out, they would require even more perl deps. Check the build log for what is left out: http://pnboy.pinguix.com/gapan/salix/sp ... 1gv.log.gz
Tell me if it works, or if you need any additional plugins.

Re: Postgrey & SpamAssassin

Posted: 24. Nov 2009, 19:26
by Akuna
Thank you very very much. I really needed that.

Unfortunately, I'm going to be out of the picture for the next couple weeks or so but will post some feedback as soon as possible

Re: Postgrey & SpamAssassin

Posted: 17. Mar 2010, 00:34
by thenktor
gapan wrote:For postgrey:

Code: Select all

slapt-get -i perl-net-server perl-io-multiplex perl-berkeleydb
and try this package: http://pnboy.pinguix.com/gapan/salix/po ... 86-1gv.txz
(you need to have postfix installed and configured)

Working on spamassasin deps...
2 little things:
1. In the rc script you are using port 10030 for postgrey, but the README file talks about port 10023:
Write an init script to start postgrey at boot and start it. Like this for example:

postgrey --inet=10023 -d

ยท Put something like this in /etc/main.cf:

smtpd_recipient_restrictions =
permit_mynetworks
...
reject_unauth_destination
check_policy_service inet:127.0.0.1:10023
I've noticed because I took a look into the rc script before, others probably won't. I'd suggest to use the 10023 port.

2. from startup log: postgrey: FATAL: ERROR: can't open lock file: /var/spool/postfix/postgrey/postgrey.lock
Please add the dir /var/spool/postfix/postgrey/ to the package with uid/gid 200 (postfix user/group).

Re: Postgrey & SpamAssassin

Posted: 18. Mar 2010, 22:02
by gapan
postgrey has been added to the 13.0 repositories.

Re: Postgrey & SpamAssassin

Posted: 18. Mar 2010, 22:37
by thenktor
BTW: found a nice SpamAssassin documentation: http://www.akadia.com/services/postfix_ ... assin.html