Hi

On 25/08/10 11:30, Sabiha Fathima wrote:
Hi All,

Am trying to install spamassassin on unbuntu without a smtp running on it.
Is it mandatory to have a smtp server to run spam assassin.

No - on Ubuntu you can just apt-get install spamassassin spamc.

I want to install these modules and call specific subroutine to check my message for spammy content and give me the results . the calls will be made from web form.

cat message | spamc will return the results of the SA analysis. You'd really need to include or insert mail headers, unless you have a very clear idea indeed about body-only rules, and disable all the header related ones.

Am trying to build a tool which accepts a email message and checks it.

Are you *certain* it wouldn't be easier to do this on the mailserver? Running mail through SA from amavis/Postfix/Exim/... is really straightforward. If the mailserver is under someone else's control, then you could use e.g. fetchmail to send it on through a local mailserver.

Any help with the installation instructions and the details regarding the set up and modules will be appreciated.


--
Thanks and Regards,
Sabiha Fathima

Dominic

Reply via email to