Pb avec dovecot postfix mysql avec le smtp avec app externe

Bonjour tous le monde,

j’ai un serveur avec centos ou j’ai paramétré moi même le serveur mail, et tous fonctionne bien… les comptes mail, l’imap, l’envoi, la réception… enfin, rien a signalé de ce coté la.
Mon pb vient, quand j’essaie de paramétrer mon compte mail nouvellement créé sur l’application mail de mon mac ou bien via d’autres logiciels sur d’autre plateforme, il valide le compte imap, et quand il arrive sur le serveur d’envoi SMTP… ca bloque, ca me met, le serveur SMTP ne repond pas :frowning: j’ai donc installé roundcube sur le serveur, et il envoie les mails et les reçois NORMALEMENT… donc, je ne pense pas que cela vienne de ma config. Enfin bref, je comprends plus ds quel direction, il faut que j’aille.
J’ai même désactivé le pare feu “iptables” mais pas d’amelioration…

Ce qui est bizarre, c’est que quand je paramètre le compte ds l’app “mail” sans le serveur SMTP… je reçois les messages, mais je suis obligé de passer par orange pour renvoyer la réponse

Enfin, je vous copie colle mon code

/etc/dovecot/dovecot.conf

##
## Dovecot config file
##

protocols = imap pop3 lmtp sieve
auth_mechanisms = plain login
passdb {
  driver = sql
  args = /etc/dovecot/dovecot-mysql.conf
}
userdb {
  driver = prefetch
}
userdb {
  driver = sql
  args = /etc/dovecot/dovecot-mysql.conf
}

# CHANGER SI VOUS UTILISER UN AUTRE EMPLACEMENT
mail_location = maildir:/home/vmail/%d/%n
#

# ATTENTION
first_valid_uid = 5000
#last_valid_uid = 0

# CHANGER SI VOTRE gid de mail group est different
first_valid_gid = 12
#last_valid_gid = 0
#

