Mailing List Archive

Catch a rejected message ?
We are using SpamAssassin 3.4.6-1 with Postfix 3.5.8-4 on RHEL 8

We are seeing occasional blocked messages that say “milter-reject” with a spam score of 8

Is there a way to capture the offending messages to figure out the problem ?

Thanks
Re: Catch a rejected message ? [ In reply to ]
That depends on the milter you're using to "glue" SA to postfix.
IE if you're using a milter (the thing that's triggering that "milter-reject"
response) this means that Postifx is passing the messages to the milter, the
milter is passing them to SA-spamd, getting the response and then feeding the
results of interpreting SA's evaluation of the message.

That milter-reject status is the milter's responding to Postfix.

So you need to look at the capabilities of your milter to customize it's
response for the particular message(s) in question.

Dave

On Fri, 1 Dec 2023, White, Daniel E. (GSFC-770.0)[AEGIS] via users wrote:

>
> We are using SpamAssassin 3.4.6-1 with Postfix 3.5.8-4 on RHEL 8
>
>
>
> We are seeing occasional blocked messages that say “milter-reject” with a spam score of 8
>
>
>
> Is there a way to capture the offending messages to figure out the problem ?
>
>
>
> Thanks
>
>
>

--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center, 103 S Capitol St.
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{
Re: Catch a rejected message ? [ In reply to ]
On 2023-12-01 at 10:29:24 UTC-0500 (Fri, 1 Dec 2023 15:29:24 +0000)
White, Daniel E. (GSFC-770.0)[AEGIS] via users <daniel.e.white@nasa.gov>
is rumored to have said:

> We are using SpamAssassin 3.4.6-1 with Postfix 3.5.8-4 on RHEL 8
>
> We are seeing occasional blocked messages that say “milter-reject”
> with a spam score of 8
>
> Is there a way to capture the offending messages to figure out the
> problem ?

Only if there is functionality for that in the milter itself (i.e. the
'glue' between Postfix and SA) that allows you to do so. SpamAssassin
has no facility to save messages.

For example, MIMEDefang and its cousin MailMunge both use a unique
working directory for each message, and it is trivial to just replicate
that whole structure elsewhere for safekeeping.

--
Bill Cole
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
Re: Catch a rejected message ? [ In reply to ]
White, Daniel E. (GSFC-770.0)[AEGIS] via users skrev den 2023-12-01
16:29:
> We are using SpamAssassin 3.4.6-1 with Postfix 3.5.8-4 on RHEL 8
>
> We are seeing occasional blocked messages that say “milter-reject”
> with a spam score of 8

good or bad ?

> Is there a way to capture the offending messages to figure out the
> problem ?

if you reject, its rejected

dont reject mails that is under 20 in score, or make your milter solve
it

also note that spamassassin does not REJECT :)

more help require more info
Re: Catch a rejected message ? [ In reply to ]
>> Is there a way to capture the offending messages to figure out the
>> problem ?
>
> if you reject, its rejected

Amavis rejects after DATA and is able to quarantine such mails.