sendmail linux

Install and setup sendmail program on linux debian/ubuntu ( THIS is NOT SETUP Properly Yet )

sudo apt install sendmail
sudo sendmailconfig
sudo service sendmail 
Invalid command <>
Usage: /etc/init.d/sendmail <command>
 Where <command> is one of the following
sudo service sendmail restart
netstat -an | grep -i 25 # Check port 25 for mail daemon
netstat -an | grep -i smtp
sudo postfix status/stop
/etc/init.d/postfix status
sudo sh -c 'echo " server1" >> /etc/hosts'
 USE postfix alternatively for email server setup.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s