Postfix configuration on ubuntu | for local host mailing
Don’t forget to comment and subscribe for more content.
change hostname with : hostnamectl set-hostname |name you want to change to|
view hostname : hostname
——————————————————————————————————
update package : sudo apt-get update
download and install postfix : sudo apt-get install postfix
to reconfigure postfix : sudo dpkg-reconfigure postfix
to access configuration file :
– – – – – – sudo nano /etc/postfix/main.cf
– – – – – – sudo vim /etc/postfix/main.cf
or with any available text editor
——————————————————————————————————
for the last part | for mailing we can download and use mail command
to download command use : sudo apt-get install mailutils
command to send mails
echo “Your message” | mail -s “Your subject” your recipient
eg : echo “message” | mail -s “this is my subject” user@ubuntu.com
by Soory mate
linux smtp server
good explaination but what da hell did u do un the telnet part!! Copypaste??
don't forget to comment