Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/11/2016, à 23:57

vincikito

Connection impossible server postfix avec Thunderbird

Bonjour,

Je me suis installer mon petit serveur mail perso en suivant ce tuto.

Mon probleme est que lorsque j arrive a la fin je n arrive pas a me connecter avec le client Thunderbird.
Je peux envoyer des mails vers l exterieur en utilisant la commande mail.
Je recoit bien les mails de l exterieur que je peux consulter ia webmin.

pour info voici le contenu de mon /etc/postfix/main.cf :

# 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 (Ubuntu)
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
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
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:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_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.
#
myhostname = amodeos.fr
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = amodeos.fr, ServerVince.amodeos.fr, localhost.amodeos.fr, localhost, 192.168.1.25, 88.184.241.200
relayhost = 
mynetworks = 127.0.0.0/8 192.168.1.0 amodeos.fr 192.168.1.25
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
home_mailbox = Maildir/

Si vous avez besoin de plus de detail demandez moi.

Merci d avance de vos retours.

Cordialement,
vince

Hors ligne

#2 Le 16/11/2016, à 12:49

donut

Re : Connection impossible server postfix avec Thunderbird

Salut,
Quand tu dis que tu n'arrives pas à t'y connecter, c'est pour envoyer du courrier ? Ou pour récupérer les messages reçus ?
Dans le deuxième cas ce n'est pas Postfix qui gère ça.


https://utux.fr (blog perso)

Hors ligne

#3 Le 16/11/2016, à 15:07

vincikito

Re : Connection impossible server postfix avec Thunderbird

Bonjour,

tout d'abords merci pour ta réponse.

Ce que je n'arrive pas a faire c'est me connecter à mon serveur avec un client de messagerie pour récupérer mes mails et / ou en envoyer.
J'ai pris comme exemple ThunderBird mais j'en ai essayé d'autre.
Ci dessous tu peux voir les résultat lorsque j'essaye d'ajouter un compte sur thunderbird :

http://imagik.fr/images/2016/11/16/ThunderBird.png

Est ce que ca éclaire ta lanterne?

