I have an existing Postfix server using greylisting, and need to utilize an external, existing Spamassassin server which is managed by someone else. How can I configure that? I am thinking I would use spamc.

1 Answer 1


I went with creating my own content filter and butchered the example script here

The difference between the above example script and what I wanted to achieve was that I only wanted spamassassin to give me a spam score, by using the following

spamc -d -p783 -c < [mail msg]


-d is the spamassassin host

-p is the tcp port

-c 'check only'

spamc can be installed by using apt-get install spamc

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .