Skip to main content

SpamAssassin "Do not forward mail to external recipients"

Comments

6 comments

  • cPanelMichael
    Hello, It's possible this relates to an existing internal case (CPANEL-6571). Could you verify if a double forwarder is configured for the affected email account? For example:
    user1@domain.tld forwards to user2@domain.tld user2@domain.tld forwards to remote-user@remote-domain.tld
    Thank you.
    0
  • Erik Stackhouse
    Thanks for getting back to me. I don't think I have any mail accounts configured that way. It's a case of a mail user having an actual account, e.g.: user1@domain.tld AND also having a forwarder set up: user1@domain.tld forwards to: remote-user@remote-domain.tld when the setting for "Do not forward mail to external recipients if it matches the Apache SpamAssassin" internal spam_score setting" is set to "On" -- nothing goes into the spam box. If I turn that setting off, then spam starts getting stored in the spam box. Thanks Again, -Erik
    0
  • cPanelMichael
    Hello, I believe this is a separate issue from CPANEL-6571. Could you open a support ticket using the link in my signature so we can take a closer look and see what's happening? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • Erik Stackhouse
    Okay, I opened a ticket: 8569599 Thanks!
    0
  • Erik Stackhouse
    Hello, The technician that handled my ticket suggested that I remove the forwarder and create a filter, and I found that indeed, if I remove the forwarder, and create two filters, one that saves the message to the inbox, and another that redirects it to the address I want to forward to, it works exactly as I want. The spam is not forwarded, but it is still saved on the server, so it can be examined. I can find all the accounts set up this way in /etc/valiases, comparing with actual mailboxes, but I'm having trouble locating where the account level email filters are saved on disk. I looked in /etc/vfilters -- but they're not there! I guess that's only for global filters? Where are the account-level filters stored? They've gotta be somewhere... Thanks.
    0
  • cPanelMichael
    Hello Erik, Filters for individual email accounts are stored in the following directory: /home/$username/etc/$domain/$email-account/ Thank you.
    0

Please sign in to leave a comment.