Saturday, 17 February 2007

Ubuntu Smtp Server

To configure a Smtp Server with Ubuntu System follow these steps:

Install postfix package :
root@testob:~# apt-get install postfix

follow the wizard configuration , sample :




For more configuration you have to use the dpkg-reconfigure utility :
root@testob:~# dpkg-reconfigure postfix

follow this wizard :














Now test your smtp server with telnet utility , sample :

user@hostname:~$ telnet 192.168.66.137 25
Trying 192.168.66.137...
Connected to 192.168.66.137.
Escape character is '^]'.
220 testob.domain.com ESMTP Postfix (Ubuntu)
helo pccicla.blogspot.com
250 testob.domain.com
helo pccicla.blogspot.com
250 testob.domain.com
mail from: pier[at]pccicla.it
250 Ok
rcpt to: piergiovanni[at]gmail.com
250 Ok
data
354 End data with .
Test
.
250 Ok: queued as 4010719220
quit
221 Bye
Connection closed by foreign host.

Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home