[quote=“lol”]Re,
Il faudrait ajouter le réseau local…[/quote]
il me semblais que c’était déja le reseau local ça j’ai donc ajouter l’ip de eth0
mais cela ne fonctionne toujours pas
par ailleurs depuis le webmail cela ne fonctionne plus non plus l’email est bounced à root pourquoi ?
[quote]#echo test | mail -s “Premier test SMTP” contact@tecknocracy.com && tail -f /var/log/mail.info
Mar 28 17:14:49 sd-32611 postfix/smtp[4936]: 80E752E15E9: to=contact@tecknocracy.com, relay=127.0.0.1[127.0.0.1]:10024, delay=0.44, delays=0.18/0/0/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=04023-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C66B62E0D06)
Mar 28 17:14:49 sd-32611 postfix/qmgr[4917]: C66B62E0D06: from=root@sd-32611.dedibox.fr, size=835, nrcpt=1 (queue active)
Mar 28 17:14:49 sd-32611 postfix/qmgr[4917]: 80E752E15E9: removed
Mar 28 17:14:50 sd-32611 postfix/smtp[4940]: C66B62E0D06: to=contact@tecknocracy.com, relay=none, delay=0.19, delays=0.14/0.04/0/0, dsn=5.4.6, status=bounced (mail for tecknocracy.com loops back to myself)
Mar 28 17:14:50 sd-32611 postfix/cleanup[4932]: 13DD92E166A: message-id=20120328151450.13DD92E166A@sd-32611.dedibox.fr
Mar 28 17:14:50 sd-32611 postfix/bounce[4941]: C66B62E0D06: sender non-delivery notification: 13DD92E166A
Mar 28 17:14:50 sd-32611 postfix/qmgr[4917]: 13DD92E166A: from=<>, size=2787, nrcpt=1 (queue active)
Mar 28 17:14:50 sd-32611 postfix/local[4942]: 13DD92E166A: to=root@sd-32611.dedibox.fr, relay=local, delay=0.21, delays=0.15/0/0/0.06, dsn=2.0.0, status=sent (delivered to mailbox)
Mar 28 17:14:50 sd-32611 postfix/qmgr[4917]: C66B62E0D06: removed
Mar 28 17:14:50 sd-32611 postfix/qmgr[4917]: 13DD92E166A: removed
Mar 28 17:16:19 sd-32611 postfix/pickup[4916]: 4B9A22E15E9: uid=0 from=
Mar 28 17:16:19 sd-32611 postfix/cleanup[4932]: 4B9A22E15E9: message-id=20120328151619.4B9A22E15E9@sd-32611.dedibox.fr
Mar 28 17:16:19 sd-32611 postfix/qmgr[4917]: 4B9A22E15E9: from=root@sd-32611.dedibox.fr, size=366, nrcpt=1 (queue active)
Mar 28 17:16:19 sd-32611 postfix/smtpd[4939]: connect from localhost[127.0.0.1]
Mar 28 17:16:19 sd-32611 postfix/smtpd[4939]: 9534A2E0D06: client=localhost[127.0.0.1]
Mar 28 17:16:19 sd-32611 postfix/cleanup[4932]: 9534A2E0D06: message-id=20120328151619.4B9A22E15E9@sd-32611.dedibox.fr
Mar 28 17:16:19 sd-32611 postfix/smtpd[4939]: disconnect from localhost[127.0.0.1]
Mar 28 17:16:19 sd-32611 amavis[4054]: (04054-09) Passed CLEAN, root@sd-32611.dedibox.fr -> contact@tecknocracy.com, Message-ID: 20120328151619.4B9A22E15E9@sd-32611.dedibox.fr, mail_id: rrKitMpV6sQ4, Hits: -0.001, size: 366, queued_as: 9534A2E0D06, 281 ms
Mar 28 17:16:19 sd-32611 postfix/smtp[4936]: 4B9A22E15E9: to=contact@tecknocracy.com, relay=127.0.0.1[127.0.0.1]:10024, delay=0.47, delays=0.18/0/0/0.28, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=04054-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9534A2E0D06)
Mar 28 17:16:19 sd-32611 postfix/qmgr[4917]: 9534A2E0D06: from=root@sd-32611.dedibox.fr, size=835, nrcpt=1 (queue active)
Mar 28 17:16:19 sd-32611 postfix/qmgr[4917]: 4B9A22E15E9: removed
Mar 28 17:16:19 sd-32611 postfix/smtp[4940]: 9534A2E0D06: to=contact@tecknocracy.com, relay=none, delay=0.23, delays=0.18/0.05/0/0, dsn=5.4.6, status=bounced (mail for tecknocracy.com loops back to myself)
Mar 28 17:16:19 sd-32611 postfix/cleanup[4932]: E0ED32E166A: message-id=20120328151619.E0ED32E166A@sd-32611.dedibox.fr
Mar 28 17:16:19 sd-32611 postfix/bounce[4941]: 9534A2E0D06: sender non-delivery notification: E0ED32E166A
Mar 28 17:16:20 sd-32611 postfix/qmgr[4917]: E0ED32E166A: from=<>, size=2787, nrcpt=1 (queue active)
Mar 28 17:16:20 sd-32611 postfix/local[4942]: E0ED32E166A: to=root@sd-32611.dedibox.fr, relay=local, delay=0.21, delays=0.17/0/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
Mar 28 17:16:20 sd-32611 postfix/qmgr[4917]: 9534A2E0D06: removed
Mar 28 17:16:20 sd-32611 postfix/qmgr[4917]: E0ED32E166A: removed
[/quote]
voici le nouveau postconf -n
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
delay_warning_time = 1h
disable_vrfy_command = yes
inet_interfaces = all
inet_protocols = ipv4
mailbox_command =
mailbox_size_limit = 0
mydestination = sd-32611.dedibox.fr, localhost.dedibox.fr, , localhost
myhostname = sd-32611.dedibox.fr
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 88.190.31.235
myorigin = /etc/mailname
readme_directory = no
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/mysql_relay_domains.cf
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unauth_destination, reject_unauth_pipelining, check_policy_service inet:127.0.0.1:10023, reject_invalid_hostname
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:3000
virtual_mailbox_base = /home/postman
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:3000