Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Feb 2011
    Posts
    19

    Default spamd failed - Need help stopping this email coming to me

    For the last 2 days I seem to be getting this email every hour or so. Any idea why this is the case and what i can do to resolve it?

    spamd failed @ Thu Feb 17 11:38:01 2011. A restart was attempted automagically.
    Service Check Method: [check command]

    Cmd Service Check Raw Output: Spamd is not running Raw Output: Subject: Test spam mail (GTUBE)
    Message-ID: <GTUBE1.1010101@example.net>
    Date: Wed, 23 Jul 2003 23:30:00 +0200
    From: Sender <sender@example.net>
    To: Recipient <recipient@example.net>
    Precedence: junk
    MIME-Version: 1.0
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    This is the GTUBE, the
    Generic
    Test for
    Unsolicited
    Bulk
    Email

    If your spam filter supports it, the GTUBE provides a test by which you can verify that the filter is installed correctly and is detecting incoming spam. You can send yourself a test mail containing the following string of characters (in upper case and with no white spaces and line breaks):

    XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

    You should send this test mail from an account outside of your network.

  2. #2
    Member
    Join Date
    May 2004
    Location
    new york
    Posts
    98

    Default Re: spamd failed - Need help stopping this email coming to me

    I am seeing same message on two servers - both are Centos - no such message on a Fedora server

  3. #3
    Member
    Join Date
    Feb 2008
    Posts
    18

    Default Re: spamd failed - Need help stopping this email coming to me

    Install the cpanel plugin "spamdconf" via your WHM, reload WHM and click "Setup Spamd Startup Configuration" on your menu.

    Then, you'll need to try higher values for "Maximum Children" and "Maximum Connections Perl Child". I have mine setup as:
    Maximum Children:8
    Allowed IPs: 127.0.0.1
    Maximum Connections Perl Child:4

    Please note that you'll have a higher cpu and ram usage after you change those options.

  4. #4
    Member plague's Avatar
    Join Date
    Sep 2006
    Location
    Brasil
    Posts
    43
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: spamd failed - Need help stopping this email coming to me

    Hi

    This is happening in a fewer servers I have, after the upgrade to 11.32. The error tends to appear on monday (don't know why).
    I think the problem is with the "restartsrv" script because if I try to restart the service with "/scripts/restartsrv spamd" spamd will fail with this on logs:

    Code:
    May  2 09:19:23 tucano spamc[25399]: connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused
    May  2 09:19:24 tucano spamc[25399]: connect to spamd on 127.0.0.1 failed, retrying (#2 of 3): Connection refused
    May  2 09:19:25 tucano spamc[25399]: connect to spamd on 127.0.0.1 failed, retrying (#3 of 3): Connection refused
    May  2 09:19:26 tucano spamc[25399]: connection attempt to spamd aborted after 3 retries
    (spamc ?)

    If I restart it using "/scripts/restartsrv_spamd" it comes up and running again, without any errors. I guess WHM automatically restarts use the first command line, is it possible?
    I'm about to submit a ticket for this, but if anyone could help...

  5. #5
    Member
    Join Date
    Nov 2009
    Posts
    6

    Default Re: spamd failed - Need help stopping this email coming to me

    Had the same problem this morning after an XML-LibXML cPanel update (Successfully installed XML-LibXML-1.97 (upgraded from 1.96)).
    Installed the spamdconf and set "Allowed IPs: 127.0.0.1" and all was working fine again.

    The first Checkd email I received contained the following:
    Cmd Service Check Raw Output: Spamd is not running
    Raw Output:


    Startup Log: Apr 5 02:46:00.192 [26095] warn: Argument "" isn't numeric in addition (+) at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/NetSet.pm line 122.
    Apr 5 02:46:00.192 [26095] warn: oops! unparseable IPv6 address for 127/8: 319197872 at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/NetSet.pm line 128.
    Apr 5 02:46:00.193 [26095] warn: oops! unparseable IPv6 address for 127/8: 319198368 at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/NetSet.pm line 128.
    Thanks for the posting!

Similar Threads & Tags
Similar threads

  1. Exim failed, Spamd failed
    By GoWilkes in forum E-mail Discussions
    Replies: 11
    Last Post: 04-06-2008, 10:18 AM
  2. Problem with spamd / email not coming
    By r4f4lek in forum E-mail Discussions
    Replies: 2
    Last Post: 06-19-2007, 07:55 AM
  3. Getting spamd failed but i turned spamd off?
    By hostultra in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-06-2006, 02:33 PM
  4. spamd failed email messages
    By binkatl in forum E-mail Discussions
    Replies: 17
    Last Post: 02-02-2005, 01:23 PM
  5. spamd failed
    By carperman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-25-2003, 05:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube