Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

SOLVED 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:
    4
    Likes Received:
    1
    Trophy Points:
    78
    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:
    38,659
    Likes Received:
    1,428
    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:
    4
    Likes Received:
    1
    Trophy Points:
    78
    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:
    38,659
    Likes Received:
    1,428
    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.
     
  5. Ricardo Mecca

    Ricardo Mecca Registered

    Joined:
    Jul 27, 2017
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    78
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Ok, depois de muitos estudos. Encontrei uma solução. Ao desabilitar todos os RBLs, habilitando greylisting e em cada conta de e-mail, criei um filtro de e-mail que envia os e-mails de pontuação acima de 2 para a pasta Junk.

    (Translate from Portuguese Brazilian)
     
    cPanelMichael likes this.
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see you were able to address the issue. Thank you for updating us with with the outcome.

    Translation:

    Olá,

    Fico feliz em ver que você conseguiu resolver o problema. Obrigado por nos atualizar com o resultado.
     
Loading...

Share This Page