Bonjour à Tous,
je mis en place un serveur nagios 3.2.3 couplé avec centreon 2.2.0 sous debian 5.
Je souhaite maintenant recevoir des alertes en cas de problème.
Les tutos que j'ai sur postfix ne me permettent pas de recevoir les mails. Voici mon fichier main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = svr-nagios
alias_maps = hashetc/aliases
alias_database = hashetc/aliases
mydestination = svr-nagios.localdomain, localhost.localdomain, localhost
relayhost = 192.168.9.88
mynetworks = 127.0.0.0/8 [:ffff:127.0.0.0]/104 /128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
Au cours du test d'encoi de mail voici mon mail.log
Sep 9 11:59:46 srv-nagios postfix/pickup[3315]: 1BFB6BFE76: uid=0 from=<root>
Sep 9 11:59:46 srv-nagios postfix/cleanup[7412]: 1BFB6BFE76: message-id=<20110909115946.1BFB6BFE76@svr-nagios>
Sep 9 11:59:46 srv-nagios postfix/qmgr[3319]: 1BFB6BFE76: from=<root@svr-nagios>, size=301, nrcpt=1 (queue active)
Sep 9 11:59:48 srv-nagios postfix/smtp[7414]: 1BFB6BFE76: to=<rkonan@andi-ci.com>, relay=192.168.9.88[192.168.9.88]:25, delay=2.2, delays=0.03/0.01/0/2.2, dsn=5.7.1, status=bounced (host 192.168.9.88[192.168.9.88] said: 554 5.7.1 <rkonan@andi-ci.com>: Relay access denied (in reply to RCPT TO command))
Sep 9 11:59:48 srv-nagios postfix/cleanup[7412]: 4CAECBF77D: message-id=<20110909115948.4CAECBF77D@svr-nagios>
Sep 9 11:59:48 srv-nagios postfix/bounce[7445]: 1BFB6BFE76: sender non-delivery notification: 4CAECBF77D
Sep 9 11:59:48 srv-nagios postfix/qmgr[3319]: 4CAECBF77D: from=<>, size=2067, nrcpt=1 (queue active)
Sep 9 11:59:48 srv-nagios postfix/qmgr[3319]: 1BFB6BFE76: removed
Sep 9 11:59:49 srv-nagios postfix/smtp[7414]: 4CAECBF77D: to=<root@svr-nagios>, relay=192.168.9.88[192.168.9.88]:25, delay=1.5, delays=0.01/0/0.03/1.5, dsn=5.7.1, status=bounced (host 192.168.9.88[192.168.9.88] said: 554 5.7.1 <root@svr-nagios>: Relay access denied (in reply to RCPT TO command))
Sep 9 11:59:49 srv-nagios postfix/qmgr[3319]: 4CAECBF77D: removed
Pouvez vous me mettre sur le bon chemin ???
Merci d'avance