Spam Assassin fails to start

Discussion in 'Installation/Configuration' started by mini14, Oct 13, 2010.

  1. mini14

    mini14 New Member

    Howdy,

    Centos 5.5 perfect server, ISPConfig2 Latest version.

    I've had this server up and running for about a week now and got to playing to figure out why SpamAssassin doesn't seem to be working. I tried /etc/init.d/spamassassin restart and start and received this message:

    HTML:
     [[email protected] init.d]# spamassassin restart
    
    Oct 13 11:29:21.090 [31614] warn: archive-iterator: no access to restart: No such file or directory at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/ArchiveIterator.pm line 771.
    
    Oct 13 11:29:21.090 [31614] warn: archive-iterator: unable to open restart: No such file or directory 
    Clues would be greatly appreciated!
     
  2. mini14

    mini14 New Member

    bump bump?
     
  3. falko

    falko Super Moderator ISPConfig Developer

    Can you try to uninstall and reinstall SpamAssassin?

    Which tutorial (URL) did you use?
     
  4. mini14

    mini14 New Member

    Hi Falko,

    Not sure which URL it was but it was the centos 5 32 bit perfect server installation and the newest ISPConfig2 (last week)

    I will try uninstalling/reinstalling later but right now I'm scratching my head to figure out why perl scripts are not running in either cgi-bin or root web directories. I get 403 errors in the main web directory and 500 errors in the cgi-bin but yet it runs fine in the ssh shell ---and this is only your basic "hello world" test script.
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Are you sure it was the tutorial for ISPConfig 2 and not for ISPConfig 3?
     
  6. mini14

    mini14 New Member

  7. falko

    falko Super Moderator ISPConfig Developer

    But we don't install SpamAssassin in that tutorial... It comes with ISPConfig 2, but has different paths from what you posted here... :confused:
     
  8. mini14

    mini14 New Member

    I suppose that's why it's not there...because it wasn't installed.

    The option exists in ISPConfig to turn it on per account so I thought it was installed. I thought that after following the server setup and installing ISPConfig2, any options shown in ISPConfig would be available like spamassassin and FrontPage. Guess I need to chase down some more info on how to get both of them properly installed although from what I've found so far it doesn't look good for FrontPage with Apache2.
     
    Last edited: Oct 15, 2010
  9. falko

    falko Super Moderator ISPConfig Developer

    ISPConfig 2 comes with SpamAssassin, but it's installed in different locations, so I guess that there's a SpamAssassin installed from the CentOS repositories on your system which is generating the error messages.
     
  10. mini14

    mini14 New Member

    Good Morning, (or afternoon over there in Deutchland!)

    I took a day off yesterday and let my brain heal up a bit :rolleyes:

    Ok...Spamassassin service is up but no dice on it actually doing anything,

    Could you please point me to configuration files that I need to look at?

    Thank you!

    BTW.. Have a Spaten for me! We get it here but I'm sure it's much better closer to the source! The last time I was over there was in 1973.
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Did you enable SpamAssassin for your email accounts in ISPConfig? That should be all you need to do. :)
     
  12. mini14

    mini14 New Member

    Hi Falko,

    Yes it is turned on as best as I can tell...One particular email address is one I've had for years and it gets hit hard with spam.

    In the ISP manager I checked for that domain and it's enabled...and on that particular email account I checked--mail scan is enabled on the advanced settings tab and on the spamfilter and antivirus settings tab both scan and spam are checked. I did not mess with the other options on that page (set to level five and accept with the subject rewrite set to ***SPAM***)

    Is there somewhere else I should check?

    I appreciate the help getting up to speed on your system!
     
  13. falko

    falko Super Moderator ISPConfig Developer

    Does
    Code:
    /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --lint
    report any errors?

    Also, you can run
    Code:
    /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update --no-gpg
    to download the latest SpamAssassin rules.
     
  14. mini14

    mini14 New Member

    Ok.. ran the "spamassassin --lint" command and it said:
    config: no rules were found! Do you need to run 'sa-update'?

    So I did.. and then ran the first command again and got no message back. Should be ok now?

    Thanks for your help!
     
  15. mini14

    mini14 New Member

    Woo Hoo :D

    Working good now!

    Is the update something I need to setup as a cron job or should it be automatic now?

    Answered my own question...there's a cron setup for that.

    Thanks again for your help!
     
    Last edited: Oct 21, 2010

Share This Page