laurent a écrit :
Xav' a écrit :
On Tue, 31 Mar 2009 18:15:33 +0200, laurent <laur...@logiquefloue.org>
wrote:
Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all connections you've started work for receiving and sending mail. Of course, you won't be able to log on to any of the services because authentication hasn't been configured yet, but it is wise to check if the connections themselves work or not.

I'm using mutt, saying there's no mailbox. Creating mailbox is done later in the how to.
What do they mean, how can I test if smtpd and pop3d work fine ?

They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap protocol
and see if the server answer to the connection and with openssl s_client
for pop3s/imaps connection.

HTH.
Xavier

hm actually I should get something like that:

# telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet> quit

but I get this:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

Maybe you could check in or post your postfix logs (/var/log/mail.* or /var/log/messages), or adding -d argument to smtpd command in /etc/postfix/master.cf, reload postfix with postfix reload, retry telnet and check (or post) the logs again.

:s
Thanks
Laurent



Reply via email to