How to Block GMail account New block from

**NethServer Version:7.5
**Module: Mail Filter

How to Block Mail(Black list) account from like a "" ?
I try to add “Filter>Rules by mail address>New block from "” it is not working but it is work if I add Blacklist only domain “

Thank you

Hi @Ya_Ley,

I could not reproduce, when I put a “New block from” mail address and send a test mail from the blocked address it’s rejected by rspamd and correctly shown in the rspamd web UI. I tried mail addresses like “” too. The blocked sender gets a mail with correct information:

SMTP error from remote mail server after end of data:
    554 5.7.1 Matched map: FROM_BLACKLIST

Maybe you find some hints in /var/log/maillog.

For a working reject you should find a line like:
Jul 25 14:31:09 myserver postfix/cleanup[1112]: 17B8330C3E41: milter-reject: END-OF-MESSAGE from[]: 5.7.1 Matched map: FROM_BLACKLIST; from=<blockedmail@domain.tld> to=<> proto=ESMTP helo=<>

Please post your config:

config show rspamd

Hi @mrmarkuz,

Thank you
and please let try to blacklist account that similar


You’re right. It seems that’s the way gmail works, to blacklist gmail just leave the dot like

1 Like

I can confirm this. Some more info:

There is a catch tho … Google Apps dont ignore them afaik


Thank you for your information
Anyway, I try to blocked some domain that suffixes ".date" but there are auto generate like a

I mean, domains are auto generate and change the name.
Please help step to blacklist “.date
Thank you

Did you try *.date ad blacklist entry?

The system is not allow