On Thu, 26 Sep 2019 at 10:52, Henrik K <h...@hege.li> wrote:
>
> On Thu, Sep 26, 2019 at 11:44:11AM +0200, Matus UHLAR - fantomas wrote:
> > On 26.09.19 10:34, Enrico Morelli wrote:
> > >in this days my mail server receiving a lot of mail coming from a
> > >domain ending with .monster...
>
> Obviously these will only work for envelope sender.  Most likely needing
> header_checks /^From:.*\.monster/ here..
>
Of course this assumes pcre (or maybe regex) file. To ensure it picks
up only email addresses in From header (and not text), then, using
pcre file for header_checks:

if /^From:/
/\.monster>?\s*$/ REJECT
# add other From header checks here...
endif

Reply via email to