Read Me
Pre-requisites:
You most likely have all of the perl modules needed installed with the
exception of IPC::Run. Installation will be OS dependent. However, it
is always available from the CPAN.
cpan> install IPC::Run
You also will need to have spamassassin and spamc. Spamc should come with
spamassassin.
Install:
Installation requires root privileges:
# make install
Will install to `/usr/local/bin/smda'. You can also change this with the
PREFIX and PROGRAM make variables.
# make PREFIX=/usr/bin install or make PROGRAM=mda install
How to use:
You will need spamd running. There is likely an OS dependent way of
ensuring this happens. It is likely something like:
# service spamassassin start
# /etc/rc.d/spamassassin start
# rcctl start spamassassin
This will be MTA dependent. So consult those docs. However, with OpenSMTPD
it would be something like this:
accept from any for domain <domains> virtual <virtuals> deliver to mda \
"/usr/local/bin/smda /var/vmail/%{rcpt.domain}/%{rcpt}"