• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

HOWTO: delete all incoming messages with email like bla-bla-bla@

A

Alexiznn

Guest
Hello,

I try to add email *@ in PSA > Server > Set Up Server-wide Spam Filter > Add Addresses
and get Error: The following e-mail addresses are invalid: *@
but incoming spam has From: blablabla <bla@> in headers

How can i ban all emails with such From header?

Tnx, Alex
 
Hi!

You could add the addresses to the spamassassin blacklist in the config files. Either you add it for a specific mailbox in ~/.spamassassin/user_prefs or you define it site-wide in the local.cf

blacklist_from *@domain.tld

greets
 
if incoming mails have no domain name why don't you use sender verification and deny emails coming from non existing domains?
 
Back
Top