On augmente le timeout pour ne relancer spamassassin que quand necessaire.
darcs-hash:20050220090147-d1718-0d363fd091d4d075bb23e2390245f5256f3d25a9.gz
This commit is contained in:
parent
6a17c83587
commit
14df54ae6d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
MBOX=/home/bernat/mbox
|
||||
TMP=mktemp
|
||||
spamc -t 10 < $MBOX > $TMP
|
||||
spamc -t 60 < $MBOX > $TMP
|
||||
if diff $TMP $MBOX > /dev/null; then
|
||||
/etc/init.d/spamassassin restart
|
||||
echo "Spam Assassin a été relancé." | mail roots@crans.org -s "Spam Assassin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue