> On 7 September 2017, at 15:28, pgndev <[email protected]> wrote:
> 
> It ain't pretty, or recommended for the long term, but something like this 
> should slow it down
> 
>     /etc/postfix/main.cf
>         header_checks = pcre:/etc/postfix/header_checks.pcre
> 
>     /etc/postfix/header_checks.pcre
>         IF /^(To|From|Cc|Reply-To|Sender|Return-Path): /
>         /@qq\.com/i   REJECT
>         ENDIF
> 
> ​(check the syntax!)​
> 

To block the message-id field shouldn't that be:

IF /(Message-id):/
/@qq\.com/i REJECT
ENDIF

The qq.com only appears in the message-id, never in any of the addresses.

Reply via email to