Skip to content

SMTP proxy used bind spamassassin with postfix for post-queue spam detection

License

Notifications You must be signed in to change notification settings

SimoneLazzaris/proxanne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

proxanne

SMTP proxy used bind spamassassin with postfix for post-queue spam detection.

I've created this project because I wasn't satisfied with the current options available to interface postfix with spamd (spamassassin).

The majority seems to use amavis, which I find too complicated, and uses a different database for user settings than that used by plain spamassassin/spamd.

So I've assembled a very simple proxy, which accepts messages via SMTP (tipically on a loopback port), sends them to spamd via a nativa golang tcp client, and then forwards the result via SMTP, usually back to postfix.

The proxy is configured via command line, and has a very few options:

  • the address:port couple used to listen for incoming SMTP connection
  • the address:port couple of the waiting spamd process
  • the address:port couple of the waiting mail process for reinjection
Usage of proxanne/proxanne:
  -listen string
        address:port to listen on (default "127.0.0.1:2525")
  -smtpd string
        SMTP address and port for reinjection (default "127.0.0.1:10025")
  -spamd string
        spamd address and port (default "127.0.0.1:783")
  -syslog
        Enable syslog logging

To build the proxy, copy/clone the repo in $GOLANG/src and then simply:

go build proxanne

I've included a .service file for systemd integration

About

SMTP proxy used bind spamassassin with postfix for post-queue spam detection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages