Salut à tous,
J’ai une Debian Lenny configuré pour ne recevoir aucun courrier et utiliser un smarthost en envoi(MTA).
Tous les jours, je vois arriver sur ce smarthost, un mail provenance de la Debian à 6h25.
Après inspection, je vois que dans la crontab de la Debian, les tâches journalières sont effectuées à 6h25:
[code]$ cat /etc/crontab
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
m h dom mon dow user command
17 * * * * root cd / && run-parts /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts /etc/cron.monthly )
#[/code]
Donc tous les jours, le smarthost reçoit le rapport CRON de la Debian.
Or je ne suis pas intéressé par ce rapport.
J’ai donc supprimé l’option --export de run-parts dans la crontab.
Mais je vois que la Debian continue à émettre tous les jours à 6h25 son rapport:
frontal:/var/log# grep -R root@ exim4/
exim4/mainlog.1:2008-02-12 06:25:02 1JOoZi-0007sx-75 => root@frontal.int.networ
k R=smarthost T=remote_smtp_smarthost H=192.168.10.10 [192.168.10.10]
exim4/mainlog.1:2008-02-13 06:25:01 1JPB3F-0008Bh-8t <= root@frontal.int.networ
k U=root P=local S=480
exim4/mainlog:2008-02-13 06:25:01 1JPB3F-0008Bh-8t => root@frontal.int.network
R=smarthost T=remote_smtp_smarthost H=192.168.10.10 [192.168.10.10]
frontal:/var/log#
Vous savez comment je peux désactiver l’envoi de ce rapport par mail (sans utiliser de filtrage reseau)?
Merci

