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.

SpamAssassin Problems - spamd failed, message queue clogging up

Discussion in 'General Discussion' started by graham_w, Aug 29, 2005.

  1. graham_w

    graham_w Well-Known Member

    Joined:
    May 25, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Hi all

    Im running WHM 10.6.0 cPanel 10.6.0-R55, CentOS 3.5 i686 - WHM X v3.1.0

    Over the weekend I transferred the drives to a new server and got it all up and running. Everything was going fine, then it appeared that yesterday morning I started getting the spamd failed messages, and emails in the mail queue started clogging up. At the time I did a reboot, and everything seemed ok, then again this morning from about 4am I started getting the spamd failed messages again, with mail clogging up the queue again. Some messages (and it looks like messages to accounts with Spam Assassin enabled) are returning the error "transport filter timeout while writing to pipe"

    I disabled Spam Assassin and Spam Assassin Box, and mail is now flowing - unfortunately so is the spam - and im looking for a solution. Reinstalling Spam Assassin by using :

    /scripts/perlinstaller --force Mail::SpamAssassin
    /etc/rc.d/init.d/exim restart
    /scripts/restartsrv spamd

    didnt help, and neither did reinstalling Spam Assassin using rpm. Everytime I restart Spam Assassin, I get the spamd failed messages and the transport filter timeout error as above.

    Short of going to MailScanner, is there anything else I can try ?

    Thanks
    Graham
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Firstly, you do need to be sure and remove the spamassassin installed by rpm and use the cpan version instead.

    Then, run a lint test in spamassasin with debug enabled and watch for where it hangs/errors:

    spamassassin -D --lint
     
  3. graham_w

    graham_w Well-Known Member

    Joined:
    May 25, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Just for future reference, I uninstalled the rpm version, installed the cpan version and continued to have problems.

    So my "fix" was to have MailScanner installed (and not at the recommendation of anyone mind you - my own decision) and im very impressed and happy :) Thanks chirpy :)
     
  4. shiv

    shiv Member

    Joined:
    Jul 26, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangalore
    Here I have found this issue to be a spamassassin bug in Bayesian classifier.

    You can fix the issue with the mail delivery by disabling Bayesian classifier by adding


    Code:
    use_bayes 0 in the file /etc/mail/spamassassin/local.cf


    Let me know how it goes :)

    Hope spamassassin si aware of this bug by this time.
     
  5. techpoyil

    techpoyil Registered

    Joined:
    Mar 16, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    spam

    hello shiv,

    This did't work out..please dont post these type of reply.
    we need technical reply.

    regards,
    jijesh
     
  6. LS_Drew

    LS_Drew Well-Known Member

    Joined:
    Feb 20, 2003
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    16
    It worked just fine for me. Fixed the problem immediately. Those are exactly the type of replies we need around here. Ones that work.
     
Loading...

Share This Page