body __CN_PHISH1_BODY /Confirm your email identity below/i
body __CN_PHISH1_CODE /Warning Code:[a-zA-Z0-9]+/
body __CN_PHISH1_CODE2 /network system with error code [a-zA-Z0-9]+/
-meta CN_PHISH1 (__CN_PHISH1_SUB && __CN_PHISH1_BODY && __CN_PHISH1_CODE && __CN_PHISH1_CODE2)
+meta CN_PHISH1 __CN_PHISH1_SUB && __CN_PHISH1_BODY && __CN_PHISH1_CODE && __CN_PHISH1_CODE2
score CN_PHISH1 10.0
describe CN_PHISH1 CARNet-Debian phish signature 1
body __CN_PHISH2_BODY /account update our account/i
body __CN_PHISH2_BODY2 /authomatically spam free/i
body __CN_PHISH2_CODE /error code [a-zA-Z0-9]+/i
-meta CN_PHISH2 (__CN_PHISH2_SUB && __CN_PHISH2_BODY && __CN_PHISH2_BODY2 && __CN_PHISH2_CODE)
+meta CN_PHISH2 __CN_PHISH2_SUB && __CN_PHISH2_BODY && __CN_PHISH2_BODY2 && __CN_PHISH2_CODE
score CN_PHISH2 10.0
describe CN_PHISH2 CARNet-Debian phish signature 2
body __CN_PHISH3_BODY /Internet Webmail message center/i
body __CN_PHISH3_BODY2 /You are advice to verify/i
body __CN_PHISH3_BODY3 /lose his or her account permanently/i
-meta CN_PHISH3 (__CN_PHISH3_SUB && __CN_PHISH3_BODY && __CN_PHISH3_BODY2 && __CN_PHISH3_BODY3)
+meta CN_PHISH3 __CN_PHISH3_SUB && __CN_PHISH3_BODY && __CN_PHISH3_BODY2 && __CN_PHISH3_BODY3
score CN_PHISH3 10.0
describe CN_PHISH3 CARNet-Debian phish signature 3
+
+header __CN_SPAM4_SUB Received =~ /CommuniGate Pro SMTP/i
+body __CN_SPAM4_CODE /westeur-consult\.com/
+meta CN_SPAM4 __CN_SPAM4_SUB && __CN_SPAM4_CODE
+score CN_SPAM4 10.0
+describe CN_SPAM4 CARNet-Debian spam signature 4
Takodjer se standardno ne omogucuje ni SpamAssassin daemon odnosno spamd,
buduci da je na instalacijama sa Amavis posluziteljem suvisan.
- -- Dinko Korunic <kreator@CARNet.hr> Mon, 13 Apr 2009 12:17:38 +0200
+ -- Dinko Korunic <kreator@CARNet.hr> Sat, 02 Apr 2011 16:42:59 +0200
+spamassassin-cn (2:3.3.1-1) stable; urgency=low
+
+ * upgrade paketa za Debian Squeeze
+ * prilagodba promjenama u amavisd-cn za Squeeze
+ * paljenje AWL mogucnosti (koja je u 3.1 verzijama bila tipicno upaljena)
+ * novo CN_SPAM4 lokalno pravilo
+ * ispravke raznih manjih Lintian gresaka
+
+ -- Dinko Korunic <kreator@carnet.hr> Sat, 02 Apr 2011 19:24:09 +0200
+
spamassassin-cn (2:3.2.5-7lenny1) stable; urgency=low
* Upgrade paketa za Lenny
Section: mail
Priority: optional
Maintainer: Dinko Korunic <kreator@CARNet.hr>
-Build-Depends: debhelper (>= 4)
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.9.1
Package: spamassassin-cn
Architecture: all
-Depends: spamassassin (>= 3.2.5-2), razor (>= 1:2.85-1), libnet-dns-perl (>= 0.63-2), carnet-tools-cn (>= 2.8.1), gnupg (>= 1.4.9-3), libmail-dkim-perl (>= 0.32-1), libcrypt-openssl-bignum-perl (>= 0.04-1+b1), libmail-spf-query-perl (>= 1:1.999.1-3), ${misc:Depends}
+Depends: spamassassin (>= 3.3.1-1), razor (>= 1:2.85-3), libnet-dns-perl (>= 0.66-2), carnet-tools-cn (>= 2.8.1), gnupg (>= 1.4.10-4), libmail-dkim-perl (>= 0.38-1), libcrypt-openssl-bignum-perl (>= 0.04-2), libmail-spf-perl (>= 2.007-1), adduser (>= 3.112+nmu2), ${misc:Depends}
Recommends: amavisd-new
Description: Perl-based spam filter using text analysis
SpamAssassin is a very powerful and fully configurable spam filter
mv -f $i.$$ $i
fi
rm -f $i.$$
+
+ # enable AWL
+ cp -f $i $i.$$
+ plugin="loadplugin Mail::SpamAssassin::Plugin::AWL"
+ cp_check_and_sed "^#$plugin.*$" \
+ "s/^#$plugin.*$/$plugin/g" $i.$$ || true
+ if ! cmp -s $i.$$ $i; then
+ mv -f $i.$$ $i
+ fi
+ rm -f $i.$$
done
# check and replace /etc/default/spamasassin if needed
fi
# restart the amavis
-if [ "x$restart" = "xyes" -a -x /etc/init.d/amavis ]; then
+if [ "x$restart" = "xyes" -a -x /etc/init.d/amavisd-cn ]; then
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d --quiet amavisd-cn restart
+ else
+ /etc/init.d/amavisd-cn restart
+ fi
+elif [ "x$restart" = "xyes" -a -x /etc/init.d/amavis ]; then
if [ -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d --quiet amavis restart
else
Template: spamassassin-cn/usebayes
Type: boolean
Default: true
-Description: Zelite li Bayesian klasifikator:
+Description: Zelite li Bayesian klasifikator?
SpamAssassin moze koristiti naivni Bayesian klasifikator poste.
Receni statisticki filtar predstavlja dodatni vid zastite od
spama, medjutim podrazumijeva intenzivno inicijalno i kasnije
Template: spamassassin-cn/userazor2
Type: boolean
Default: true
-Description: Zelite li koristiti Razor2:
+Description: Zelite li koristiti Razor2?
SpamAssassin moze koristiti Vipul Razor2 mrezu. Recena je
komercijalna mreza zatvorenog koda, namijenjena distribuiranom
klasificiranju i filtriranju spama. Receno predstavlja
Template: spamassassin-cn/runservice
Type: boolean
Default: false
-Description: Zelite li imati spamd servis:
+Description: Zelite li imati spamd servis?
SpamAssassin moze biti uvijek aktivan kao spamd servis. U
slucaju da imate vec centralno aktivan Amavis, spamd je
nepotreban buduci da se SpamAssassin koristi interno unutar
Type: select
Choices: non-root, root
Default: non-root
-Description: Zelite li spamd pod ovlastima:
+Description: Zelite li spamd pod ovlastima?
SpamAssassin spamd servis nije nuzno pokretati pod ovlastima
privilegiranog korisnika (root). Ako na sistemu nema korisnika
koji koriste SpamAssassin iz komadne linije, bolje ga je ne