Merci.


Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images (Des hébergeurs comme Toile Libre ou TDCT'Pix le permettent).

Dernière modification par cqfd93 (Le 16/11/2016, à 15:09)

Hors ligne

#4 Le 16/11/2016, à 16:32

donut

Re : Connection impossible server postfix avec Thunderbird

L'autodétection de Thunderbird est un peu nulle...
Mais en l'occurence pour POP/IMAP ce n'est pas Postfix qui gère ça, c'est Dovecot (ou 'courrier' dans le tuto que tu as utilisé).


https://utux.fr (blog perso)

Hors ligne

#5 Le 16/11/2016, à 19:49

vincikito

Re : Connection impossible server postfix avec Thunderbird

Que me conseil tu en ce cas?

Pour info voici le fichier de config de dovecot :

## Dovecot configuration file

# If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration

# "doveconf -n" command gives a clean output of the changed settings. Use it
# instead of copy&pasting files when posting to the Dovecot mailing list.

# '#' character and everything after it is treated as comments. Extra spaces
# and tabs are ignored. If you want to use either of these explicitly, put the
# value inside quotes, eg.: key = "# char and trailing whitespace  "

# Most (but not all) settings can be overridden by different protocols and/or
# source/destination IPs by placing the settings inside sections, for example:
# protocol imap { }, local 127.0.0.1 { }, remote 10.0.0.0/8 { }

# Default values are shown for each setting, it's not required to uncomment
# those. These are exceptions to this though: No sections (e.g. namespace {})
# or plugin settings are added by default, they're listed only as examples.
# Paths are also just examples with the real defaults being based on configure
# options. The paths listed here are for configure --prefix=/usr
# --sysconfdir=/etc --localstatedir=/var

# Enable installed protocols
!include_try /usr/share/dovecot/protocols.d/*.protocol

# A comma separated list of IPs or hosts where to listen in for connections. 
# "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces.
# If you want to specify non-default ports or anything more complex,
# edit conf.d/master.conf.
#listen = *, ::

# Base directory where to store runtime data.
#base_dir = /var/run/dovecot/

# Name of this instance. In multi-instance setup doveadm and other commands
# can use -i <instance_name> to select which instance is used (an alternative
# to -c <config_path>). The instance name is also added to Dovecot processes
# in ps output.
#instance_name = dovecot

# Greeting message for clients.
#login_greeting = Dovecot ready.

# Space separated list of trusted network ranges. Connections from these
# IPs are allowed to override their IP addresses and ports (for logging and
# for authentication checks). disable_plaintext_auth is also ignored for
# these networks. Typically you'd specify your IMAP proxy servers here.
#login_trusted_networks =

# Space separated list of login access check sockets (e.g. tcpwrap)
#login_access_sockets = 

# With proxy_maybe=yes if proxy destination matches any of these IPs, don't do
# proxying. This isn't necessary normally, but may be useful if the destination
# IP is e.g. a load balancer's IP.
#auth_proxy_self =

# Show more verbose process titles (in ps). Currently shows user name and
# IP address. Useful for seeing who are actually using the IMAP processes
# (eg. shared mailboxes or if same uid is used for multiple accounts).
#verbose_proctitle = no

# Should all processes be killed when Dovecot master process shuts down.
# Setting this to "no" means that Dovecot can be upgraded without
# forcing existing client connections to close (although that could also be
# a problem if the upgrade is e.g. because of a security fix).
#shutdown_clients = yes

# If non-zero, run mail commands via this many connections to doveadm server,
# instead of running them directly in the same process.
#doveadm_worker_count = 0
# UNIX socket or host:port used for connecting to doveadm server
#doveadm_socket_path = doveadm-server

# Space separated list of environment variables that are preserved on Dovecot
# startup and passed down to all of its child processes. You can also give
# key=value pairs to always set specific settings.
#import_environment = TZ

##
## Dictionary server settings
##

# Dictionary can be used to store key=value lists. This is used by several
# plugins. The dictionary can be accessed either directly or though a
# dictionary server. The following dict block maps dictionary names to URIs
# when the server is used. These can then be referenced using URIs in format
# "proxy::<name>".

dict {
  #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
}

# Most of the actual configuration gets included below. The filenames are
# first sorted by their ASCII value and parsed in that order. The 00-prefixes
# in filenames are intended to make it easier to understand the ordering.
!include conf.d/*.conf

# A config file can also tried to be included without giving an error if
# it's not found:
!include_try local.conf

mail_location = maildir:~/Maildir
protocols = imap

Comment puis-je faire pour avoir plus d'info sur les raisons pour lesquels le serveur refuse la connexion d'un client?

Merci.

Hors ligne

#6 Le 17/11/2016, à 12:55

donut

Re : Connection impossible server postfix avec Thunderbird

Tu peux vérifier déjà si dovecot fonctionne :

service dovecot status

Puis regarder ensuite dans /var/log/mail.log (Postfix et Dovecot écrivent tous deux dans ce fichier).


https://utux.fr (blog perso)

Hors ligne

#7 Le 17/11/2016, à 15:45

vincikito

Re : Connection impossible server postfix avec Thunderbird

voici le resultat de service dovecot status :

 dovecot.service - Dovecot IMAP/POP3 email server

   Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor 
preset: enabled)

   Active: active (running) since mar. 2016-11-15 22:23:10 CET; 1 day 
15h ago

     Docs: man:dovecot(1)

           http://wiki2.dovecot.org/

  Process: 1004 ExecStart=/usr/sbin/dovecot (code=exited, 
status=0/SUCCESS)

 Main PID: 1036 (dovecot)

   CGroup: /system.slice/dovecot.service

           ├─1036 /usr/sbin/dovecot

           ├─1037 dovecot/anvil

           └─1038 dovecot/log

 nov. 17 11:15:17 ServerVince 
dovecot[1036]: master: Error: service(imap-login): command startup 
failed, throttling for 8 secs
 nov. 17 11:15:17 ServerVince 
dovecot[1038]: imap-login: Fatal: Can't load ssl_cert: There is no valid 
PEM certificate. (You probably forgot '<' from ssl_cert=<) Warning: 
Journal has been rotated since unit was started. Log output is 
incomplete or unavailable.

et voici la fin de mon fichier mail.log :

 
Nov 17 11:15:17 ServerVince dovecot: master: Error: service(imap-login): command startup failed, throttling for 8 secs
Nov 17 11:15:17 ServerVince dovecot: imap-login: Fatal: Can't load ssl_cert: There is no valid PEM certificate. (You probably forgot '<' from ssl_cert=<)
Nov 17 11:17:57 ServerVince postfix/smtpd[1842]: connect from unknown[109.239.86.190]
Nov 17 11:17:57 ServerVince postfix/smtpd[1842]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 11:21:17 ServerVince postfix/anvil[1845]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 11:17:57
Nov 17 11:21:17 ServerVince postfix/anvil[1845]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 11:17:57
Nov 17 11:21:17 ServerVince postfix/anvil[1845]: statistics: max cache size 1 at Nov 17 11:17:57
Nov 17 11:26:54 ServerVince postfix/smtpd[1998]: connect from unknown[109.239.86.190]
Nov 17 11:26:54 ServerVince postfix/smtpd[1998]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 11:30:14 ServerVince postfix/anvil[2000]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 11:26:54
Nov 17 11:30:14 ServerVince postfix/anvil[2000]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 11:26:54
Nov 17 11:30:14 ServerVince postfix/anvil[2000]: statistics: max cache size 1 at Nov 17 11:26:54
Nov 17 11:35:53 ServerVince postfix/smtpd[2120]: connect from unknown[109.239.86.190]
Nov 17 11:35:53 ServerVince postfix/smtpd[2120]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 11:38:27 ServerVince postfix/smtpd[2128]: connect from pacific.census.shodan.io[85.25.103.50]
Nov 17 11:38:31 ServerVince postfix/smtpd[2128]: lost connection after EHLO from pacific.census.shodan.io[85.25.103.50]
Nov 17 11:38:31 ServerVince postfix/smtpd[2128]: disconnect from pacific.census.shodan.io[85.25.103.50] ehlo=1 commands=1
Nov 17 11:39:01 ServerVince postfix/pickup[2043]: A66692E028F: uid=0 from=<root>
Nov 17 11:41:51 ServerVince postfix/anvil[2122]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 11:35:53
Nov 17 11:41:51 ServerVince postfix/anvil[2122]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 11:35:53
Nov 17 11:41:51 ServerVince postfix/anvil[2122]: statistics: max cache size 1 at Nov 17 11:35:53
Nov 17 11:44:49 ServerVince postfix/smtpd[2301]: connect from unknown[109.239.86.190]
Nov 17 11:44:50 ServerVince postfix/smtpd[2301]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 11:48:10 ServerVince postfix/anvil[2303]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 11:44:49
Nov 17 11:48:10 ServerVince postfix/anvil[2303]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 11:44:49
Nov 17 11:48:10 ServerVince postfix/anvil[2303]: statistics: max cache size 1 at Nov 17 11:44:49
Nov 17 11:54:03 ServerVince postfix/smtpd[2385]: connect from unknown[109.239.86.163]
Nov 17 11:54:03 ServerVince postfix/smtpd[2385]: disconnect from unknown[109.239.86.163] ehlo=1 quit=1 commands=2
Nov 17 11:57:24 ServerVince postfix/anvil[2387]: statistics: max connection rate 1/60s for (smtp:109.239.86.163) at Nov 17 11:54:03
Nov 17 11:57:24 ServerVince postfix/anvil[2387]: statistics: max connection count 1 for (smtp:109.239.86.163) at Nov 17 11:54:03
Nov 17 12:03:02 ServerVince postfix/smtpd[2436]: connect from unknown[109.239.86.163]
Nov 17 12:03:02 ServerVince postfix/smtpd[2436]: disconnect from unknown[109.239.86.163] ehlo=1 quit=1 commands=2
Nov 17 12:06:22 ServerVince postfix/anvil[2438]: statistics: max connection rate 1/60s for (smtp:109.239.86.163) at Nov 17 12:03:02
Nov 17 12:06:22 ServerVince postfix/anvil[2438]: statistics: max connection count 1 for (smtp:109.239.86.163) at Nov 17 12:03:02
Nov 17 12:06:22 ServerVince postfix/anvil[2438]: statistics: max cache size 1 at Nov 17 12:03:02

Nov 17 12:09:01 ServerVince postfix/pickup[2043]: E920A2E028F: uid=0 from=<root>
Nov 17 12:09:01 ServerVince postfix/cleanup[2737]: E920A2E028F: message-id=<20161117110901.E920A2E028F@amodeos.fr>
Nov 17 12:09:02 ServerVince postfix/qmgr[1718]: E920A2E028F: from=<root@amodeos.fr>, size=784, nrcpt=1 (queue active)
Nov 17 12:09:02 ServerVince postfix/local[2739]: E920A2E028F: to=<root@amodeos.fr>, orig_to=<root>, relay=local, delay=0.25, delays=0.21/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)
Nov 17 12:09:02 ServerVince postfix/qmgr[1718]: E920A2E028F: removed
Nov 17 12:12:08 ServerVince postfix/smtpd[2825]: connect from unknown[109.239.86.190]
Nov 17 12:12:09 ServerVince postfix/smtpd[2825]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 12:15:29 ServerVince postfix/anvil[2827]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 12:12:08
Nov 17 12:15:29 ServerVince postfix/anvil[2827]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 12:12:08
Nov 17 12:15:29 ServerVince postfix/anvil[2827]: statistics: max cache size 1 at Nov 17 12:12:08
Nov 17 12:21:10 ServerVince postfix/smtpd[2913]: connect from unknown[109.239.86.163]
Nov 17 12:21:11 ServerVince postfix/smtpd[2913]: disconnect from unknown[109.239.86.163] ehlo=1 quit=1 commands=2
Nov 17 12:24:31 ServerVince postfix/anvil[2915]: statistics: max connection rate 1/60s for (smtp:109.239.86.163) at Nov 17 12:21:10
Nov 17 12:24:31 ServerVince postfix/anvil[2915]: statistics: max connection count 1 for (smtp:109.239.86.163) at Nov 17 12:21:10
Nov 17 12:24:31 ServerVince postfix/anvil[2915]: statistics: max cache size 1 at Nov 17 12:21:10
Nov 17 12:30:20 ServerVince postfix/smtpd[2991]: connect from unknown[109.239.86.163]
Nov 17 12:33:40 ServerVince postfix/anvil[2993]: statistics: max connection rate 1/60s for (smtp:109.239.86.163) at Nov 17 12:30:20
Nov 17 12:33:40 ServerVince postfix/anvil[2993]: statistics: max connection count 1 for (smtp:109.239.86.163) at Nov 17 12:30:20
Nov 17 12:33:40 ServerVince postfix/anvil[2993]: statistics: max cache size 1 at Nov 17 12:30:20
Nov 17 12:39:02 ServerVince postfix/pickup[2043]: 395452E028F: uid=0 from=<root>
Nov 17 12:39:02 ServerVince postfix/cleanup[3128]: 395452E028F: message-id=<20161117113902.395452E028F@amodeos.fr>
Nov 17 12:39:19 ServerVince postfix/smtpd[3134]: connect from unknown[109.239.86.190]
Nov 17 12:39:19 ServerVince postfix/smtpd[3134]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 12:42:39 ServerVince postfix/anvil[3136]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 12:39:19
Nov 17 12:42:39 ServerVince postfix/anvil[3136]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 12:39:19
Nov 17 12:42:39 ServerVince postfix/anvil[3136]: statistics: max cache size 1 at Nov 17 12:39:19
Nov 17 12:48:20 ServerVince postfix/smtpd[3217]: connect from unknown[109.239.86.190]
Nov 17 12:48:20 ServerVince postfix/smtpd[3217]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 12:51:40 ServerVince postfix/anvil[3219]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 12:48:20
Nov 17 12:51:40 ServerVince postfix/anvil[3219]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 12:48:20
Nov 17 12:51:40 ServerVince postfix/anvil[3219]: statistics: max cache size 1 at Nov 17 12:48:20
Nov 17 12:57:17 ServerVince postfix/smtpd[3296]: connect from unknown[109.239.86.190]
Nov 17 12:57:17 ServerVince postfix/smtpd[3296]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 13:00:37 ServerVince postfix/anvil[3298]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 12:57:17
Nov 17 13:00:37 ServerVince postfix/anvil[3298]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 12:57:17
Nov 17 13:00:37 ServerVince postfix/anvil[3298]: statistics: max cache size 1 at Nov 17 12:57:17
Nov 17 13:06:13 ServerVince postfix/smtpd[3379]: connect from unknown[109.239.86.190]
Nov 17 13:06:14 ServerVince postfix/smtpd[3379]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 13:06:14 ServerVince postfix/smtpd[3379]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 13:09:01 ServerVince postfix/pickup[3383]: 7B3012E028F: uid=0 from=<root>
Nov 17 13:09:01 ServerVince postfix/cleanup[3448]: 7B3012E028F: message-id=<20161117120901.7B3012E028F@amodeos.fr>
Nov 17 13:09:01 ServerVince postfix/qmgr[1718]: 7B3012E028F: from=<root@amodeos.fr>, size=784, nrcpt=1 (queue active)
Nov 17 13:09:01 ServerVince postfix/local[3450]: 7B3012E028F: to=<root@amodeos.fr>, orig_to=<root>, relay=local, delay=0.26, delays=0.21/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)
Nov 17 13:09:01 ServerVince postfix/qmgr[1718]: 7B3012E028F: removed
Nov 17 13:09:34 ServerVince postfix/anvil[3381]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 13:06:13
Nov 17 13:09:34 ServerVince postfix/anvil[3381]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 13:06:13
Nov 17 13:09:34 ServerVince postfix/anvil[3381]: statistics: max cache size 1 at Nov 17 13:06:13
Nov 17 13:15:11 ServerVince postfix/smtpd[3501]: connect from unknown[109.239.86.190]
Nov 17 13:15:11 ServerVince postfix/smtpd[3501]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 13:18:31 ServerVince postfix/anvil[3503]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 13:15:11
Nov 17 13:18:31 ServerVince postfix/anvil[3503]: statistics: max cache size 1 at Nov 17 13:15:11
Nov 17 13:24:05 ServerVince postfix/smtpd[3584]: connect from unknown[109.239.86.163]
Nov 17 13:24:05 ServerVince postfix/smtpd[3584]: disconnect from unknown[109.239.86.163] ehlo=1 quit=1 commands=2
Nov 17 13:27:26 ServerVince postfix/anvil[3586]: statistics: max connection rate 1/60s for (smtp:109.239.86.163) at Nov 17 13:24:05
Nov 17 13:27:26 ServerVince postfix/anvil[3586]: statistics: max connection count 1 for (smtp:109.239.86.163) at Nov 17 13:24:05
Nov 17 13:27:26 ServerVince postfix/anvil[3586]: statistics: max cache size 1 at Nov 17 13:24:05
Nov 17 13:32:59 ServerVince postfix/smtpd[3664]: connect from unknown[109.239.86.190]
Nov 17 13:32:59 ServerVince postfix/smtpd[3664]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 13:34:28 ServerVince postfix/smtpd[3664]: connect from unknown[195.22.127.22]
Nov 17 13:34:28 ServerVince postfix/smtpd[3664]: disconnect from unknown[195.22.127.22] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 17 13:37:48 ServerVince postfix/anvil[3666]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 13:32:59
Nov 17 13:37:48 ServerVince postfix/anvil[3666]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 13:32:59
Nov 17 13:37:48 ServerVince postfix/anvil[3666]: statistics: max cache size 1 at Nov 17 13:32:59
Nov 17 13:39:01 ServerVince postfix/pickup[3383]: C014D2E028F: uid=0 from=<root>
Nov 17 13:39:01 ServerVince postfix/cleanup[3771]: C014D2E028F: message-id=<20161117123901.C014D2E028F@amodeos.fr>
Nov 17 13:39:01 ServerVince postfix/qmgr[1718]: C014D2E028F: from=<root@amodeos.fr>, size=784, nrcpt=1 (queue active)
Nov 17 13:39:01 ServerVince postfix/local[3773]: C014D2E028F: to=<root@amodeos.fr>, orig_to=<root>, relay=local, delay=0.24, delays=0.19/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
Nov 17 13:39:01 ServerVince postfix/qmgr[1718]: C014D2E028F: removed
Nov 17 13:41:56 ServerVince postfix/smtpd[3804]: connect from unknown[109.239.86.190]
Nov 17 13:41:56 ServerVince postfix/smtpd[3804]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 13:45:16 ServerVince postfix/anvil[3806]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 13:41:56
Nov 17 13:45:16 ServerVince postfix/anvil[3806]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 13:41:56
Nov 17 13:50:54 ServerVince postfix/smtpd[3960]: connect from unknown[109.239.86.190]
Nov 17 13:50:54 ServerVince postfix/smtpd[3960]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 13:54:14 ServerVince postfix/anvil[3962]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 13:50:54
Nov 17 13:54:14 ServerVince postfix/anvil[3962]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 13:50:54
Nov 17 13:54:14 ServerVince postfix/anvil[3962]: statistics: max cache size 1 at Nov 17 13:50:54
Nov 17 13:59:51 ServerVince postfix/smtpd[4077]: connect from unknown[109.239.86.190]
Nov 17 13:59:51 ServerVince postfix/smtpd[4077]: disconnect from unknown[109.239.86.190] ehlo=1 quit=1 commands=2
Nov 17 14:03:11 ServerVince postfix/anvil[4079]: statistics: max connection rate 1/60s for (smtp:109.239.86.190) at Nov 17 13:59:51
Nov 17 14:03:11 ServerVince postfix/anvil[4079]: statistics: max connection count 1 for (smtp:109.239.86.190) at Nov 17 13:59:51
Nov 17 14:03:11 ServerVince postfix/anvil[4079]: statistics: max cache size 1 at Nov 17 13:59:51
Nov 17 14:08:47 ServerVince postfix/smtpd[4289]: connect from unknown[109.239.86.163]
Nov 17 14:08:47 ServerVince postfix/smtpd[4289]: disconnect from unknown[109.239.86.163] ehlo=1 quit=1 commands=2
Nov 17 14:09:02 ServerVince postfix/pickup[3383]: 0E8C32E028F: uid=0 from=<root>
Nov 17 14:09:02 ServerVince postfix/cleanup[4351]: 0E8C32E028F: message-id=<20161117130902.0E8C32E028F@amodeos.fr>
Nov 17 14:09:02 ServerVince postfix/qmgr[1718]: 0E8C32E028F: from=<root@amodeos.fr>, size=784, nrcpt=1 (queue active)
Nov 17 14:09:02 ServerVince postfix/local[4353]: 0E8C32E028F: to=<root@amodeos.fr>, orig_to=<root>, relay=local, delay=0.25, delays=0.21/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
Nov 17 14:09:02 ServerVince postfix/qmgr[1718]: 0E8C32E028F: removed
Nov 17 14:12:08 ServerVince postfix/anvil[4291]: statistics: max connection rate 1/60s for (smtp:109.239.86.163) at Nov 17 14:08:47
Nov 17 14:12:08 ServerVince postfix/anvil[4291]: statistics: max connection count 1 for (smtp:109.239.86.163) at Nov 17 14:08:47
Nov 17 14:12:08 ServerVince postfix/anvil[4291]: statistics: max cache size 1 at Nov 17 14:08:47

Je ne sais pas trop quoi en penser?

Hors ligne

#8 Le 17/11/2016, à 16:34

donut

Re : Connection impossible server postfix avec Thunderbird

Nov 17 11:15:17 ServerVince dovecot: imap-login: Fatal: Can't load ssl_cert: There is no valid PEM certificate. (You probably forgot '<' from ssl_cert=<)

On dirait qu'il y a un problème ici, c'est dans le fichier /etc/dovecot/conf.d/10-ssl.conf .

Tu peux aussi faire ça :

# netstat -tapl

Il va te lister les ports ouverts, tu verra si vois le 143 (imap) ou le 993 (imap-ssl).


https://utux.fr (blog perso)

Hors ligne

#9 Le 17/11/2016, à 16:46

vincikito

Re : Connection impossible server postfix avec Thunderbird

voilà le resultat :

Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-47-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

4 packages can be updated.
0 updates are security updates.

Last login: Thu Nov 17 13:48:04 2016 from 37.162.74.188
vince@ServerVince:~$ netstat -tapl
(Tous les processus ne peuvent être identifiés, les infos sur les processus
non possédés ne seront pas affichées, vous devez être root pour les voir toutes.                                                                                                                                                             )
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       P                                                                                                                                                             ID/Program name
tcp        0      0 *:8200                  *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 localhost:mysql         *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:netbios-ssn           *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:5900                  *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:imap2                 *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:webmin                *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:urd                   *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 localhost:5939          *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 ServerVince:domain      *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:51413                 *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:ssh                   *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:smtp                  *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:microsoft-ds          *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:20000                 *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:imaps                 *:*                     LISTEN                                                                                                                                                                   -
tcp        0      0 *:9091                  *:*                     LISTEN                                                                                                                                                                   -
tcp        0    800 192.168.1.25:ssh        37-162-74-188.cou:55663 ESTABLISHED                                                                                                                                                              -
tcp        0      0 192.168.1.25:51413      d2.sora.io:16418        TIME_WAIT                                                                                                                                                                -
tcp        0      0 192.168.1.25:51413      modemcable214.150:55833 TIME_WAIT                                                                                                                                                                -
tcp        0      0 192.168.1.25:5900       wsip-24-249-17-10:42803 TIME_WAIT                                                                                                                                                                -
tcp        0      0 192.168.1.25:51413      modemcable094.35-:53103 TIME_WAIT                                                                                                                                                                -
tcp        0      0 192.168.1.25:5900       wsip-24-249-17-10:33559 TIME_WAIT                                                                                                                                                                -
tcp        0      0 192.168.1.25:51413      LFbn-1-2407-39.w9:59051 TIME_WAIT                                                                                                                                                                -
tcp        0      0 192.168.1.25:51413      LFbn-1-7542-232.w:56424 TIME_WAIT                                                                                                                                                                -
tcp        0      0 192.168.1.:microsoft-ds 192.168.1.47:50314      ESTABLISHED                                                                                                                                                              -
tcp        0      0 192.168.1.25:51413      rev-25-157-19.isp:50629 TIME_WAIT                                                                                                                                                                -
tcp        1      0 192.168.1.25:36688      104.27.195.89:http      CLOSE_WAIT                                                                                                                                                               -
tcp        0      0 192.168.1.25:45972      freeplayer:microsoft-ds ESTABLISHED                                                                                                                                                              -
tcp        0      0 192.168.1.25:51413      d2.sora.io:36618        TIME_WAIT                                                                                                                                                                -
tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:http               [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:urd                [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:51413              [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:smtp               [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN                                                                                                                                                                   -
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN                                                                                                                                                                   -

Qu'en ense tu ?

Hors ligne

#10 Le 18/11/2016, à 10:19

donut

Re : Connection impossible server postfix avec Thunderbird

Il semble que Dovecot écoute.
Il se passe quoi dans ton /var/log/mail.log lorsque tu essaie de te connecter avec Thunderbird ?


https://utux.fr (blog perso)

Hors ligne

#11 Le 18/11/2016, à 16:16

vincikito

Re : Connection impossible server postfix avec Thunderbird

Et voila :

Nov 18 14:54:16 ServerVince postfix/smtpd[27934]: disconnect from unknown[106.51.3.125] ehlo=2 starttls=1 commands=3
Nov 18 14:55:40 ServerVince dovecot: imap-login: Fatal: Can't load ssl_cert: There is no valid PEM certificate. (You probably forgot '<' from ssl_cert=<)
Nov 18 14:55:40 ServerVince dovecot: master: Error: service(imap-login): command startup failed, throttling for 60 secs
Nov 18 14:56:40 ServerVince dovecot: imap-login: Fatal: Can't load ssl_cert: There is no valid PEM certificate. (You probably forgot '<' from ssl_cert=<)
Nov 18 14:56:40 ServerVince dovecot: master: Error: service(imap-login): command startup failed, throttling for 60 secs
Nov 18 14:57:36 ServerVince postfix/anvil[27936]: statistics: max connection rate 1/60s for (smtp:106.51.3.125) at Nov 18 14:54:15
Nov 18 14:57:36 ServerVince postfix/anvil[27936]: statistics: max connection count 1 for (smtp:106.51.3.125) at Nov 18 14:54:15
Nov 18 14:57:36 ServerVince postfix/anvil[27936]: statistics: max cache size 1 at Nov 18 14:54:15
Nov 18 14:57:40 ServerVince dovecot: imap-login: Fatal: Can't load ssl_cert: There is no valid PEM certificate. (You probably forgot '<' from ssl_cert=<)
Nov 18 14:57:40 ServerVince dovecot: master: Error: service(imap-login): command startup failed, throttling for 60 secs

Hors ligne

#12 Le 18/11/2016, à 21:23

vincikito

Re : Connection impossible server postfix avec Thunderbird

J'ai finalement trouvé!

En fait c'est bien Dovecot qui refusait la connexion car il n'y avait pas de certificat ssl paramétré.

je l'ai donc généré en utilisant la commande :

sudo openssl req -new -x509 -days 1000 -nodes -out "/etc/ssl/certs/dovecot.pem" -keyout "/etc/ssl/private/dovecot.pem"

puis j'ai modifié le fichier de configuration ssl de dovecot (/etc/dovecot/conf.d/10-ssl.conf) :

ssl = yes
disable_plaintext_auth=no
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem

enfin un restart de DoveCot avec la commande :

sudo /etc/init.d/dovecot restart

Merci Donut pour ton temps, tes conseils m'ont bien aidé!

Hors ligne

#13 Le 20/11/2016, à 00:30

donut

Re : Connection impossible server postfix avec Thunderbird

Bizarre il est censé être généré automatiquement lors de l'installation de Dovecot. Ou alors je confonds avec le certificat snakeoil.
En tous cas tant mieux !


https://utux.fr (blog perso)

Hors ligne

#14 Le 22/11/2016, à 01:43

LeoMajor

Re : Connection impossible server postfix avec Thunderbird

bonjour,
il faut aussi que tu regardes tes logs de dovecot ...
pour debug
doveconf -n

auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
...

Hors ligne