569fc65
### Spamassassin Rules Updates ###
569fc65
#
569fc65
# http://wiki.apache.org/spamassassin/RuleUpdates
569fc65
# 
569fc65
# sa-update automatically updates your rules once per day if a spam daemon like
569fc65
# spamd or amavisd are running.
569fc65
569fc65
[Unit]
569fc65
Description=Spamassassin Rules Update
569fc65
Documentation=man:sa-update(1)
569fc65
569fc65
[Service]
569fc65
# Note that the opposite of "yes" is the empty string, NOT "no"
569fc65
# Options for the actual sa-update command
569fc65
# These are added to the channel configuration from 
569fc65
# /etc/mail/spamassassin/channel.d/*.conf
569fc65
Environment=OPTIONS=-v
569fc65
569fc65
# Debug script - send mail even if no update available
569fc65
#Environment=DEBUG=yes
569fc65
569fc65
# Send mail when updates successfully processed
569fc65
# Default: send mail only on error
569fc65
#Environment=NOTIFY_UPD=yes
569fc65
569fc65
ExecStart=/usr/share/spamassassin/sa-update.cron
569fc65
569fc65
SuccessExitStatus=1