Bug 36928

Summary: Remove /etc/cron.daily/amavisd-new
Product: UCS Reporter: Janis Meybohm <meybohm>
Component: MailAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Erik Damrose <damrose>
Severity: normal    
Priority: P5 CC: gohmann, walkenhorst
Version: UCS 4.0   
Target Milestone: UCS 4.0-0-errata   
Hardware: Other   
OS: Linux   
URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671450
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Janis Meybohm univentionstaff 2014-11-21 08:42:19 CET
/etc/cron.daily/amavisd-new has been moved to /etc/cron.d/amavisd-new

Now, /etc/cron.daily/amavisd-new sends an error message to sysadmin every day:

---
run-parts: /etc/cron.daily/amavisd-new exited with return code 1
---

$ cat /etc/cron.daily/amavisd-new
#!/bin/sh
#
#  Daily maintenance for amavisd-new
#  $Id: amavisd-new.cron.daily 930 2006-08-10 13:38:45Z hmh $
# 
test -e /usr/sbin/amavisd-new-cronjob && exec /usr/sbin/amavisd-new-cronjob sa-clean > /dev/null
exit 0
$ /usr/sbin/amavisd-new-cronjob sa-clean
Please run this cronjob as user amavis


We could probably just remove the file /etc/cron.daily/amavisd-new
Comment 1 Felix Botner univentionstaff 2014-12-04 16:38:14 CET
univention-antivir-mail moves /etc/cron.daily/amavisd-new to /etc/univention/templates/removed/amavisd-new.cron.daily in this update

YAML: 2014-12-04-univention-antivir-mail.yaml
Comment 2 Erik Damrose univentionstaff 2014-12-05 18:05:33 CET
OK: cronjob removed
OK: yaml
Verified
Comment 3 Janek Walkenhorst univentionstaff 2015-01-08 13:57:35 CET
http://errata.univention.de/ucs/4.0/20.html