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.

Several error notices when using Spamassassin

Discussion in 'General Discussion' started by rhm.geerts, Sep 12, 2008.

  1. rhm.geerts

    rhm.geerts Active Member

    Joined:
    Jul 29, 2008
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Maastricht
    cPanel Access Level:
    Root Administrator
    Friend of mine has a server which I administrate for him.

    We wanted to enable the automatic spam deletion for the users accounts with spamassassin.
    No problem there except for 1 user. We login with his account, click the option to enable auto-deletion with spamscore of 5 and get an error notice:
    Code:
    [a fatal error or timeout occurred while processing this directive]$h_X-Spam-Bar: contains "+++++" was added. 
    When selecting the error notice with the mouse and pasting it somewhere else, a big notice appears:
    Code:
    Enabling SpamAssassin filtering
    
    Adding filter rule to discard messages with 
    
    Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.6.2/i686-linux/YAML/Syck.pm line 72.
    	YAML::Syck::Load(undef) called at /usr/local/cpanel/Cpanel/DataStore.pm line 68
    	eval {...} called at /usr/local/cpanel/Cpanel/DataStore.pm line 50
    	Cpanel::DataStore::load_ref('/home/abauton/.cpanel/filter.yaml', 'HASH(0xa4ae20c)') called at /usr/local/cpanel/Cpanel/DataStore.pm line 38
    	Cpanel::DataStore::fetch_ref('/home/abauton/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 3375
    	Cpanel::Email::_fetchfilter('/home/abauton/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 457
    	Cpanel::Email::addspamfilter() called at cpanel.pl line 3534
    	main::doemail('addspamfilter') called at cpanel.pl line 1772
    	main::exectag('<cpanel Email="addspamfilter()">') called at cpanel.pl line 4737
    	main::dotag(undef) called at cpanel.pl line 4620
    	main::cpanel_parseblock('SCALAR(0x917cafc)') called at cpanel.pl line 4572
    	main::cpanel_parse('GLOB(0xa0b3b20)') called at cpanel.pl line 1312
    
    [a fatal error or timeout occurred while processing this directive]$h_X-Spam-Bar: contains "+++++" was added. 
    
    Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.6.2/i686-linux/YAML/Syck.pm line 72.
    	YAML::Syck::Load(undef) called at /usr/local/cpanel/Cpanel/DataStore.pm line 68
    	eval {...} called at /usr/local/cpanel/Cpanel/DataStore.pm line 50
    	Cpanel::DataStore::load_ref('/home/abauton/.cpanel/filter.yaml', 'HASH(0xa4ae230)') called at /usr/local/cpanel/Cpanel/DataStore.pm line 38
    	Cpanel::DataStore::fetch_ref('/home/abauton/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 3375
    	Cpanel::Email::_fetchfilter('/home/abauton/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 4065
    	Cpanel::Email::disable_spam_autodelete() called at cpanel.pl line 399
    	main::__ANON__() called at cpanel.pl line 1773
    	main::exectag('<cpanel Email="disable_spam_autodelete()">') called at cpanel.pl line 4737
    	main::dotag(undef) called at cpanel.pl line 4620
    	main::cpanel_parseblock('SCALAR(0x917cafc)') called at cpanel.pl line 4572
    	main::cpanel_parse('GLOB(0xa0b3b20)') called at cpanel.pl line 1312
    
    [a fatal error or timeout occurred while processing this directive]
    
    Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.6.2/i686-linux/YAML/Syck.pm line 72.
    	YAML::Syck::Load(undef) called at /usr/local/cpanel/Cpanel/DataStore.pm line 68
    	eval {...} called at /usr/local/cpanel/Cpanel/DataStore.pm line 50
    	Cpanel::DataStore::load_ref('/home/abauton/.cpanel/filter.yaml', 'HASH(0xa4aa248)') called at /usr/local/cpanel/Cpanel/DataStore.pm line 38
    	Cpanel::DataStore::fetch_ref('/home/abauton/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 3375
    	Cpanel::Email::_fetchfilter('/home/abauton/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 457
    	Cpanel::Email::addspamfilter(5) called at /usr/local/cpanel/Cpanel/Email.pm line 4081
    	Cpanel::Email::enable_spam_autodelete(5) called at cpanel.pl line 394
    	main::__ANON__(5) called at cpanel.pl line 1773
    	main::exectag('<cpanel Email="enable_spam_autodelete($FORM{\'score\'})">') called at cpanel.pl line 4737
    	main::dotag(undef) called at cpanel.pl line 4620
    	main::cpanel_parseblock('SCALAR(0x917cafc)') called at cpanel.pl line 4572
    	main::cpanel_parse('GLOB(0xa0b3b20)') called at cpanel.pl line 1312
    
    [a fatal error or timeout occurred while processing this directive]$h_X-Spam-Bar: contains "+++++"
    When looking at the Cpanel error log I also see another thing:

    And a lot more. Thise only happens with 1 user account. With other user accounts we can enable this option without a problem or error notices.

    How can we fix this, if possible without removing users account?
    We just updated everything so we are using the latest stable release of Cpanel.
     
Loading...

Share This Page