Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Postfix, courier-imap: checks if working laurent <laurent@××××××××××××.org>