Postgrey & SpamAssassin

If there's software you need and you can't find, make a request for it.
Post Reply
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Postgrey & SpamAssassin

Post 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 :)
Image
What really matters is where you are going, not where you come from.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Postgrey & SpamAssassin

Post 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...
Image
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Postgrey & SpamAssassin

Post 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/
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Postgrey & SpamAssassin

Post 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.
Image
Image
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: Postgrey & SpamAssassin

Post 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
Image
What really matters is where you are going, not where you come from.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Postgrey & SpamAssassin

Post 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).
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Postgrey & SpamAssassin

Post by gapan »

postgrey has been added to the 13.0 repositories.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Postgrey & SpamAssassin

Post by thenktor »

BTW: found a nice SpamAssassin documentation: http://www.akadia.com/services/postfix_ ... assin.html
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply