Re: Spamcop Bullshit
"Zeno Davatz" <[email protected]> Mon, 30 Oct 2006 18:40:25 +0100
| Newsgroups | gmane.mail.spam.tmda.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Thanks for your inputs! I appcreciate them a lot. We now implemented a solution with qpsmtp that was mentioned on this list the other day as well. I hope this solution will work for us. Running on Gentoo we first had to build the latest tmda-cgi and TMDA packages. Now we seem to be running again. Best Zeno 2006/10/30, Joseph Oaks <[email protected]>: > I agree I hate SpamCop also, but I love TMDA it saves my inbox every day. > > I however got tired of so much spam that I also implemented magic-mail > to go with my qmail install. I got to the point where I stopped blacklisting > with TMDA because of all the extra traffic to non-existing email address. > Now I just leave them to TMDA for timeouts and changed that to 12 hours. > > I recently made a small script to parse the maillog and check for BLOCKED > attempts for non-existing email address and I'm now blocking those that > attempt to spam more than 5 times with IPTABLES. Its cruel because my > scripting isnt that great but it works and besides having to contact > SpamCop every couple of months :( I'm doing this now so I dont have to send > out so many challenges :) > > Anyway take a look, if any one can use this great or improve it even better. > > Joe > > > > #!/bin/sh > > # > # Variables > # > mlog="/var/log/maillog" > ipt="/etc/sysconfig/iptables" > old="/u1/old_iptables/iptables.$$" > > > cd /tmp > > echo "Parse Data" > cat $mlog | awk '/BLOCKED/ { print $11 }' | sed -e "s/(//g" | sed -e > "s/)//g" | sort | uniq -c > $$.txt > > cat $$.txt | awk '{ if ($1 >= 5) print $2 }' > $$-1.txt > > echo "Verify Data with IPTABLES" > for x in `cat $$-1.txt`; > do > if egrep $x $ipt; then > echo "IP Already blocked" > else > > # > # Make a backup of old file > # > cp $ipt $old > > echo "This IP needs to be blocked $x" > sed -i '$d' $ipt > echo "-A INPUT -p tcp -m tcp -s $x --dport 25 -j REJECT" >> > $ipt > echo "COMMIT" >> $ipt > /etc/rc.d/init.d/iptables restart > fi > done > > # Remove temp files > rm -f $$.txt $$-1.txt > > > Zeno Davatz <[email protected]> wrote: > >Hi all! > > > >I'm a fond user of TMDA. But obviously Spamcop and TMDA do not work > >well together. Our IP address has obviously been blocked by Spamcop > >because TMDA sends out replys to dead end Spam-Traps of Spamcop. > > > >http://www.spamcop.net/fom-serve/cache/329.html#bounces > > > >Any solution for this? > > > >Thank you for your help > >Zeno > > > >PS: I hate SpamCop! > >_________________________________________________ > >tmda-workers mailing list ([email protected]) > >http://tmda.net/lists/listinfo/tmda-workers > > > > > > > _________________________________________________ > tmda-workers mailing list ([email protected]) > http://tmda.net/lists/listinfo/tmda-workers >