salut
j'utilise logwatch , et j'essaie d'obtenir mes logs par mail
la commande
ne me renvoie aucun mail malgré la présence de
1 2
| MailTo = deny@monaco.net
mailer = "sendmail -t" |
dans logwatch.conf
j'utilise un serveur de mail postfix
qui utilise la commande
sendmail_path = /usr/sbin/sendmail.postfix
dans mes logs j'ai
ay 21 15:18:51 localhost klogd: smtpd[14294]: segfault at 49c880da ip 00007f9985a8eec5 sp 00007fff8fb063e0 error 6 in libresolv-2.9.so[7f9985a85000+13000]
dans mes logs logwatch j'ai
1 2
| 26 4.4.3: Persistent Transient Failure: Network & Routing Status: Routing server failu...
26 Host or domain name not found. Name service error for name=smtp.numericable.fr t... |
j'utilise comme smtp
mon main.cf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| # Please be sure to read the /usr/share/doc/postfix/README.MDK file
# to learn about differences from stock postfix to Mandriva package.
# This file contains only the parameters changed from a default install
# see /etc/postfix/main.cf.dist for a commented, fuller version of this file.
# These are changed by postfix install script
readme_directory = /usr/share/doc/postfix/README_FILES
html_directory = /usr/share/doc/postfix/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib64/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix
mail_spool_directory = /var/spool/mail
home_mailbox = Maildir/
# User configurable parameters
myhostname = linux-pour-lesnuls.com
mydomain = linux-pour-lesnuls.com
myorigin = $mydomain
inet_interfaces = all
#mynetworks_style = host
relayhost = [smtp.numericable.fr]
sender_canonical_maps = hash:/etc/postfix/canonical
#delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
mynetworks = 127.0.0.0/8, 192.168.1.0/24, localhost, localhost.localdomain
#ne pas autoriser le relaying
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
#check_policy_service inet:127.0.0.1:60000
#reject_rbl_client zen.spamhaus.org
#relay_domain = linux-pour-lesnuls.com
#smtpd_client_restrictions = reject_unknown_client, permit_mynetworks
#reject_unauth_destination
#reject_invalid_hostname
#reject_non_fqdn_hostname
#reject_unlisted_sender
#reject_unlisted_recipient
content_filter = smtp-amavis:[127.0.0.1]:10024 |
merci pour toute info
Partager