/etc/amavis/conf.d/50-user
-Za vise detalja pogledajte dokumentaciju u
-/usr/share/doc/amavisd-cn/README.CARNet i
-/usr/share/doc/amavisd-new/README.Debian
+Za vise detalja pogledajte dokumentaciju u:
- -- Zoran Dzelajlija <zoran.dzelajlija@carnet.hr> Thu, 18 Oct 2007 21:47:49 +0200
+ /usr/share/doc/amavisd-cn/README.CARNet
+ /usr/share/doc/amavisd-new/README.Debian
+
+ -- Ivan Rako <Ivan.Rako@CARNet.hr> Thu, 21 Feb 2008 23:34:59 +0100
amavisd-cn
+~~~~~~~~~~
Ovaj paket donosi dodatnu CARNetovu konfiguraciju za pakete amavisd-new i
postfix iz Debian distribucije. Komunikacija izmedju postfix MTA i
$virus_admin = "postmaster\@$mydomain";
- -- Zoran Dzelajlija <zoran.dzelajlija@carnet.hr> Thu, 18 Oct 2007 21:47:49 +0200
-
+ -- Ivan Rako <Ivan.Rako@CARNet.hr> Thu, 21 Feb 2008 23:34:59 +0100
+++ /dev/null
-Critical:
-- spamassassin uopce ne radi
-
-Bugs:
-- Radi li SAVI kod prve instalacije? U sargeu nije radio a to
- nije mijenjano.
-
-- get_mx_domain vs. /etc/mailname ... sto ako je /etc/mailname bolja
- opcija, kako prepoznati?
-
-- cron "/usr/sbin/amavisd-new-cronjob sa-sync" javlja
-
-ERROR: configuration specifies 'use_bayes 0', sa-learn disabled
-
-Features:
-- per-user karantena i istek podataka, uz neki razumni limit na kolicinu
+amavisd-cn (3:2.4.2-4) stable; urgency=low
+
+ * Dodavanje redirekcije za /etc/cron.d/amavisd-new (#3315)
+ * Minimalni update dokumentacije
+ * Ciscenje i badh* mailova iz karantene u redovnim intervalima
+
+ -- Dinko Korunic <kreator@carnet.hr> Wed, 9 Apr 2008 11:52:21 +0200
+
amavisd-cn (3:2.4.2-3) stable; urgency=low
* Maknut konflikt sa sweep-cn
Source: amavisd-cn
Section: mail
Priority: optional
-Maintainer: Zoran Dzelajlija <zoran.dzelajlija@carnet.hr>
+Maintainer: Ivan Rako <Ivan.Rako@CARNet.hr>
Build-Depends: debhelper, sed
Standards-Version: 3.6.1
-# Deleting temp files from quarantine area every day at 01:35
-35 1 * * * amavis find /var/lib/amavis/ -type d -mtime +1 -name "amavis-milter-*" -print0 | xargs -0 rm -fr
-# Deleting virus mails from quarantine area at 03:15 every day
-15 3 * * * amavis find /var/lib/amavis/virusmails -type f -mtime +7 -name "virus-*" -print0 | xargs -0 rm -f
-# Deleting spam mails from quarantine area every day at 04:25
-25 4 * * * amavis find /var/lib/amavis/virusmails -type f -mtime +7 -name "spam-*" -print0 | xargs -0 rm -f
+# Deleting temp files from quarantine area every day at 01:15
+15 1 * * * amavis find /var/lib/amavis/ -type d -mtime +1 -name "amavis-milter-*" -print0 | xargs -0 rm -fr
+# Deleting virus mails from quarantine area at 02:15 every day
+15 2 * * * amavis find /var/lib/amavis/virusmails -type f -mtime +7 -name "virus-*" -print0 | xargs -0 rm -f
+# Deleting spam mails from quarantine area every day at 03:15
+15 3 * * * amavis find /var/lib/amavis/virusmails -type f -mtime +7 -name "spam-*" -print0 | xargs -0 rm -f
+# Deleting bah header mails from quarantine area every day at 04:15
+15 4 * * * amavis find /var/lib/amavis/virusmails -type f -mtime +7 -name "badh-*" -print0 | xargs -0 rm -f
# No sysvinit order fixes
:
+# Fix missing redirection in cron files for amavisd-new-cronjob
+add_redirection /etc/cron.d/amavisd-new /etc/cron.daily/amavisd-new
+
# Cleanup and finalization
if dpkg --compare-versions "$2" lt 2:20030616p10-4; then
update-rc.d -f amavisd remove > /dev/null
restart_daemon=1
changed_config=1
}
+
+add_redirection() {
+ until [ -z "$1" ]
+ do
+ if [ -e "$1" ] && egrep -q 'amavisd-new-cronjob (sa-sync|sa-clean)$' "$1"; then
+sed -i -e 's:\(^.*amavisd-new-cronjob \(sa-sync\|sa-clean\)$\):\1 1>/dev/null 2>\&1:g' "$1"
+ fi
+ shift
+ done
+}