Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th March 2007, 17:24
anders_georgsson anders_georgsson is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 2.2.11/FC 5 -- No Spam Scanning?

I have setup a machine with the excellent "Perfect Core 5" installation
followed by the 2.2.11 ISPConfig installation but my system aren't
scanning for spam! I have "MailScan" OFF,
"Antivirus" and "Spamfilter" both ON ... I don't see any headers
that would lead me to think it even went thru the filters.....

Got any advice on what to look at?
My /var/www/web1 has a .procmailrc that lists a number of
"INCLUDERC" and on of them points to my
/var/www/web1/user/web1_anders/.spamassassin.rc

Help
Reply With Quote
Sponsored Links
  #2  
Old 29th March 2007, 09:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

The spam scanning headers are only added above a treshhold and not in every mail.

To Test spamassassin, run:

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin

if it does not return any error everything is fine. You can then leave SpamAssassin by typing
" CTRL + c".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th March 2007, 17:38
anders_georgsson anders_georgsson is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Okay - so spamassasin is working .. but..?

Thanks, Till: I tried running the spamassassin, and didn't get anything
on my terminal, so I guess it's working... By what process is spamassassin
called? I mean; Since spamassassin apperantly works - what makes the mail go through it... I'm used to seeing a .procmail in each users directory but apperantly ISPConfig does this in some other fashion.....

Again, thanks for your help


Quote:
Originally Posted by till
The spam scanning headers are only added above a treshhold and not in every mail.

To Test spamassassin, run:

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin

if it does not return any error everything is fine. You can then leave SpamAssassin by typing
" CTRL + c".
Reply With Quote
  #4  
Old 30th March 2007, 03:54
anders_georgsson anders_georgsson is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question Spamassassin - Perl problem?!?!?!

When I run:

cat ~web1_anders/Maildir/new/1175219361.15688_2.host.domain.tld | /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-file=/var/www/web1/user/web1_anders/.user_prefs

I get:

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so: undefined symbol: Perl_sv_2uv_flags

What can I do about this?!

/Thank You


Quote:
Originally Posted by till
The spam scanning headers are only added above a treshhold and not in every mail.

To Test spamassassin, run:

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin

if it does not return any error everything is fine. You can then leave SpamAssassin by typing
" CTRL + c".
Reply With Quote
  #5  
Old 30th March 2007, 10:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

The error occurs in a file that belongs to your fedor 5 perl installation. Have you installed all fedora 5 updates for perl?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 30th March 2007, 13:39
anders_georgsson anders_georgsson is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question Not sure about the updates...

I did quite a few updates before installing ISPConfig,
would you know what package I'd have to check?

As always - very thankful

/Anders

Quote:
Originally Posted by till
The error occurs in a file that belongs to your fedor 5 perl installation. Have you installed all fedora 5 updates for perl?
Reply With Quote
  #7  
Old 30th March 2007, 15:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I think you can run
Code:
yum update
This should install all available updates.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 30th March 2007, 17:48
anders_georgsson anders_georgsson is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Thank You!!! Spamassassin works after updating!

I ran "yum -y UPDATE" and it took quite a while,
but it surely fixed it!! AWESOME help falko!
Thank You!

Quote:
Originally Posted by falko
I think you can run
Code:
yum update
This should install all available updates.
Reply With Quote
  #9  
Old 30th April 2007, 01:03
roadster roadster is offline
Junior Member
 
Join Date: Apr 2007
Location: UK
Posts: 18
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till
The spam scanning headers are only added above a treshhold and not in every mail.

To Test spamassassin, run:

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin

if it does not return any error everything is fine. You can then leave SpamAssassin by typing
" CTRL + c".
I'm not getting any spam headers on a test account (early days with system setup!). I added the external account I was sending the test mail from to the spam blacklist for the test account ..... it just lets it through!

I've run the command to test spamassassin and had no errors returned. Using FC5 Perfect Setup.

Thanks!
--
Roadster Chris
Reply With Quote
  #10  
Old 30th April 2007, 10:05
roadster roadster is offline
Junior Member
 
Join Date: Apr 2007
Location: UK
Posts: 18
Thanks: 2
Thanked 2 Times in 2 Posts
 
Default

Solved! This post proved useful:

http://www.howtoforge.com/forums/sho...spam+detection

Running FC5 / Postfix. Needed to update Perl. Checked:

/usr/bin/spamd
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so: undefined symbol: Perl_sv_2uv_flags

rpm -q perl spamassassin perl-Net-DNS
perl-5.8.8-4
spamassassin-3.1.0-5.fc5.2
perl-Net-DNS-0.59-1.fc5

perl-5.8.8-5 works fine:

/usr/bin/spamd
[19881] info: spamd: server started on port 783/tcp (running version 3.1.0)
[19881] info: spamd: server pid: 19881
[19881] info: spamd: server successfully spawned child process, pid 19883
[19881] info: spamd: server successfully spawned child process, pid 19884
[19881] info: prefork: child states: II

X-Spam headers now in mails and blacklisted account identified.

--
Roadster Chris
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
In ISPconfig whitelist but still seen as spam edge Installation/Configuration 12 5th September 2007 00:30
Ispconfig and spam Eleanor Installation/Configuration 23 20th February 2007 16:36
postfix, backup mx host + spam and virus scanning enabled rdeussen Tips/Tricks/Mods 6 6th November 2006 14:12
Spam Suggestion for ISPConfig jfruano Feature Requests 4 29th June 2006 16:11
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


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


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