PostFix


Postfix



To install postfix run this command in the terminal.

apt-get install postfix

after that add the hostname into Postfix main.cf file.

postconf -e "myhostname=server.example.com"

Add two users

adduser name
adduser name


Using telnet command

telnet localhost 25































mail from: is a sender
rcpt to: is a reciver
data: message that we want to send
. to end the process
quit exit from telnet


To check the mail that we have sent. Need to enter into the directory called /var/mail. Here a file will be created automatically by the name of receiver o sender.

Comments

Popular posts from this blog

How to install coWPAtty 4.6 on Ubuntu?

Alpine

How to get the user name and password of Facebook with DNS spoofing ?