Skip to main content

Incoming Spam |where 'TO' address is "undisclosed-recipients:"

Comments

9 comments

  • rpvw
    where 'TO' address is "undisclosed-recipients:"

    This normally occurs if the mail only had a BCC address and no 'To' address. You should be able to create a mail filter something along the lines of "If 'To' does not contain '@domainname.tld' discard message"
    WARNING I have not tested this rule: use with care and test thoroughly before deploying it on any mission-critical email account.
    0
  • Tarak Nath
    Thank you @rpvw for the response. We have created a global rule as per attached screenshot. Will it works ? Or need to change any. Regards, Tarak Nath
    0
  • rpvw
    I am not sure if the 'undisclosed-recipients' is added by end user mail software or webmail, or by exim itself. Run some tests using the filter test dialogue on the filter Current filter page. You may need to add an 'OR' to additionally test for an empty string or the lack of a @ in the 'To' line (you could base the whole filter on the lack of the @ character)
    0
  • cPanelLauren
    I am not sure if the 'undisclosed-recipients' is added by end user mail software or webmail, or by exim itself.

    We could find out if we saw the headers i'd assume, or better yet the exim transaction, as far as I'm aware nothing cPanel does would add this without some heavy customization of the Exim System Filter. @Tarak Nath is this something you can provide? Also, welcome back @rpvw :)
    0
  • Tarak Nath
    Hello @cPanelLauren , What should I provide ? Full email header ? Just asking, above Global Filter would not work? Regards, Tarak Nath
    0
  • keat63
    Provide the full email header but take out any information which could be compromised. Obscure parts of the IP address and the domain name of any email addresses that you don't wish to divulge.
    0
  • Tarak Nath
    Hello, Please find the attached screenshot for email header. Hidden our domain and server hostname only. Regards, Tarak Nath
    0
  • cPanelLauren
    All that indicates is that the message was BCC'd as @rpvw suggested earlier, it's added by the software sending the mail when the BCC option is selected. You might even stop looking at the "to" field and select "any header" "contains" "undisclosed-recipients"
    0
  • Tarak Nath
    Hello @cPanelLauren , Thank you for the update. As per you and what I have understand, I have updated the rule. It will be great help if you please check the attached updated rule and confirm me that whether I have set up correctly or not. Regards, Tarak Nath
    -1

Please sign in to leave a comment.