Salut,
J'ai installer nagios et je l'ai configuré pour qu'il m'envoie des mails!
Mais mon sendmail ne fonctionne pas. Voici ce que j'ai dans le fichier /var/log/maillog
Code :
- Jun 10 04:02:07 S01APP031 sendmail[6280]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
- Jun 10 04:02:10 S01APP031 sendmail[6438]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
- Jun 10 07:49:32 S01APP031 sendmail[4039]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 07:49:32 S01APP031 sendmail[4044]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 08:16:22 S01APP031 sendmail[15108]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 08:16:22 S01APP031 sendmail[15113]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 08:21:22 S01APP031 sendmail[17180]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 08:21:22 S01APP031 sendmail[17185]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 08:30:22 S01APP031 sendmail[20825]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 08:30:22 S01APP031 sendmail[20830]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:30:02 S01APP031 sendmail[13239]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:30:02 S01APP031 sendmail[13244]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:32:52 S01APP031 sendmail[14474]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:32:52 S01APP031 sendmail[14479]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:35:02 S01APP031 sendmail[15360]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:35:02 S01APP031 sendmail[15365]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:45:02 S01APP031 sendmail[19516]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:45:02 S01APP031 sendmail[19521]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
- Jun 10 09:47:52 S01APP031 sendmail[20789]: NOQUEUE: SYSERR(nagios): can not chdir(/var/spool/clientmqueue/): Permission denied
|
De plus, lorsque je souhaite envoyer un mail en mode commande j'obtient ceci :
Code :
- [root@XXXXXXX ~]# /usr/sbin/sendmail -v moi < test.mail
- /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
|
Auriez-vous une idée??
Message édité par kelkoko le 10-06-2009 à 16:19:03
---------------