Skip to main content

SpamAssassin or other means of whitelisting by TO address?

Comments

10 comments

  • cPanelMichael
    Hello @JJ Johnson, As a website owner, one approach to ensure you receive these emails is to setup a custom email filter using cPanel >> Global Email Filters that forwards these emails to the email address you want to receive them at. Here's an example: 53147 You'd need to replace "MailingListName" to a term or phrase that always appears in messages from that mailing list. Thank you.
    0
  • JJ Johnson
    So it would appear that these global filters are executed after SpamAssassin has evaluated the message and rewritten the headers and subject, correct? If so, forwarding the email isn't going to remove the rewritten SUBJECT containing the prefix of "***SPAM***", which is what I need in order for my mail client to classify them as anything but junk mail. Is it possible for my hosting provider to create a custom SpamAssassin whitelist rule that filters on the TO address?
    0
  • kdean
    You can edit in your account folder: .spamassassin/user_prefs add: whitelist_to email@address.com Even though it won't show in the user interface, it will be preserved.
    0
  • JJ Johnson
    Thank you. I think that just might work. After editing the file by hand, I made sure that it survived changes made in the web interface, and it did. :)
    0
  • MikeKM
    You can edit in your account folder: .spamassassin/user_prefs add: whitelist_to email@address.com Even though it won't show in the user interface, it will be preserved.

    Did cPanel change something? I cannot get our dedicated instance through Lunarpages to respect the whitelist_to line in the user_prefs file. Does it matter where in the file those lines are placed?
    0
  • cPanelMichael
    Did cPanel change something? I cannot get our dedicated instance through Lunarpages to respect the whitelist_to line in the user_prefs file. Does it matter where in the file those lines are placed?

    Hello @MikeKM, I'm seeing the same behavior when testing this internally. Unfortunately, since the use of whitelist_to isn't a supported SpamAssassin configuration from the user level in cPanel >> Spam Filters, it's not something that we consider a bug. I encourage you to open a feature request for the ability to define a whitelist_to entry from the user level with SpamAssassin:
    0
  • JJ Johnson
    Damnit. That explains why I've begun seeing these mailing list messages classified as spam once again.
    0
  • cPanelMichael
    Hi @MikeKM, Could you open a
    0
  • GoWilkes
    Sorry for bumping an old thread, but can anyone confirm whether whitelist_to is functional now?
    0
  • cPRex Jurassic Moderator
    I'm not finding that added to any of the recent docs and I don't see that there is a feature request opened with those details.
    0

Please sign in to leave a comment.