Gentoo Archives: gentoo-user

From: laurent <laurent@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Postfix, courier-imap: checks if working
Date: Tue, 31 Mar 2009 19:59:02
Message-Id: 49D275F3.1080003@logiquefloue.org
In Reply to: Re: [gentoo-user] Postfix, courier-imap: checks if working by Xav'
1 Xav' a écrit :
2 > On Tue, 31 Mar 2009 18:15:33 +0200, laurent <laurent@××××××××××××.org>
3 > wrote:
4 >
5 >> Hi,
6 >>
7 >> I'm following this how to:
8 >> http://www.gentoo.org/doc/en/virt-mail-howto.xml
9 >>
10 >> after configuring courier-imap they say:
11 >> Start up your favorite mail client and verify that all connections
12 >> you've started work for receiving and sending mail. Of course, you won't
13 >> be able to log on to any of the services because authentication hasn't
14 >> been configured yet, but it is wise to check if the connections
15 >> themselves work or not.
16 >>
17 >> I'm using mutt, saying there's no mailbox. Creating mailbox is done
18 >> later in the how to.
19 >> What do they mean, how can I test if smtpd and pop3d work fine ?
20 >>
21 >
22 > They mean that you have to check with your client that
23 > pop3/pop3s/smtp/imap/imaps connection are established with success.
24 > You can do this with either telnet or netcat for pop3/smtp/imap protocol
25 > and see if the server answer to the connection and with openssl s_client
26 > for pop3s/imaps connection.
27 >
28 > HTH.
29 > Xavier
30 >
31
32 hm actually I should get something like that:
33
34 # telnet localhost 25
35
36 Trying 127.0.0.1...
37 Connected to localhost.
38 Escape character is '^]'.
39 220 mail.domain.com ESMTP Postfix
40 EHLO domain.com
41 250-mail.domain.com
42 250-PIPELINING
43 250-SIZE 10240000
44 250-VRFY
45 250-ETRN
46 250-STARTTLS
47 250-AUTH LOGIN PLAIN
48 250-AUTH=LOGIN PLAIN
49 250-XVERP
50 250 8BITMIME
51 ^]
52 telnet> quit
53
54 but I get this:
55 telnet localhost 25
56 Trying 127.0.0.1...
57 Connected to localhost.
58 Escape character is '^]'.
59 Connection closed by foreign host.
60
61 :s
62 >
63 >> Thanks
64 >> Laurent
65 >>

Replies

Subject Author
Re: [gentoo-user] Postfix, courier-imap: checks if working Xav' <xp@××××××××.fr>