Current time: 04-25-2024, 08:33 PM Hello There, Guest! (LoginRegister)


Post Reply 
Trac spam
Author Message
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #21
RE: Trac spam
I already said that i'll do that Wink
04-25-2007 12:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #22
RE: Trac spam
Sorry - i started to write before your Post was there Rolleyes
04-25-2007 12:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #23
RE: Trac spam
joximu Wrote:Hi

Am I the only one which reads:

Milestone: ispCP ω 1.0.0 - RC3 - 31%
Closed tickets: 11
Active tickets: 24

but when clicking on the 24, there are only 11 active tickets.. (together with the closed: 22)

/joximu

The Not shown are the deleted by me :-(
04-26-2007 02:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #24
RE: Trac spam
Can´t add this text in the wiki Sad

Code:
If you want to have a related URL to Customers webmail like:
{{{
webmail.customer-domain.tld
}}}
you must edit your 00_master.

'''1.) Open the 00_master'''
{{{
# vi /etc/apache2/sites-enabled/00_master
}}}
'''
2.) Jump to the End and add these lines.'''[[BR]]
Change "YOUR_IP" and "YOUR_ADMIN_EMAIL".
{{{
# related URL to customers webmail
<VirtualHost <YOUR_IP>:80>

    ServerAdmin     <YOUR_ADMIN_EMAIL>
    DocumentRoot    /var/www/ispcp/gui/tools/webmail

    ServerName      webmail.admin.isp-domain.tld
    ServerAlias     webmail.*

    ErrorLog        /var/log/apache2/users/webmail-error.log
    TransferLog     /var/log/apache2/users/webmail-access.log

    CustomLog       /var/log/apache2/webmail-traf.log traff
    CustomLog       /var/log/apache2/webmail-combined.log combined

    <IfModule mod_fastcgi.c>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui/tools/webmail>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fastcgi.c>
        ScriptAlias /php4/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php4.c>
        <Directory /var/www/ispcp/gui/tools/webmail>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>
}}}

'''3.) Restart Apache'''

{{{
# vi /etc/init.d/apache2 force-reload
}}}

Now _every_ customer can login to the webmail through
"webmail.customer-domain.tld"

Thanks @ Joximu!

Because of this:
Code:
Internal Error

Submission rejected as potential spam (Akismet says content is spam)

TracGuide — The Trac User and Administration Guide

potential spam ?? ähhhmmm Rolleyes
06-04-2007 06:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #25
RE: Trac spam
The spamfilter of Trac needs some training... :-)
06-04-2007 06:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #26
RE: Trac spam
sure Sad

I'd to use askimet (the wordpress antispam framework) thats the only one available for the trac - or the only one i found Sad
06-04-2007 08:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #27
RE: Trac spam
mhhh, and how can i get this text now in the wiki ?
06-04-2007 10:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #28
RE: Trac spam
New problem.
I wanted to reply to the ticket #326 with this content:
Code:
Something in the Logs or in the ispCP Debugger ?[[BR]]
Is AWStats disabled ?

And look there --> "Submission rejected as potential spam (Akismet says content is spam)" Sad
06-04-2007 11:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #29
RE: Trac spam
Submission rejected as potential spam (Maximum number of external links per post exceeded, Akismet says content is spam)

I wanted to post this here Sad

Code:
''' Fighting Image SPAM with FuzzyOCR and !ImageInfo plugins'''

First we need some new packages
{{{
# apt-get install lsb-base libice6 libx11-6 xlibs-data libsm6 x11-common
# apt-get install gifsicle ocrad
}}}
You should not have both giflib-bin and libungif-bin installed.[[BR]]
Simulate removing giflib-bin
{{{
# apt-get -s remove giflib-bin
}}}
If it's not installed, then you can move on. If it's the only thing that will be removed, then remove it. Note: an etch system may try to remove libungif-bin instead of giflib-bin. There is no need to remove libungif-bin
{{{
# apt-get remove giflib-bin
}}}

Continue to install other required programs.

{{{
# apt-get install netpbm bzip2 libmldbm-perl libstring-approx-perl libmldbm-sync-perl
# apt-get install liblog-agent-perl libdbi-perl libdbd-mysql-perl libtie-cache-perl
}}}

