Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th December 2006, 00:58
sushestvo sushestvo is offline
Member
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Question Add Webmin to the system

I have ISPConfig installed on my fedora core 4 box. Haven't changed anything in a long time, everything works just fine. Except I get insane amount of SPAM. SpamAssassin lets it all through, gives most very little score, some even 0 - like those stock emails. I do have blacklists setup to help - i think 4-5 of them (like spamhaus), but i get about 100 emails a day of spam... ennoying))))
So since spamassassin cannot do it very well on its own - I want to help by setting up header/body checks. I know I can do it from SSH, but it's easier to have web interface to do such things.
So my question - is it ok to install Webmin on top of everything to manage SpamAssassin?
Reply With Quote
Sponsored Links
  #2  
Old 20th December 2006, 02:38
bluethunder82 bluethunder82 is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 0
Thanked 9 Times in 5 Posts
Default

What setting do you have set for spamassassin?

Also, have you updated spamassassin's checks using sa-update?

Currently I'm rejecting ~2500 messages using a few custom RBLs, and about ~1500 messages using spamassassin. I'd say something could be wrong with your setup.

From when I used webmin you need to have spamassassin installed in the default location, whereas ISPConfig has it installed within the /home/ directory.
Reply With Quote
  #3  
Old 20th December 2006, 06:28
sushestvo sushestvo is offline
Member
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What settings are talking about?
I don't do any updates since I thought ISPConfig suppose to update SA by itself. Am I wrong?
WHere can I look at some statistics of how many|what gets rejected.


As far as I remember right, u can change the path for SA within Webmin.
Reply With Quote
  #4  
Old 20th December 2006, 10:39
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,410
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Webmin and ISPConfig does not work well togehter, as webmin does not recognice the ISPConfig configuration well and you might destroy your setup when using webmin.

I recommend to install razor, pyzor ind dcc in a first step and enable it in the spamassassin configuration under /home/admispconfig/ispconfig/tools/spamassassin/

sa-update is not run by ISPconfig, but you will find it in the above path too.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th December 2006, 21:49
sushestvo sushestvo is offline
Member
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are there any other packages besides webmin that can manage spam assassin? Without interfearing with ISPConfig?

Also what is razor, pyzor anyway?

ANd how do I make SA update itself?
Reply With Quote
  #6  
Old 20th December 2006, 22:22
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
Default

Quote:
Originally Posted by till
Webmin and ISPConfig does not work well togehter, as webmin does not recognice the ISPConfig configuration well and you might destroy your setup when using webmin.

I recommend to install razor, pyzor ind dcc in a first step and enable it in the spamassassin configuration under /home/admispconfig/ispconfig/tools/spamassassin/

sa-update is not run by ISPconfig, but you will find it in the above path too.
Actualy it's in:
Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin
Running sa-update gives me an bash: sa-update: command not found error

When I run: ./sa-update in
Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin
I get this error:
Code:
Can't locate Archive/Tar.pm in @INC (@INC contains: /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4 /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at ./sa-update line 94.
BEGIN failed--compilation aborted at ./sa-update line 94.
Reply With Quote
  #7  
Old 21st December 2006, 10:47
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,410
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Archive/Tar.pm is a perl module. Please install this perl module from your linux distribution and try to run the command again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 21st December 2006, 14:33
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
Default

Quote:
Originally Posted by till
Archive/Tar.pm is a perl module. Please install this perl module from your linux distribution and try to run the command again.
Till,

This server is setup with the "The Perfect Setup - Debian Sarge (3.1)" howto.
Did I miss somethig with the setup, or is this "install this perl module" an extra thing that I need to do?
Reply With Quote
  #9  
Old 21st December 2006, 14:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,410
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

ISPConfig does not use the sa-update script, so it might be that this perl dependency is not covered by the howto.

Please run:

apt-get install libarchive-tar-perl
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 21st December 2006, 15:14
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
 
Default

Quote:
Originally Posted by till
ISPConfig does not use the sa-update script, so it might be that this perl dependency is not covered by the howto.

Please run:

apt-get install libarchive-tar-perl
Okay, the
Code:
apt-get install libarchive-tar-perl
did fix the problem.

After running "./sa-update", it created a new directory;
Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassassin/3.001007/updates_spamassassin_org/
In this directory I see all the new downloaded "rules"

Is this all I need to do, or do I need to set something in a config file to use the new rules?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig stop working after i add a new site xTiNcTion Installation/Configuration 4 5th January 2007 23:55
Virtual Users And Domains With Postfix, Courier And MySQL wmrwl HOWTO-Related Questions 73 6th October 2006 23:06
Update your webmin if you use it! edge Server Operation 0 24th September 2006 14:33
webmin and Debian flo Installation/Configuration 2 4th August 2006 15:36
Have to manually add virtual server without WWW? lipp9000 Installation/Configuration 8 21st July 2006 15:54


All times are GMT +2. The time now is 17:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.