On Fri, 19 Feb 2010, Jari Fredriksson wrote:

On 19.2.2010 1:48, Chris wrote:
On Thu, 2010-02-18 at 09:59 -0800, tonjg wrote:

Jari Fredriksson wrote:

How does MimeDefang reject anything if it does not scan it? Your log header sample looked like it was scanned by MimeDefang. Propably MD calls SpamAssassin in it's scan process just like amavisd does.

Using a perl package just to "reject spam" would be an overkill. A simple procmail recipe would do it without any extra process.

but md is a mail filter designed to process mail, how is that an overkill? and where would one find a simple procmail recipe?


This is what I use, may not be the greatest but it's been working for years:

:0 fw : $ASSASSINLOCK
* < 500000
| /usr/local/bin/spamc -f

That is not the recipe I meant. That calls SA yes, but does not
"reject".

You _can't_ SMTP-time reject if you're using procmail, as procmail is a delivery agent. The message has already been accepted by the MTA by the time procmail sees it.

Is that what you meant?

I can't provide a recipe for procmail as I personally use maildrop, but the recipe that is needed is one filing the spam to a spam folder (or /dev/null).

Take a look in http://www.impsec.org/~jhardin/antispam/

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  The first time I saw a bagpipe, I thought the player was torturing
  an octopus. I was amazed they could scream so loudly.
                                        -- cat_herder_5263 on Y! SCOX
-----------------------------------------------------------------------
 4 days until George Washington's 278th Birthday

Reply via email to