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 21st December 2006, 19:20
friday friday is offline
Member
 
Join Date: Oct 2006
Posts: 31
Thanks: 4
Thanked 0 Times in 0 Posts
Default Anyone figured out to integrate FuzzyOCR into ISPConfig on Ubuntu?

With image only spam on the rise, I went looking for a way to block this with the default postfix configs. But, I don't think postfix has become that advanced, yet....

But, after a few searches on google, I stumbled upon fuzzyocr, and it seems to have success with those who know how to install it with their spamassassin boxes. Unfortunately, I'm not as proficient with linux as these above people are, and rely heavily on falko's guides for much of my server's tasks.

I found this little howto:
http://www200.pair.com/mecham/spam/image_spam.html
but, his configurations are quite different than those of the default ISPconfig install on an Ubuntu box. I'll try to set up my own test box, but I don't think I'll get it right on the first, heck, second try. But, if anyone has any success installing fuzzyocr on a box similar to mine, please post your steps.

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 21st December 2006, 21:40
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

I'm going to do this, but not this year. I just completed the basic install of a Ubuntu 6.10 and ISPConfig and I'm now completing the configuration. I'll also be adding Shorewall / Snort to this setup, so lot's of work in the pipeline. First priority: holidays.

I'll be documenting my steps .......
Reply With Quote
  #3  
Old 22nd December 2006, 12:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

This software looks very interesting, I will have a look at it and how to integrate it in ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 26th March 2007, 02:18
bschultz bschultz is offline
Senior Member
 
Join Date: Jul 2006
Posts: 221
Thanks: 11
Thanked 10 Times in 10 Posts
Default

Has anyone gotten this to work? I tried following the howto linked above and it says that gifcicle is not available. If I Google gifcicle, I come across a image creation program. Is it the same?

Last edited by bschultz; 26th March 2007 at 02:20.
Reply With Quote
  #5  
Old 26th March 2007, 17:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Did you take a look at this tutorial? http://www.howtoforge.com/fight_imag...r_spamassassin
__________________
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
  #6  
Old 26th March 2007, 17:50
bschultz bschultz is offline
Senior Member
 
Join Date: Jul 2006
Posts: 221
Thanks: 11
Thanked 10 Times in 10 Posts
Default

Thanks, Falko. Missed that one.

Brian

EDIT... I still can't apt-get gifcicle. Here's the error:

Quote:
debian:~# apt-get install netpbm gifsicle libungif-bin gocr ocrad libstring-approx-perl libmldbm-sync-perl imagemagick tesseract-ocr

Reading Package Lists... Done
Building Dependency Tree... Done

netpbm is already the newest version.

Package gifsicle is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package gifsicle has no installation candidate

Last edited by bschultz; 26th March 2007 at 18:24.
Reply With Quote
  #7  
Old 26th March 2007, 19:41
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

I had the same message "Package gifsicle is not available" on my Debian Sarge system. I think it is only available for Ubuntu 6.10 and Debian Etch.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #8  
Old 27th March 2007, 16:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

It's available for Debian Sarge from backports.org: http://backports.org/debian/pool/main/g/gifsicle/
__________________
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
  #9  
Old 27th March 2007, 20:42
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

That's good to know!
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #10  
Old 28th March 2007, 02:35
bschultz bschultz is offline
Senior Member
 
Join Date: Jul 2006
Posts: 221
Thanks: 11
Thanked 10 Times in 10 Posts
 
Default

Falko,

Thanks for your help on this. I appreciate it.

I added the backports into my /etc/apt/sources list and everything went well with the how-to until I ran the test at the end. Here's the result:

Quote:
Subroutine FuzzyOcr::O_CREAT redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_EXCL redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_RDWR redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
[10777] warn: plugin: failed to parse plugin /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm: Can't locate FuzzyOcr/Logging.pm in @INC (@INC contains: /etc/mail/spamassassin lib /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 /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[10777] warn: BEGIN failed--compilation aborted at /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[10777] warn: plugin: failed to create instance of plugin FuzzyOcr: Can't locate object method "new" via package "FuzzyOcr" at (eval 202) line 1.
[10777] info: config: failed to parse line, skipping: focr_global_wordlist /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.words
[10777] info: config: failed to parse line, skipping: focr_bin_helper pnmnorm, pnminvert, convert, ppmtopgm, tesseract
[10777] info: config: failed to parse line, skipping: focr_path_bin /usr/local/netpbm/bin:/usr/local/bin:/usr/bin
[10777] info: config: failed to parse line, skipping: focr_preprocessor_file /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.preps
[10777] info: config: failed to parse line, skipping: focr_scanset_file /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.scansets
[10777] info: config: failed to parse line, skipping: focr_enable_image_hashing 2
[10777] info: config: failed to parse line, skipping: focr_digest_db /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.hashdb
[10777] info: config: failed to parse line, skipping: focr_db_hash /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.db
[10777] info: config: failed to parse line, skipping: focr_db_safe /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.safe.db
[10777] info: config: failed to parse line, skipping: focr_end_config
[10777] info: config: failed to parse line, skipping: use_dcc 1
[10777] info: config: failed to parse line, skipping: dcc_path /usr/bin/dccproc
[10777] info: config: failed to parse line, skipping: dcc_add_header 1
[10777] info: config: failed to parse line, skipping: dcc_dccifd_path /usr/sbin/dccifd
[10777] info: config: failed to parse line, skipping: pyzor_add_header 1
[10777] warn: rules: failed to run FUZZY_OCR_CORRUPT_IMG test, skipping:
[10777] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
[10777] warn: rules: failed to run FUZZY_OCR_WRONG_CTYPE test, skipping:
[10777] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
[10777] warn: rules: failed to run FUZZY_OCR_WRONG_EXTENSION test, skipping:
[10777] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
[10777] warn: rules: failed to run FUZZY_OCR_KNOWN_HASH test, skipping:
[10777] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
[10777] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[10777] warn: rules: failed to run FUZZY_OCR test, skipping:
[10777] warn: (Can't locate object method "fuzzyocr_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
debian:/# /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --debug FuzzyOcr < /usr/src/FuzzyOcr-3.5.1/samples/ocr-gif.eml > /dev/null
Subroutine FuzzyOcr::O_CREAT redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_EXCL redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_RDWR redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
[10807] warn: Parameter to use lib must be directory, not file at /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 22
[10807] warn: plugin: failed to parse plugin /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm: Can't locate FuzzyOcr/Logging.pm in @INC (@INC contains: /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin lib /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 /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[10807] warn: BEGIN failed--compilation aborted at /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[10807] warn: plugin: failed to create instance of plugin FuzzyOcr: Can't locate object method "new" via package "FuzzyOcr" at (eval 202) line 1.
[10807] info: config: failed to parse line, skipping: focr_global_wordlist /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.words
[10807] info: config: failed to parse line, skipping: focr_bin_helper pnmnorm, pnminvert, convert, ppmtopgm, tesseract
[10807] info: config: failed to parse line, skipping: focr_path_bin /usr/local/netpbm/bin:/usr/local/bin:/usr/bin
[10807] info: config: failed to parse line, skipping: focr_preprocessor_file /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.preps
[10807] info: config: failed to parse line, skipping: focr_scanset_file /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.scansets
[10807] info: config: failed to parse line, skipping: focr_enable_image_hashing 2
[10807] info: config: failed to parse line, skipping: focr_digest_db /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.hashdb
[10807] info: config: failed to parse line, skipping: focr_db_hash /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.db
[10807] info: config: failed to parse line, skipping: focr_db_safe /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.safe.db
[10807] info: config: failed to parse line, skipping: focr_end_config
[10807] info: config: failed to parse line, skipping: use_dcc 1
[10807] info: config: failed to parse line, skipping: dcc_path /usr/bin/dccproc
[10807] info: config: failed to parse line, skipping: dcc_add_header 1
[10807] info: config: failed to parse line, skipping: dcc_dccifd_path /usr/sbin/dccifd
[10807] info: config: failed to parse line, skipping: pyzor_add_header 1
[10807] warn: rules: failed to run FUZZY_OCR_CORRUPT_IMG test, skipping:
[10807] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
[10807] warn: rules: failed to run FUZZY_OCR_WRONG_CTYPE test, skipping:
[10807] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
[10807] warn: rules: failed to run FUZZY_OCR_WRONG_EXTENSION test, skipping:
[10807] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
[10807] warn: rules: failed to run FUZZY_OCR_KNOWN_HASH test, skipping:
[10807] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
[10807] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[10807] warn: rules: failed to run FUZZY_OCR test, skipping:
[10807] warn: (Can't locate object method "fuzzyocr_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
Any ideas?
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 on Ubuntu 6.10 falko Installation/Configuration 12 8th February 2008 17:52
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 15:55
Log for Debugging jwan Installation/Configuration 5 27th October 2006 14:34
Ubuntu update from 5.10 to 6.06 - its allok for ispconfig? adrenalinic General 2 10th June 2006 20:28
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 02:51.


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