Anyone figured out to integrate FuzzyOCR into ISPConfig on Ubuntu?

Discussion in 'Installation/Configuration' started by friday, Dec 21, 2006.

  1. friday

    friday Member

    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.
     
  2. martinfst

    martinfst Member Moderator

    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 .......
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    This software looks very interesting, I will have a look at it and how to integrate it in ISPConfig.
     
  4. bschultz

    bschultz Member

    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: Mar 26, 2007
  5. falko

    falko Super Moderator Howtoforge Staff

  6. bschultz

    bschultz Member

    Thanks, Falko. Missed that one.

    Brian

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

     
    Last edited: Mar 26, 2007
  7. Hans

    Hans Moderator Moderator

    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.
     
  8. falko

    falko Super Moderator Howtoforge Staff

  9. Hans

    Hans Moderator Moderator

    That's good to know! :)
     
  10. bschultz

    bschultz Member

    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:

    Any ideas?
     
  11. falko

    falko Super Moderator Howtoforge Staff

    It seems FuzzyOcr::Logging is missing, but I think it should have been installed together with FuzzyOCR.
    What's the output of
    Code:
    updatedb
    locate Logging.pm
    ?
     
  12. bschultz

    bschultz Member

    debian:~# updatedb
    debian:~# locate Logging.pm
    /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr/Logging.pm
    /usr/src/FuzzyOcr-3.5.1/FuzzyOcr/Logging.pm
     
  13. falko

    falko Super Moderator Howtoforge Staff

    Try this:
    Code:
    cp /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr/Logging.pm /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/
     
  14. bschultz

    bschultz Member

    I copied the file like you said. Here's the new result of
    Code:
    /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --debug FuzzyOcr < /usr/src/FuzzyOcr-3.5.1/samples/ocr-gif.eml > /dev/null
    
    from the How-To:

     
  15. falko

    falko Super Moderator Howtoforge Staff

    Seems like there are some problems on Sarge... :(
     
  16. bschultz

    bschultz Member

    I'm ready to roll out Etch once it officially goes to "stable" so I can wait a bit for this.

    Thanks, Falko!
     
  17. ottogaz

    ottogaz New Member

    make sure you copy or move the folder FuzzyOcr and the content to the /etc/mail/spamassassin
     

Share This Page