Bonjour,
je voudrais logguer tous les accès de fetchmail dans /var/log/fetchmail.
J'ai donc mis ca dans mon /etc/fetchmailrc:
set logfile /var/log/fetchmail.log
set daemon 300
poll pop.wanadoo.fr proto pop3 user "xxxx" pass "xxxxx"
Voila les permissions des différents fichiers;
debianhome/thierry# ls -l /var/log/fetchmail.log
-rw-r--r-- 1 fetchmail root 0 2005-08-06 18:15 /var/log/fetchmail.log
debianhome/thierry# ls -l /etc/fetchmailrc
-rw------- 1 fetchmail root 152 2005-08-06 18:58 /etc/fetchmailrc
Et malheuresement, mon fichier /var/log/fetchmail.log est toujours vide :-(, et il ecrit tout dans /var/log/mail.log:
Aug 6 19:45:12 debian fetchmail[3978]: awakened at Sat Aug 6 19:45:12 2005
Aug 6 19:45:16 debian fetchmail[3978]: sleeping at Sat Aug 6 19:45:16 2005
Aug 6 19:50:16 debian fetchmail[3978]: awakened at Sat Aug 6 19:50:16 2005
Aug 6 19:50:20 debian fetchmail[3978]: sleeping at Sat Aug 6 19:50:20 2005
Fetchmail ne se lance pas tout seul au demarrage, donc pour l'instant je le lance moi mêmee manuellement.
Quelqu'un comprend pourquoi ca ne loggue pas là ou je veux?
Merci
A+