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!

SpamAssassin not checking

Discussion in 'E-mail Discussion' started by sparek-3, Feb 1, 2009.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,774
    Likes Received:
    120
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    I have a server and SpamAssassin is not checking any of the messages for spam. The exim_mainlog just has entries of:

    Warning: "SpamAssassin as user detected message as NOT spam ()"

    what is a setting that I need to check to insure that exim is properly passing the messages on to SpamAssassin?
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    Is spamd running?

    /scripts/restartsrv_spamd
     
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,774
    Likes Received:
    120
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Yea. When I run just spamd from the command line, I'm getting a lot of Out of memory messages:

    Code:
    [2639] info: spamd: server started on port 783/tcp (running version 3.2.4)
    [2639] info: spamd: server pid: 2639
    [2639] info: spamd: server successfully spawned child process, pid 2649
    [2639] info: spamd: server successfully spawned child process, pid 2650
    [2639] info: prefork: child states: IS
    [2639] info: prefork: child states: II
    [2649] info: spamd: connection from localhost [127.0.0.1] at port 34394
    [2649] info: spamd: setuid to user succeeded
    Out of memory!
    [2639] info: prefork: child states: BI
    [2639] info: spamd: handled cleanup of child pid 2649 due to SIGCHLD
    [2639] info: spamd: server successfully spawned child process, pid 2679
    [2639] info: prefork: child states: II
    [2650] info: spamd: connection from localhost [127.0.0.1] at port 34395
    [2650] info: spamd: setuid to user succeeded
    [2650] info: spamd: checking message <220343a3d18594bc5137a4030455c97f@localhost.localdomain> for user:32949
    Out of memory!
    I bet this is the problem, but I don't know what the problem is. I don't think the server is out of memory.

    Code:
    root@server [~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:          3948       3045        903          0        200       2409
    -/+ buffers/cache:        434       3514
    Swap:         1992          0       1992
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider

    Try moving away the .spamassassin dir in the affected user's directory
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    Probably the best bet is to open a ticket as I'm out of guesses.

    https://tickets.cpanel.net/submit/
     
  6. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,774
    Likes Received:
    120
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Seems to affect every user, not any one particular user.

    I did try sending the GTUBE string to an e-mail address on the server, it showed the same symptoms. I then renamed the .spamassassin directory for that user to .spamassassin.out and tried the GTUBE string again, and got the same results.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice