The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Send SPAM to SPAMBOX

Discussion in 'General Discussion' started by Ricardo Mecca, Jul 27, 2017.

Tags:
  1. Ricardo Mecca

    Ricardo Mecca Registered

    Joined:
    Jul 27, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    76
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Can help me forward all emails that are considered SPAM to the spam folder of the email accounts on my cPanel server.

    Sorry my English!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello Ricardo,

    You can enable the following option under the "Mail" tab in "WHM >> Tweak Settings":

    "Enable Apache SpamAssassin™ Spam Box delivery for messages marked as spam (user configurable)"

    Then, from within cPanel, users can browse to the SpamAssassin option and click on the "Enable Spam Box" feature. This feature is documented at:

    Enable Spam Box

    There's no way to automatically enable this for all cPanel accounts, but the following post offers some workaround instructions if that's what you are seeking:

    Deliver Spam to Spam folder, globally

    Thanks!
     
  3. Ricardo Mecca

    Ricardo Mecca Registered

    Joined:
    Jul 27, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    76
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Thanks for the reply, but I tried these methods and keep going to the main box when the email is not filtered!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you post the output from /var/log/exim_mainlog for one of the affected messages? EX:

    Code:
    exigrep MSGID /var/log/exim_mainlog
    Replace "MSGID" with the message ID of one of the messages, as found in it's email header. Also, ensure to replace real domain names and IP addresses with examples when pasting the output.

    Thank you.
     
Loading...

Share This Page