Xavi Montero wrote:
Hello.

I have SpamassAssin running but I want to change its behaviour.

Although I'm subscribed to this list from time ago, but this is my first post (as far as I can remember). If this message is not adequate here, please, redirect me to the correct place.

I have SpamAssassin in my Debian box (with sendmail). I have config A) where spamassassin is run in the delivery stage of the sendmail (see the apendixes below) and I desire behaviour B) where it is run at the incoming stage so the spam is rejected and the sender cannot success at sending it.

QUESTION-1: Is this possible?

Yes. There's a group of utilities for sendmail called "milters", which are "mail filters" that run during the STMP session.

There are 2 I can directly think of that would help you.

mimedefang is the first one. It's a great, and very flexible, utility ... but it requires some expertise with the perl programming language.

amavis is the other one. I know very little about amavis, but I know it has a milter capability, and can be used with spam assassin.

I think there's also a more direct "spam assassin milter", but I don't have any details about it.


QUESTION-2: May I break this goal into small parts and achieve each separately?

I'm not sure what you mean. Do you mean a gradual phasing in of the new method? You could, for example:

1) install mimedefang, and keep using spam assassin the way you currently do
2) move spam assassin to mimedefang instead of during delivery
3) change mimedefang's mimedefang-filter so that it rejects during SMTP instead of just adding headers

QUESTION-3: Where do I have to start?

Google search for mimedefang and amavis and "spamassassin milter". Investigate each. Find mailing lists for each. As for help on those mailing lists.

Reply via email to