#mail_plugins =
mailbox_idle_check_interval = 30 secs
maildir_copy_with_hardlinks = yes
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 110
  }
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
service lmtp {
  unix_listener lmtp {
    #mode = 0666
  }
}
service imap {
  vsz_limit = 256M
}
service pop3 {
}
service auth {
  unix_listener auth-userdb {
    mode = 0666

    # ATTENTION
    user = vmail
    group = mail
    #

  }

  # Postfix smtp-auth
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = postfix
    group = postfix
  }
}
service auth-worker {
}
service dict {
  unix_listener dict {
    mode = 0666

    # ATTENTION
    user = vmail
    group = mail
    #

  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  service_count = 1
  process_min_avail = 0
  vsz_limit = 64M
}
service managesieve {
}
ssl = yes

# CHANGER LE CHEMIN VERS VOTRE SERTIFICAT
ssl_key = </etc/pki/tls/private/cacert.key
ssl_cert = </etc/pki/tls/certs/cacert.crt
#ssl_ca =
#

ssl_verify_client_cert = no

lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
protocol lda {
  mail_plugins = quota sieve
  postmaster_address = postmaster@frenchtouch-bakery.com
}
protocol imap {
  mail_plugins = quota imap_quota trash
  imap_client_workarounds = delay-newmail
}
lmtp_save_to_detail_mailbox = yes
protocol lmtp {
  mail_plugins = sieve
}
protocol pop3 {
  mail_plugins = quota
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol sieve {
  managesieve_max_line_length = 65536
  managesieve_implementation_string = Dovecot Pigeonhole
  managesieve_max_compile_errors = 5
}
dict {
  quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
plugin {
  quota = dict:user::proxy::quotadict
  acl = vfile:/etc/dovecot/acls
  trash = /etc/dovecot/trash.conf
  sieve_global_path = /home/sieve/globalfilter.sieve
  sieve = ~/dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /home/sieve/
  #sieve_extensions = +notify +imapflags
  sieve_max_script_size = 1M
  #sieve_max_actions = 32
  #sieve_max_redirects = 4
}

et le fichier /etc/postfix/main.cf

# postfix config file

# uncomment for debugging if needed
#soft_bounce=yes

# postfix main
mail_owner = postfix
setgid_group = postdrop
delay_warning_time = 4

# postfix paths
html_directory = no
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES

# network settings
inet_interfaces = all
mydomain = frenchtouch-bakery.com
myhostname = mail.frenchtouch-bakery.com
mynetworks = $config_directory/mynetworks
mydestination = $myhostname, localhost.$mydomain, localhost
relay_domains = proxy:mysql:/etc/postfix/mysql_relay_domains_maps.cf

# mail delivery
recipient_delimiter = +

# mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
transport_maps = hash:/etc/postfix/transport
#local_recipient_maps =

# virtual setup
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
        regexp:/etc/postfix/virtual_regexp

# CHANGER SI VOUS UTILISER UN AUTRE EMPLACEMENT
virtual_mailbox_base = /home/vmail
#

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf

# ATTENTION
virtual_minimum_uid = 5000
virtual_uid_maps = static:5000

# CHANGER SI VOTRE gid de mail group est different
virtual_gid_maps = static:12
#

virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

# debugging
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
        xxgdb $daemon_directory/$process_name $process_id & sleep 5

# authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

# tls config
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache

# CHANGER LE CHEMIN VERS VOTRE SERTIFICAT
smtpd_tls_key_file = /etc/pki/tls/private/cacert.key
smtpd_tls_cert_file = /etc/pki/tls/certs/cacert.crt
# smtpd_tls_CAfile = /etc/pki/tls/root.crt
#

# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_recipient_domain

# uncomment for realtime black list checks
#       ,reject_rbl_client zen.spamhaus.org
#       ,reject_rbl_client bl.spamcop.net
#       ,reject_rbl_client dnsbl.sorbs.net

smtpd_helo_required = yes
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_data_restrictions = reject_unauth_pipelining

et le fichier master

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
smtps     inet  n       -       n       -       -       smtpd
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_reject_unlisted_sender=yes
      -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
      -o broken_sasl_auth_clients=yes
#submission inet n       -       n       -       -       smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628      inet  n       -       n       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
        -o smtp_fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop  unix  -       n       n       -       -       pipe
#  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
#uucp      unix  -       n       n       -       -       pipe
#  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# ====================================================================
#
# Other external delivery methods.
#
#ifmail    unix  -       n       n       -       -       pipe
#  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#
#bsmtp     unix  -       n       n       -       -       pipe
#  flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
#scalemail-backend unix -       n       n       -       2       pipe
#  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
#  ${nexthop} ${user} ${extension}
#
#mailman   unix  -       n       n       -       -       pipe
#  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
#  ${nexthop} ${user}
# Dovecot LDA
dovecot   unix  -       n       n       -       -       pipe
        flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient}

je vous en serais reconnaissant de me filer un tit coup de main :slightly_smiling:

Bonjour,

à mon avis, t’as dû mal mis les paramètres sur ton client mail.

Une bonne solution pour voir l’erreur : connecte toi encore avec ton client mail, puis regarde les logs dans /var/log/mail.log, /var/log/mail.err, et /var/log/dovecot.log
=> ça te permettra de savoir si tu as mis les bons paramètres de connexion sur ton client mail.

Tu peux poster ici les logs et une capture d’écran du formulaire des paramètres de connexion de ton client mail.

Le relay smtp est-il autorisé ?

Attention dans le cas ou tu l’autorise il faut impérativement autoriser que les mail envoyé depuis un compte existant et avec authentification, il te faudra aussi adapter ton champ SPF dans ta zone DNS.

Par contre il est où le lien avec Debian :think:

re,

déjà je ne trouvé pas les logs dont tu parles plus haut, le seul log que j’ai pû trouvé c’est /var/log/maillog

Sep  8 13:29:24 s17570629 postfix/smtpd[1152]: connect from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:29:24 s17570629 postfix/smtpd[1152]: lost connection after CONNECT from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:29:24 s17570629 postfix/smtpd[1152]: disconnect from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:29:24 s17570629 dovecot: pop3-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38
Sep  8 13:29:24 s17570629 dovecot: imap-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38
Sep  8 13:29:24 s17570629 dovecot: pop3-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38, TLS handshaking: Disconnected
Sep  8 13:29:24 s17570629 dovecot: imap-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38, TLS handshaking: Disconnected
Sep  8 13:29:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1170, secured
Sep  8 13:29:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:30:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1175, secured
Sep  8 13:30:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:31:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1178, secured
Sep  8 13:31:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:32:26 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1181, secured
Sep  8 13:32:26 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:32:44 s17570629 postfix/anvil[1159]: statistics: max connection rate 2/60s for (smtp:195.20.253.5) at Sep  8 13:29:24
Sep  8 13:32:44 s17570629 postfix/anvil[1159]: statistics: max connection count 1 for (smtp:195.20.253.5) at Sep  8 13:29:14
Sep  8 13:32:44 s17570629 postfix/anvil[1159]: statistics: max cache size 1 at Sep  8 13:29:14
Sep  8 13:33:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1184, secured
Sep  8 13:33:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:34:26 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1187, secured
Sep  8 13:34:26 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:35:26 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1190, secured
Sep  8 13:35:26 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:35:32 s17570629 postfix/smtpd[1191]: warning: 12.133.41.130: address not listed for hostname mail.arcpa.org
Sep  8 13:35:32 s17570629 postfix/smtpd[1191]: connect from unknown[12.133.41.130]
Sep  8 13:35:34 s17570629 postfix/smtpd[1191]: warning: unknown[12.133.41.130]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep  8 13:35:34 s17570629 postfix/smtpd[1191]: lost connection after AUTH from unknown[12.133.41.130]
Sep  8 13:35:34 s17570629 postfix/smtpd[1191]: disconnect from unknown[12.133.41.130]
Sep  8 13:36:26 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1196, secured
Sep  8 13:36:26 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:37:26 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1199, secured
Sep  8 13:37:26 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:38:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1202, secured
Sep  8 13:38:26 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:38:54 s17570629 postfix/anvil[1193]: statistics: max connection rate 1/60s for (smtp:12.133.41.130) at Sep  8 13:35:32
Sep  8 13:38:54 s17570629 postfix/anvil[1193]: statistics: max connection count 1 for (smtp:12.133.41.130) at Sep  8 13:35:32
Sep  8 13:38:54 s17570629 postfix/anvil[1193]: statistics: max cache size 1 at Sep  8 13:35:32
Sep  8 13:39:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1206, secured
Sep  8 13:39:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:40:26 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1209, secured
Sep  8 13:40:26 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:41:26 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1219, secured
Sep  8 13:41:26 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:42:05 s17570629 postfix/smtpd[1220]: connect from ANice-256-1-175-213.w86-193.abo.wanadoo.fr[86.193.174.213]
Sep  8 13:42:19 s17570629 postfix/smtpd[1223]: warning: 81.82.251.231: hostname d5152FBE7.static.telenet.be verification failed: Name or service not known
Sep  8 13:42:19 s17570629 postfix/smtpd[1223]: connect from unknown[81.82.251.231]
Sep  8 13:42:22 s17570629 postfix/smtpd[1223]: warning: unknown[81.82.251.231]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep  8 13:42:22 s17570629 postfix/smtpd[1223]: lost connection after AUTH from unknown[81.82.251.231]
Sep  8 13:42:22 s17570629 postfix/smtpd[1223]: disconnect from unknown[81.82.251.231]
Sep  8 13:42:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1226, secured
Sep  8 13:42:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:43:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1232, secured
Sep  8 13:43:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:44:14 s17570629 dovecot: pop3-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38
Sep  8 13:44:14 s17570629 postfix/smtpd[1236]: connect from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:44:14 s17570629 postfix/smtpd[1236]: lost connection after CONNECT from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:44:14 s17570629 postfix/smtpd[1236]: disconnect from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:44:14 s17570629 dovecot: imap-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38
Sep  8 13:44:14 s17570629 dovecot: pop3-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38, TLS handshaking: Disconnected
Sep  8 13:44:14 s17570629 dovecot: imap-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38, TLS handshaking: Disconnected
Sep  8 13:44:24 s17570629 postfix/smtpd[1236]: connect from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:44:24 s17570629 postfix/smtpd[1236]: lost connection after CONNECT from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:44:24 s17570629 postfix/smtpd[1236]: disconnect from hosting32.monitoring.1and1.com[195.20.253.5]
Sep  8 13:44:24 s17570629 dovecot: pop3-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38
Sep  8 13:44:24 s17570629 dovecot: imap-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38
Sep  8 13:44:24 s17570629 dovecot: pop3-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38, TLS handshaking: Disconnected
Sep  8 13:44:24 s17570629 dovecot: imap-login: Disconnected (no auth attempts): rip=195.20.253.5, lip=87.106.99.38, TLS handshaking: Disconnected
Sep  8 13:44:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1251, secured
Sep  8 13:44:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:45:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1254, secured
Sep  8 13:45:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:46:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1258, secured
Sep  8 13:46:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:47:05 s17570629 postfix/smtpd[1220]: lost connection after UNKNOWN from ANice-256-1-175-213.w86-193.abo.wanadoo.fr[86.193.174.213]
Sep  8 13:47:05 s17570629 postfix/smtpd[1220]: disconnect from ANice-256-1-175-213.w86-193.abo.wanadoo.fr[86.193.174.213]
Sep  8 13:47:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1261, secured
Sep  8 13:47:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:48:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1264, secured
Sep  8 13:48:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:49:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1267, secured
Sep  8 13:49:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:49:59 s17570629 postfix/smtpd[1268]: connect from 117-56-54-84.HINET-IP.hinet.net[117.56.54.84]
Sep  8 13:50:02 s17570629 postfix/smtpd[1268]: warning: 117-56-54-84.HINET-IP.hinet.net[117.56.54.84]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep  8 13:50:02 s17570629 postfix/smtpd[1268]: lost connection after AUTH from 117-56-54-84.HINET-IP.hinet.net[117.56.54.84]
Sep  8 13:50:02 s17570629 postfix/smtpd[1268]: disconnect from 117-56-54-84.HINET-IP.hinet.net[117.56.54.84]
Sep  8 13:50:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1272, secured
Sep  8 13:50:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:51:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1275, secured
Sep  8 13:51:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:52:05 s17570629 postfix/anvil[1222]: statistics: max connection rate 2/60s for (smtp:195.20.253.5) at Sep  8 13:44:24
Sep  8 13:52:05 s17570629 postfix/anvil[1222]: statistics: max connection count 1 for (smtps:86.193.174.213) at Sep  8 13:42:05
Sep  8 13:52:05 s17570629 postfix/anvil[1222]: statistics: max cache size 2 at Sep  8 13:42:19
Sep  8 13:52:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1278, secured
Sep  8 13:52:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:53:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1281, secured
Sep  8 13:53:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:54:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1284, secured
Sep  8 13:54:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410
Sep  8 13:55:25 s17570629 dovecot: imap-login: Login: user=<ludo@frenchtouch-bakery.com>, method=PLAIN, rip=::1, lip=::1, mpid=1287, secured
Sep  8 13:55:25 s17570629 dovecot: imap(ludo@frenchtouch-bakery.com): Disconnected: Logged out bytes=50/410

je pense que dovecot met ses logs ds ce fichier aussi. Qauand je vais sur la doc officiel de postfix, ils disent qu’ils sont censé être stocké ici :
/etc/syslog.conf
mail.err /dev/console
mail.debug /var/log/maillog
et à part pour maillog, c’est le seul que j’ai

root@s17570629:/var/log # ls -lha
total 126M
drwxr-xr-x  6 root  root  4,0K  8 sept. 13:06 .
drwxr-xr-x 21 root  root  4,0K  6 sept. 01:09 ..
-rw-------  1 root  root     0 13 mai   21:47 boot.log
-rw-------  1 root  utmp   18M  8 sept. 12:32 btmp
-rw-------  1 root  utmp   63M  1 sept. 02:40 btmp-20140901
-rw-------  1 root  root  4,3K  8 sept. 13:06 cron
-rw-------  1 root  root   18K 17 août  04:02 cron-20140817
-rw-------  1 root  root   18K 24 août  04:02 cron-20140824
-rw-------  1 root  root   19K 31 août  04:02 cron-20140831
-rw-------  1 root  root   19K  7 sept. 04:02 cron-20140907
-rw-r--r--  1 root  root     0  8 sept. 13:06 dmesg
-rw-r--r--  1 root  root     0  8 sept. 12:42 dmesg.old
-rw-r--r--  1 root  root  144K 15 mai   20:19 dracut.log
drwx------  2 root  root  4,0K  8 sept. 04:08 httpd
drwxr-xr-x  2 root  root  4,0K 19 mai   14:11 iptables
-rw-r--r--  1 root  root  1,4M  8 sept. 13:07 lastlog
-rw-------  1 root  root   27K  8 sept. 13:57 maillog
-rw-------  1 root  root  2,3M 17 août  04:02 maillog-20140817
-rw-------  1 root  root  1,6M 24 août  03:52 maillog-20140824
-rw-------  1 root  root  3,8M 31 août  03:59 maillog-20140831
-rw-------  1 root  root  2,7M  7 sept. 04:02 maillog-20140907
-rw-------  1 root  root  1,3M  8 sept. 11:39 maillog.bck
-rw-------  1 root  root   90K  8 sept. 13:44 messages
-rw-------  1 root  root   147 10 août  04:03 messages-20140817
-rw-------  1 root  root   147 17 août  04:02 messages-20140824
-rw-------  1 root  root  112K 31 août  03:59 messages-20140831
-rw-------  1 root  root  337K  7 sept. 04:02 messages-20140907
-rw-r-----  1 mysql mysql  71K  8 sept. 13:06 mysqld.log
drwxr-x---  2 root  root  4,0K 20 déc.   2013 proftpd
drwx------  3 root  root  4,0K 25 mars  15:19 samba
-rw-------  1 root  root  1,1M  8 sept. 13:44 secure
-rw-------  1 root  root  8,6M 17 août  04:02 secure-20140817
-rw-------  1 root  root  6,3M 24 août  03:49 secure-20140824
-rw-------  1 root  root  7,4M 31 août  03:59 secure-20140831
-rw-------  1 root  root   11M  7 sept. 03:57 secure-20140907
-rw-------  1 root  root     0  7 sept. 04:02 spooler
-rw-------  1 root  root     0 10 août  04:03 spooler-20140817
-rw-------  1 root  root     0 17 août  04:02 spooler-20140824
-rw-------  1 root  root     0 24 août  04:02 spooler-20140831
-rw-------  1 root  root     0 31 août  04:02 spooler-20140907
-rw-------  1 root  root     0 18 févr.  2014 tallylog
-rw-rw-r--  1 root  utmp   79K  8 sept. 13:07 wtmp
-rw-------  1 root  root   13K  6 sept. 14:17 yum.log

ensuite, pour le print ecran, ca donne ca… j’ai mis ici que la fenêtre en rapport avec le smtp, car pour la connexion en IMAP, celà fonctionne niquel

j’ai autorisé aucun relay, j’ai d’ailleurs rajouté la syntaxe

mais bon, ca ne sert à rien de le placer ds le fichier, car d’après la doc, c’est une valeur par default :frowning:
Quand au DNS, j’ai bien hésité a m’interressé à la question… mais j’ai bien que ce soit un peu complexe

La case Activer l’authentification doit être coché car tu utilise sasl.

Par contre, ludo est un utilisateur unix ou virtuel ?

Bah en fait, j’ai une VM commandé chez 1 and 1, ou j’ai installé linux en version minimale, car, sur la version de base avec plesk… je m’en sortais pas… trop de contrainte, par rapport à plesk

en ce qui concerne l’app “mail”, en fait, j’ai fais qu’un print écran, mais j’ai testé avec authentification et sans authentification… et les 2 sans succès

Pour ma part, j’ai rajouté dans le fichier master.cf de postfix la ligne
submission inet n - n - - smtpd

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
smtps     inet  n       -       n       -       -       smtpd
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_reject_unlisted_sender=yes
      -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
      -o broken_sasl_auth_clients=yes
submission inet n       -       n       -       -       smtpd
#submission inet n       -       n       -       -       smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628      inet  n       -       n       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
	-o smtp_fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop  unix  -       n       n       -       -       pipe
#  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
#uucp      unix  -       n       n       -       -       pipe
#  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# ====================================================================
#
# Other external delivery methods.
#
#ifmail    unix  -       n       n       -       -       pipe
#  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#
#bsmtp     unix  -       n       n       -       -       pipe
#  flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
#scalemail-backend unix -       n       n       -       2       pipe
#  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
#  ${nexthop} ${user} ${extension}
#
#mailman   unix  -       n       n       -       -       pipe
#  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
#  ${nexthop} ${user}
# Dovecot LDA
dovecot   unix  -       n       n       -       -       pipe
	flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient}

alors, je ne sais pas si ca a un rapport… mais ca a l’air de marcher, mais bizarrement, je ne suis pas convaincu, ou bien, c’est que j’ai mal compris