Hi!
Thank you for the examples. But the solution is this not working. I wrote
this to the header_checks:
/^From: (.*)[email protected](.*)$/ REJECT message
/^Received: (.*)fmfwd00.freemail.hu(.*)$/ REJECT message

Still NDR-s are passing through. Header examples from NDR:

Received: from fmfwd00.freemail.hu (195.228.245.78) by
 DB5EUR02FT025.mail.protection.outlook.com (10.13.58.113) with Microsoft
SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.6111.13 via Frontend Transport; Thu, 16 Feb 2023 10:05:29 +0000
Received: by fmfwd00.freemail.hu (Postfix)
id 138B5E23C; Thu, 16 Feb 2023 11:05:29 +0100 (CET)
Date: Thu, 16 Feb 2023 11:05:29 +0100 (CET)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender

Why is this still not matching?

Thanks.

On Tue, Feb 14, 2023 at 10:12 AM Juan Carlos Rey Anaya <[email protected]> wrote:

> Here are some examples to detect Subject headers: Hope it is useful.
>
> if /^Subject: /
> /Professor Positions - Faculty Positions in Higher Education/ REJECT
> subject rejected
> /Dear Friend,/    REJECT subject rejected
> /The closest thing to flying a REAL plane!/    REJECT subject rejected
> /Your Last Chance/    REJECT subject rejected
> /wqFIYXN0YSAtMzAlIGVuIHR1cyBjb21wcmFzISBDb24gYWRpZGFzIGVuYW3Ds3JhdGUgZGVsIGRlcG9ydGU=/
>
> REJECT subject rejected
> endif
>
>
>

Reply via email to