Pages : 1
#1 Le 21/09/2016, à 03:09
- nigihayami2
Installation d'un serveur de mail : Jailed!
Bonjour,
pour commencer j'ai réussi à déboguer postfix et dovecot :
Starting Nmap 6.47 ( http://nmap.org ) at 2016-09-21 04:00 CEST
NSE: Loaded 118 scripts for scanning.
NSE: Script Pre-scanning.
Initiating Ping Scan at 04:00
Scanning 192.168.1.64 [2 ports]
Completed Ping Scan at 04:00, 0.00s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 04:00
Completed Parallel DNS resolution of 1 host. at 04:00, 0.00s elapsed
Initiating Connect Scan at 04:00
Scanning www (192.168.1.64) [1000 ports]
Discovered open port 995/tcp on 192.168.1.64
Discovered open port 143/tcp on 192.168.1.64
Discovered open port 3306/tcp on 192.168.1.64
Discovered open port 443/tcp on 192.168.1.64
Discovered open port 80/tcp on 192.168.1.64
Discovered open port 993/tcp on 192.168.1.64
Discovered open port 110/tcp on 192.168.1.64
Completed Connect Scan at 04:00, 0.03s elapsed (1000 total ports)
Initiating Service scan at 04:00
Scanning 7 services on www (192.168.1.64)
Completed Service scan at 04:01, 18.74s elapsed (7 services on 1 host)
NSE: Script scanning 192.168.1.64.
Initiating NSE at 04:01
Completed NSE at 04:01, 0.42s elapsed
Nmap scan report for www (192.168.1.64)
Host is up (0.00048s latency).
Not shown: 993 closed ports
PORT STATE SERVICE VERSION
80/tcp open http Apache httpd
|_http-favicon: Unknown favicon MD5: D769579AFC34CFD624AE6977950F0FCD
| http-methods: POST OPTIONS GET HEAD TRACE
| Potentially risky methods: TRACE
|_See http://nmap.org/nsedoc/scripts/http-methods.html
|_http-title: Site doesn't have a title (text/html).
110/tcp open pop3 Dovecot pop3d
|_pop3-capabilities: AUTH-RESP-CODE USER STLS TOP SASL(PLAIN LOGIN) RESP-CODES PIPELINING UIDL CAPA
143/tcp open imap Dovecot imapd
|_imap-capabilities: more ENABLE IMAP4rev1 listed IDLE SASL-IR capabilities ID have post-login AUTH=PLAIN OK LOGIN-REFERRALS Pre-login AUTH=LOGINA0001 LITERAL+ STARTTLS
443/tcp open ssl/http Apache httpd
Les services sont physiquement actifs ;
www:/home/gilles # service postfix restart
www:/home/gilles # service dovecot restart
www:/home/gilles # systemctl status postfix.service
postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled)
Active: active (running) since mer. 2016-09-21 03:20:39 CEST; 11s ago
Process: 5782 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, status=0/SUCCESS)
Process: 5772 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
Process: 5881 ExecStartPost=/etc/postfix/system/cond_slp register (code=exited, status=0/SUCCESS)
Process: 5879 ExecStartPost=/etc/postfix/system/wait_qmgr 60 (code=exited, status=0/SUCCESS)
Process: 5803 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 5800 ExecStartPre=/etc/postfix/system/update_postmaps (code=exited, status=0/SUCCESS)
Process: 5798 ExecStartPre=/etc/postfix/system/update_chroot (code=exited, status=0/SUCCESS)
Process: 5795 ExecStartPre=/etc/postfix/system/config_postfix (code=exited, status=0/SUCCESS)
Process: 5792 ExecStartPre=/bin/echo Starting mail service (Postfix) (code=exited, status=0/SUCCESS)
Main PID: 5876 (master)
CGroup: /system.slice/postfix.service
├─5876 /usr/lib/postfix/master -w
├─5877 pickup -l -t fifo -u
└─5878 qmgr -l -t fifo -u
sept. 21 03:20:38 www echo[5792]: Starting mail service (Postfix)
sept. 21 03:20:39 www postfix/master[5876]: daemon started -- version 2.11.3, configuration /etc/postfix
sept. 21 03:20:39 www systemd[1]: Started Postfix Mail Transport Agent.
www:/home/gilles # systemctl status dovecot
dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled)
Active: active (running) since mer. 2016-09-21 03:20:44 CEST; 14s ago
Main PID: 5903 (dovecot)
CGroup: /system.slice/dovecot.service
├─5903 /usr/sbin/dovecot -F
├─5907 dovecot/anvil
├─5908 dovecot/log
└─5910 dovecot/config
sept. 21 03:20:44 www systemd[1]: Started Dovecot IMAP/POP3 email server.
sept. 21 03:20:44 www dovecot[5903]: master: Dovecot v2.2.13 starting up for imap, pop3, lmtp (core dumps disabled)
www:/home/gilles #
Mon problème c'est
Test IMAP config
Server
Port 993
Username : user@domaine.tld
Password : XXXXXXXXXXX
Connecting to localhost...
IMAP connect: NOT OK(Login failed for user@domaine.tld from 192.168.1.1. Empty startup greeting (localhost:993))
Quelqu'un a une idée?
Tenace, chui un morbak, je lache pas l'affaire, c'est important de ne pas toujours s'avouer vaincu.
Hors ligne
Pages : 1