Now, lets check the Postfix SMTP connection. The example below, we telnet to localhost (127.0.0.1) port 25 (smtp), then we using user account Jane to sent an email to James.
telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 mail.1a-centosserver.com ESMTP Postfix ehlo mail 250-mail.1a-centosserver.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSNmail from:<jane> 250 2.1.0 Okrcpt to:<james> 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF>This is a test mail send from Jane . 250 2.0.0 Ok: queued as 8E93F27DF3quit 221 2.0.0 ByeConnection closed by foreign host. |
thanks.......
ReplyDelete