• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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