Re: AW: [Exim] Exiscan, Spamassasin and max size of messages

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Pat Lashley
Data:  
Para: Knaupp, Thomas, exim-users
Assunto: Re: AW: [Exim] Exiscan, Spamassasin and max size of messages
--On Monday, January 19, 2004 18:24:46 +0100 "Knaupp, Thomas" <Thomas.Knaupp@???> wrote:

>  |   warn    message       = X-Spam-Score: $spam_score
>  |           spam          = nobody:true
>  |           condition     = ${if <{$message_size}{200k}{yes}{no}}
>  |                               ^^^
>  |
>  | this way, it works perfektly  :)


Shouldn't the condition test come -before- the spam clause?

> one more point: this rule seems not to work with cleartext-messages,
> when the sender is not sending SIZE = command ..
>
> In our example, we're getting a lot of postmaster-messages,
> that a mail could not be delivered and the stupid sender-server
> is sending the orginal attachment back in clear-text, which
> makes 20mb text-mails ...


I'm not entirely clear on what you're seeing here. Is postmaster
the sender or recipient? (Or both?) If the recipient, do your
ACLs accept mail for postmaster before getting to the spam test?




-Pat