Download, extract, patch, compile and install libungif  (even if you have libungif-bin installed)
{{{
# cd /usr/local/src
# wget http://internap.dl.sourceforge.net/sourceforge/libungif/libungif-4.1.4.tar.gz
# tar xzvf libungif-4.1.4.tar.gz
# cd libungif-4.1.4/util
# wget http://users.own-hero.net/~decoder/fuzzyocr/giftext-segfault.patch
# patch giftext.c < giftext-segfault.patch
# cd ..
# ./configure --prefix=/usr && make && make install
}}}
Download, extract, compile and install gocr
{{{
# cd /usr/local/src
# wget http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.43.tar.gz
# tar xzvf gocr-0.43.tar.gz
# cd gocr-0.43
# ./configure --with-netpbm=/usr/lib --prefix=/usr && make && make install
}}}
At this point make we should have all of these programs installed in /usr/bin
{{{
# which gifsicle
# which giffix
# which giftext
# which gifinter
# which giftopnm
# which jpegtopnm
# which pngtopnm
# which bmptopnm
# which tifftopnm
# which ppmhist
# which pamfile
# which ocrad
# which gocr
# which pnmnorm
# which pnminvert
# which ppmtopgm
}}}
Install FuzzyOCR 3.5.1
{{{
# cd /usr/local/src
# wget http://users.own-hero.net/~decoder/fuzzyocr/fuzzyocr-3.5.1-devel.tar.gz
# tar xzvf fuzzyocr-3.5.1-devel.tar.gz
# cd FuzzyOcr-3.5.1
}}}
If you are using netpbm < 10.34 (Debian uses 10.0-10.1) you need to apply these patches. They disable some features only available in newer versions:
{{{
# wget http://www200.pair.com/mecham/spam/FuzzyOcr-3.5.0-rc1.netpbm_less_than_10.34.patch
# wget http://www200.pair.com/mecham/spam/FuzzyOcr-3.5.0-rc1.netpbm_less_than_10.34.patch2
# wget http://www200.pair.com/mecham/spam/FuzzyOcr-3.5.0-rc1.netpbm_less_than_10.34.patch3
# patch -p0 < FuzzyOcr-3.5.0-rc1.netpbm_less_than_10.34.patch
# patch -p0 < FuzzyOcr-3.5.0-rc1.netpbm_less_than_10.34.patch2
# patch -p0 < FuzzyOcr-3.5.0-rc1.netpbm_less_than_10.34.patch3
}}}
Our Debian version of Netpbm (10.0) may not contain both of these
{{{
# which pamtopnm
# which pamditherbw
}}}
Those programs are used together.Therefore we need to disable any scansets that use them and we will also remove them from the preprocessors file. If you have both of these programs, you do not need to apply these patches. If you are missing either one of them, apply these patches:
{{{
# wget http://www200.pair.com/mecham/spam/gary.3.5.0-rc1.old.netpbm.patch1
# wget http://www200.pair.com/mecham/spam/gary.3.5.0-rc1.old.netpbm.patch2
# wget http://www200.pair.com/mecham/spam/gary.3.5.0-rc1.old.netpbm.patch3
# patch -p0 < gary.3.5.0-rc1.old.netpbm.patch1
# patch -p0 < gary.3.5.0-rc1.old.netpbm.patch2
# patch -p0 < gary.3.5.0-rc1.old.netpbm.patch3
}}}
Copy the files
{{{
# cp -r FuzzyOcr /etc/mail/spamassassin
# cp FuzzyOcr.cf /etc/mail/spamassassin
# cp FuzzyOcr.pm /etc/mail/spamassassin
# cp FuzzyOcr.preps /etc/mail/spamassassin
# cp FuzzyOcr.scansets /etc/mail/spamassassin
# cp FuzzyOcr.words /etc/mail/spamassassin
}}}
Configure !FuzzyOcr.cf:
{{{
# vi /etc/mail/spamassassin/FuzzyOcr.cf
}}}

Set log level to 2 (only while we test):
{{{
#focr_verbose 3
focr_verbose 2
}}}
Enable logging by uncommenting this:
{{{
focr_logfile /tmp/FuzzyOcr.log
}}}
uncomment
{{{
focr_timeout 15
}}}
uncomment
{{{
focr_threshold 0.20
}}}

Set focr_base_score to 3
{{{
#focr_base_score 5
focr_base_score 3
}}}
I change focr_add_score from the default of 1, to 0.5:
{{{
#focr_add_score 0.375
focr_add_score 0.5
}}}
I lower focr_corrupt_score:
{{{
#focr_corrupt_score 2.5
focr_corrupt_score 1.5
}}}
I lower focr_corrupt_unfixable_score:
{{{
#focr_corrupt_unfixable_score 5
focr_corrupt_unfixable_score 2.5
}}}
Start the test by linting spamassassin:
{{{
# spamassassin --lint
}}}
If you get this error
{{{
Subroutine FuzzyOcr::O_NONBLOCK redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
}}}
it appears to be related somehow to Net::Ident. If you run spamd with the --auth-ident option then you need this module and will have to deal with the harmless error message (actually it may not be harmless if you depend on a clean --lint). If you don't need Net::Ident (you don't have any programs that use it), then I suggest you remove it: 'apt-get remove libnet-ident-perl'
06-12-2007 04:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #30
RE: Trac spam
i've posted it!
06-12-2007 05:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)