~ubuntu-branches/ubuntu/natty/amavisd-new/natty

« back to all changes in this revision

Viewing changes to debian/amavisd-new.cron.daily

  • Committer: Bazaar Package Importer
  • Author(s): Christian Perrier
  • Date: 2007-02-24 19:27:53 UTC
  • mfrom: (3.1.7 feisty)
  • Revision ID: james.westby@ubuntu.com-20070224192753-fvvima53q1jrp34x
Tags: 1:2.4.2-6.1
* Non-maintainer upload to fix pending l10n issues.
* Debconf translations
  - Remove extra debian/po/de.po~
  - Convert all translation files to UTF-8
  - Russian. Closes: #405243
  - Spanish. Closes: #408734
  - Italian. Closes: #409831
* Add very simple LSB headers to init scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
3
#  Daily maintenance for amavisd-new
4
 
#  $Id: amavisd-new.cron.daily,v 1.3.2.1 2004/11/18 23:11:27 hmh Exp $
 
4
#  $Id: amavisd-new.cron.daily,v 1.8 2006/08/10 13:38:45 hmh Exp $
5
5
6
 
# Needed only if spamassassin is in use
7
 
umask 022
8
 
test -e /usr/bin/sa-learn && test -e /usr/sbin/amavisd-new && {
9
 
        su - amavis -- /usr/bin/sa-learn --rebuild --force-expire >/dev/null 2>&1
10
 
}
11
 
exit 0
 
6
test -e /usr/sbin/amavisd-new-cronjob && exec /usr/sbin/amavisd-new-cronjob sa-clean