# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
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
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = searcraft
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = searcraft.fr, searcraft, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_tls_security_level = may
smtpd_tls_auth_only = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
Ainsi que les logs (/var/log/mail.log) :
Note : après lecture rapide de ces logs, je me rends compte que l'email est envoyé à user@example.com. Le domaine est donc incorrect mais je ne sais pas où le modifier.
Sep 19 00:06:32 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 00:07:02 searcraft postfix/smtp[20672]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 00:07:32 searcraft postfix/smtp[20672]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 00:07:32 searcraft postfix/smtp[20672]: 412822A23F02: to=<user@example.com>, relay=none, delay=118024, delays=117964/0.03/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 00:53:35 searcraft postfix/smtpd[20824]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
Sep 19 00:53:35 searcraft postfix/smtpd[20824]: connect from unknown[89.248.169.36]
Sep 19 00:53:35 searcraft postfix/smtpd[20824]: lost connection after EHLO from unknown[89.248.169.36]
Sep 19 00:53:35 searcraft postfix/smtpd[20824]: disconnect from unknown[89.248.169.36]
Sep 19 00:56:56 searcraft postfix/anvil[20826]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 00:53:35
Sep 19 00:56:56 searcraft postfix/anvil[20826]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 00:53:35
Sep 19 00:56:56 searcraft postfix/anvil[20826]: statistics: max cache size 1 at Sep 19 00:53:35
Sep 19 01:16:34 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 01:17:04 searcraft postfix/smtp[20911]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 01:17:34 searcraft postfix/smtp[20911]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 01:17:34 searcraft postfix/smtp[20911]: 412822A23F02: to=<user@example.com>, relay=none, delay=122225, delays=122165/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 02:26:34 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 02:27:04 searcraft postfix/smtp[21136]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 02:27:34 searcraft postfix/smtp[21136]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 02:27:34 searcraft postfix/smtp[21136]: 412822A23F02: to=<user@example.com>, relay=none, delay=126425, delays=126365/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
Sep 19 03:08:41 searcraft postfix/smtpd[21261]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
Sep 19 03:08:41 searcraft postfix/smtpd[21261]: connect from unknown[89.248.169.36]
Sep 19 03:08:41 searcraft postfix/smtpd[21261]: lost connection after EHLO from unknown[89.248.169.36]
Sep 19 03:08:41 searcraft postfix/smtpd[21261]: disconnect from unknown[89.248.169.36]
Sep 19 03:12:01 searcraft postfix/anvil[21263]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 03:08:41
Sep 19 03:12:01 searcraft postfix/anvil[21263]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 03:08:41
Sep 19 03:12:01 searcraft postfix/anvil[21263]: statistics: max cache size 1 at Sep 19 03:08:41
Sep 19 03:36:34 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 03:37:04 searcraft postfix/smtp[21345]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 03:37:34 searcraft postfix/smtp[21345]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 03:37:34 searcraft postfix/smtp[21345]: 412822A23F02: to=<user@example.com>, relay=none, delay=130625, delays=130565/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 04:46:35 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 04:47:05 searcraft postfix/smtp[21567]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 04:47:35 searcraft postfix/smtp[21567]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 04:47:35 searcraft postfix/smtp[21567]: 412822A23F02: to=<user@example.com>, relay=none, delay=134826, delays=134766/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 05:23:08 searcraft postfix/smtpd[21696]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
Sep 19 05:23:08 searcraft postfix/smtpd[21696]: connect from unknown[89.248.169.36]
Sep 19 05:23:08 searcraft postfix/smtpd[21696]: lost connection after EHLO from unknown[89.248.169.36]
Sep 19 05:23:08 searcraft postfix/smtpd[21696]: disconnect from unknown[89.248.169.36]
Sep 19 05:26:29 searcraft postfix/anvil[21698]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 05:23:08
Sep 19 05:26:29 searcraft postfix/anvil[21698]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 05:23:08
Sep 19 05:26:29 searcraft postfix/anvil[21698]: statistics: max cache size 1 at Sep 19 05:23:08
Sep 19 05:56:35 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 05:57:05 searcraft postfix/smtp[21791]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 05:57:35 searcraft postfix/smtp[21791]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 05:57:35 searcraft postfix/smtp[21791]: 412822A23F02: to=<user@example.com>, relay=none, delay=139027, delays=138967/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
Sep 19 06:19:09 searcraft postfix/smtpd[21854]: connect from dslb-084-061-151-054.084.061.pools.vodafone-ip.de[84.61.151.54]
Sep 19 06:19:09 searcraft postfix/smtpd[21854]: disconnect from dslb-084-061-151-054.084.061.pools.vodafone-ip.de[84.61.151.54]
Sep 19 06:22:30 searcraft postfix/anvil[21856]: statistics: max connection rate 1/60s for (smtp:84.61.151.54) at Sep 19 06:19:09
Sep 19 06:22:30 searcraft postfix/anvil[21856]: statistics: max connection count 1 for (smtp:84.61.151.54) at Sep 19 06:19:09
Sep 19 06:22:30 searcraft postfix/anvil[21856]: statistics: max cache size 1 at Sep 19 06:19:09
Sep 19 07:06:37 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 07:07:07 searcraft postfix/smtp[22075]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 07:07:37 searcraft postfix/smtp[22075]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 07:07:37 searcraft postfix/smtp[22075]: 412822A23F02: to=<user@example.com>, relay=none, delay=143228, delays=143168/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 07:41:00 searcraft postfix/smtpd[22385]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
Sep 19 07:41:00 searcraft postfix/smtpd[22385]: connect from unknown[89.248.169.36]
Sep 19 07:41:00 searcraft postfix/smtpd[22385]: lost connection after EHLO from unknown[89.248.169.36]
Sep 19 07:41:00 searcraft postfix/smtpd[22385]: disconnect from unknown[89.248.169.36]
Sep 19 07:44:20 searcraft postfix/anvil[22387]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 07:41:00
Sep 19 07:44:20 searcraft postfix/anvil[22387]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 07:41:00
Sep 19 07:44:20 searcraft postfix/anvil[22387]: statistics: max cache size 1 at Sep 19 07:41:00
Sep 19 08:16:37 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 08:17:07 searcraft postfix/smtp[22531]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 08:17:37 searcraft postfix/smtp[22531]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 08:17:37 searcraft postfix/smtp[22531]: 412822A23F02: to=<user@example.com>, relay=none, delay=147428, delays=147368/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 09:26:38 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 09:27:08 searcraft postfix/smtp[22768]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 09:27:38 searcraft postfix/smtp[22768]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 09:27:38 searcraft postfix/smtp[22768]: 412822A23F02: to=<user@example.com>, relay=none, delay=151629, delays=151569/0.03/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
Sep 19 09:59:19 searcraft postfix/smtpd[22876]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
Sep 19 09:59:19 searcraft postfix/smtpd[22876]: connect from unknown[89.248.169.36]
Sep 19 09:59:20 searcraft postfix/smtpd[22876]: lost connection after EHLO from unknown[89.248.169.36]
Sep 19 09:59:20 searcraft postfix/smtpd[22876]: disconnect from unknown[89.248.169.36]
Sep 19 10:02:40 searcraft postfix/anvil[22878]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 09:59:19
Sep 19 10:02:40 searcraft postfix/anvil[22878]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 09:59:19
Sep 19 10:02:40 searcraft postfix/anvil[22878]: statistics: max cache size 1 at Sep 19 09:59:19
Sep 19 10:36:38 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 10:37:08 searcraft postfix/smtp[22986]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 10:37:38 searcraft postfix/smtp[22986]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 10:37:38 searcraft postfix/smtp[22986]: 412822A23F02: to=<user@example.com>, relay=none, delay=155829, delays=155769/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 11:10:03 searcraft dovecot: pop3-login: Disconnected (no auth attempts in 3 secs): user=<>, rip=71.6.158.166, lip=149.91.81.92, session=<TxBordg8jgBHBp6m>
Sep 19 11:46:38 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 11:47:08 searcraft postfix/smtp[23214]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 11:47:38 searcraft postfix/smtp[23214]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 11:47:38 searcraft postfix/smtp[23214]: 412822A23F02: to=<user@example.com>, relay=none, delay=160029, delays=159969/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
Sep 19 12:17:55 searcraft postfix/smtpd[23312]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
Sep 19 12:17:55 searcraft postfix/smtpd[23312]: connect from unknown[89.248.169.36]
Sep 19 12:17:55 searcraft postfix/smtpd[23312]: lost connection after EHLO from unknown[89.248.169.36]
Sep 19 12:17:55 searcraft postfix/smtpd[23312]: disconnect from unknown[89.248.169.36]
Sep 19 12:21:16 searcraft postfix/anvil[23314]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 12:17:55
Sep 19 12:21:16 searcraft postfix/anvil[23314]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 12:17:55
Sep 19 12:21:16 searcraft postfix/anvil[23314]: statistics: max cache size 1 at Sep 19 12:17:55
Sep 19 12:56:39 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 12:57:09 searcraft postfix/smtp[23512]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 12:57:39 searcraft postfix/smtp[23512]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 12:57:39 searcraft postfix/smtp[23512]: 412822A23F02: to=<user@example.com>, relay=none, delay=164230, delays=164170/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
Sep 19 14:06:40 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 14:07:10 searcraft postfix/smtp[23852]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 14:07:40 searcraft postfix/smtp[23852]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 14:07:40 searcraft postfix/smtp[23852]: 412822A23F02: to=<user@example.com>, relay=none, delay=168431, delays=168371/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 14:34:57 searcraft postfix/smtpd[23962]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
Sep 19 14:34:57 searcraft postfix/smtpd[23962]: connect from unknown[89.248.169.36]
Sep 19 14:34:57 searcraft postfix/smtpd[23962]: lost connection after EHLO from unknown[89.248.169.36]
Sep 19 14:34:57 searcraft postfix/smtpd[23962]: disconnect from unknown[89.248.169.36]
Sep 19 14:38:17 searcraft postfix/anvil[23964]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 14:34:57
Sep 19 14:38:17 searcraft postfix/anvil[23964]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 14:34:57
Sep 19 14:38:17 searcraft postfix/anvil[23964]: statistics: max cache size 1 at Sep 19 14:34:57
Sep 19 15:16:41 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 15:17:11 searcraft postfix/smtp[24342]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 15:17:41 searcraft postfix/smtp[24342]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 15:17:41 searcraft postfix/smtp[24342]: 412822A23F02: to=<user@example.com>, relay=none, delay=172632, delays=172572/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 16:26:41 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 16:27:11 searcraft postfix/smtp[24951]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 16:27:41 searcraft postfix/smtp[24951]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 16:27:41 searcraft postfix/smtp[24951]: 412822A23F02: to=<user@example.com>, relay=none, delay=176833, delays=176772/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 16:52:24 searcraft postfix/smtpd[25417]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
Sep 19 16:52:24 searcraft postfix/smtpd[25417]: connect from unknown[89.248.169.36]
Sep 19 16:52:24 searcraft postfix/smtpd[25417]: lost connection after EHLO from unknown[89.248.169.36]
Sep 19 16:52:24 searcraft postfix/smtpd[25417]: disconnect from unknown[89.248.169.36]
Sep 19 16:55:44 searcraft postfix/anvil[25419]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 16:52:24
Sep 19 16:55:44 searcraft postfix/anvil[25419]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 16:52:24
Sep 19 16:55:44 searcraft postfix/anvil[25419]: statistics: max cache size 1 at Sep 19 16:52:24
Sep 19 17:36:42 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
Sep 19 17:37:12 searcraft postfix/smtp[26930]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
Sep 19 17:37:42 searcraft postfix/smtp[26930]: connect to example.com[93.184.216.34]:25: Connection timed out
Sep 19 17:37:42 searcraft postfix/smtp[26930]: 412822A23F02: to=<user@example.com>, relay=none, delay=181033, delays=180973/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
Sep 19 18:11:07 searcraft postfix/pickup[27501]: 3F2062A23F3A: uid=0 from=<root@searcraft>
Sep 19 18:11:07 searcraft postfix/cleanup[27896]: 3F2062A23F3A: message-id=<20160919161107.3F2062A23F3A@searcraft>
Sep 19 18:11:07 searcraft postfix/qmgr[19133]: 3F2062A23F3A: from=<root@searcraft>, size=320, nrcpt=1 (queue active)
Sep 19 18:11:07 searcraft postfix/local[27900]: 3F2062A23F3A: to=<user@searcraft>, relay=local, delay=0.21, delays=0.14/0.03/0/0.04, dsn=5.1.1, status=bounced (unknown user: "user")
Sep 19 18:11:07 searcraft postfix/cleanup[27896]: 5A3962A23F3B: message-id=<20160919161107.5A3962A23F3B@searcraft>
Sep 19 18:11:07 searcraft postfix/bounce[27901]: 3F2062A23F3A: sender non-delivery notification: 5A3962A23F3B
Sep 19 18:11:07 searcraft postfix/qmgr[19133]: 5A3962A23F3B: from=<>, size=1967, nrcpt=1 (queue active)
Sep 19 18:11:07 searcraft postfix/qmgr[19133]: 3F2062A23F3A: removed
Sep 19 18:11:07 searcraft postfix/local[27900]: 5A3962A23F3B: to=<root@searcraft>, relay=local, delay=0.05, delays=0/0/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 19 18:11:07 searcraft postfix/qmgr[19133]: 5A3962A23F3B: removed
Non, cela dépend de comment tu configures postfix.
Si tu le configures pour qu'il utilise tes utilisateurs unix, alors oui, mais dans ce cas postfixadmin devrait aussi être configuré de la sorte.
Si tu le configures pour des utilisateurs virtuels ou en BDD, ce ne sera pas nécessaire, et plus sécurisé.
Je pense qu'il faut avant tout que tu comprennes bien comment fonctionne un serveur de messagerie avant de te lancer plus loin, car là j'ai l'impression que tu nages ;-)
Apparement ton domain d apres la configuration est cible vers la base de donnee mysql donc consulte ta base de donnee avec phpmyadmin et trouve si l utilisateur virtuel existe ainsi que ton domaine . Ne pas oublier de tester si la connectiviter existe entre la base et ton programme
Les petites choses ont leur importance ; c'est toujours par elles qu'on se perd. Auteur: Fedor Dostoïevski
Dit moi juste une autre question tu as installé roundcube ? si oui regarde dans /etc/apache2/sites-available ton VirtualHost webmail, la config est basée sur 'exemple.com', t'en aurais pas laissé trainer un ?
---\ **** /---
Bonjour,
Déjà chez qui est ton vps ?
Si tu veut tu peut tester ces deux choses, c'est ce que j'ai du faire sur un des vps que j'avais.
La seconde elle risque de t'obliger à réinstaller tout l'ensemble postfixadmin, postfix, dovecote, en faite je ne sais pas dans qu'elle mesure ca peut les corrompre de le virer après l’installation.
apt-get purge sendmail*
Si il est installé par défaut sur ta config celui-ci c'est un monstre de configuration, mais c'est un MTA comme postfix, de plus pour ne pas compliquer la chose postfix fonctionne avec un sendmail mais ce n'est pas le même c'est un homonyme.
Pour résoudre mon problème je suis partis sur une nouvelle base debian, j'ai viré d'office le sendmail près-installé, et j'ai refait toute la procédure d'installation en ayant pris soins de supprimer les bases de données postfixadmin et mailuser.
Une fois l’installation faite je n'ai pas placé mon NDD dans mydestination =, et la je peut me planter dans ce que je vais dire mail il me semble que le reverse DNS n'y est pas innocent, quand au exemple.com c'est peut être bien celui du MTA sendmail si jamais il est installé, bien-sur il existe une procédure pour éviter son activation, si la encore je ne dit pas de bêtises en faisant un truc du genre :
le plus simple reste quand même pour tester, virer postfixadmin, postfix, dovecote, la purge avec l'etoile (tres important) sur sendmail et refaire l'install sans oublier de corriger par rapport au tuto que tu a suivit :
Dit moi juste une autre question tu as installé roundcube ? si oui regarde dans /etc/apache2/sites-available ton VirtualHost webmail, la config est basée sur 'exemple.com', t'en aurais pas laissé trainer un ?
Je n'ai pas configuré de virtualhost pour RoundCube.
Déjà chez qui est ton vps ?
PulseHeberg
La première, virer le NDD de ton main.cf
Ah je sens que c'est quasi résolu !! Voici les logs :
Oct 12 15:51:37 searcraft dovecot: imap-login: Login: user=<user@searcraft.fr>, method=PLAIN, rip=::1, lip=::1, mpid=25009, secured, session=<j2G1Sqs+/wAAAAAAAAAAAAAAA$
Oct 12 15:51:37 searcraft dovecot: imap(user@searcraft.fr): Disconnected: Logged out in=50 out=469
Oct 12 15:51:39 searcraft postfix/pickup[24835]: A02702A210D0: uid=0 from=<root@searcraft>
Oct 12 15:51:39 searcraft postfix/cleanup[25014]: A02702A210D0: message-id=<20161012135139.A02702A210D0@searcraft>
Oct 12 15:51:39 searcraft postfix/qmgr[24836]: A02702A210D0: from=<root@searcraft>, size=308, nrcpt=1 (queue active)
Oct 12 15:51:39 searcraft postfix/pipe[25018]: A02702A210D0: to=<user@searcraft.fr>, relay=dovecot, delay=0.07, delays=0.03/0.01/0/0.03, dsn=4.3.0, status=deferred (te$
En revanche voici la sortie d'un tree /var/mail :
root@searcraft:~# tree /var/mail
/var/mail
|-- pierre
`-- root
0 directories, 2 files
root@searcraft:~#
Donc il y a encore un truc qui coince...
La seconde elle risque de t'obliger à réinstaller tout l'ensemble postfixadmin, postfix, dovecote, en faite je ne sais pas dans qu'elle mesure ca peut les corrompre de le virer après l’installation.
Merci pour les explications ! Je tenterai demain si personne ne trouve autre chose
Mais c'est de celui-ci que nous venons plagoutte et moi
Tu a configuré l'arrivé de tes mail dans /var/mail/ ?
Parce que le tuto c'est sur /var/vmail/ si tu a suivit le tuto à la lettre regarde
tree /var/vmail/
si le mail à ete delivré tu devrait avoir d'écrit à la fin de la dernière ligne :
status=sent (delivered via dovecot service)
Compos sui.
POSTFIX : Unknow user
× Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
× Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
Compos sui.
Compos sui.
Compos sui.