|
#1
|
|||
|
|||
|
How about using SpamAssassin / Amavisd-new?
I just had a thought about all the problems with spam.
My server is running SpamAssassin and Amavisd-new ( on Linux ) which does a *very* good job of catching spam. Anybody ever think about trying to leverage the power of the more popular anti-spam tools to help *detect* comment spam in PixelPost? I believe most anti-spam tools have some sort of command line operation that would have a program to pass the text of a comment to be tested. So perhaps PixelPost might be able to use SpamAssassin Amavisd-new in some manner to help weed out comment spam? The type of spam that people post to photoblogs are *very* easily detected by common anti-spam tools.. Any thoughts? |
|
#2
|
|||
|
|||
|
Perhaps there is a PHP API to call SpamAssassin directly?
SpamAssassin is set of Perl modules... but *if* there is a way to call directly call SpamAssassin from within PHP we could avoid having to execute a shell type command like this: spamassassin < test.mail 2>/dev/null | grep -c "X-Spam-Flag: YES" Where the file test.mail includes the comment with To: From: headers added. It would be nasty to execute a system command for every message to use spamassassin to detect spam... but it might work..... |
|
#3
|
||||
|
||||
|
1.Most of web accounts doesnt have shell access.
2. Perl script must be executed to get result of its work. 3. I didnt check it but IMHO SpamAssassin has got interface only for email servers. 4. SpamAssassin isnt on every Linux based server so it can be hard to connect all this things together. But whole idea is interesting. |
|
#4
|
|||
|
|||
|
Quote:
I might just go ahead and try to implement this feature.. perhaps as a plugin. This would then not require shell access and could be installed by only those who are being hosted on systems with SpamAssassin installed. BTW, I did some checking around and the other common "blog" software seem to already have these types of plugins. I think this idea merits some serious consideration... |
|
#6
|
|||
|
|||
|
Quote:
I have no experience writing plugins for pixelpost, but I will write the code that talks with the SpamAssassin daemon and perhaps when that is done I could get some help in turning it into a plugin... |
|
#7
|
||||
|
||||
|
I'll be happy to be of some help incorporating your code in an addon.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#8
|
|||
|
|||
|
Check out the Askimat spam addon in the addons section. Askimat is designed for blog comments and works really well.
|
|
#9
|
|||
|
|||
|
The problem with Akismet is that it is a third party hosted solution and also that it requires a key from the Wordpress site to work. Some people don't like it.
Something talking to SA would be cool
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some] My Pixelpost Addons, Cheesecake-Photoblog Software |
|
#10
|
||||
|
||||
|
I've found some old wordpress addons that do that, but it has been obsolete since the release of bad behavior. Raminia has made a addon for that long time ago, and since then multiple changes have been made.
I've contacted the author of the wordpress addon.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
| Post Reply |
| Thread Tools | |
|
|