1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'Plesk for Linux - 8.x and Older' started by Alexiznn, Jul 12, 2008.

  1. Alexiznn

    Alexiznn Guest

    0
     
    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
     
  2. hakito

    hakito Guest

    0
     
    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
     
  3. Alexiznn

    Alexiznn Guest

    0
     
    Thx a lot!

    Will it work:
    Code:
    blacklist_from *@
    
    ?
     
  4. hakito

    hakito Guest

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