Apr 29 03:09:02 sd-71796 postfix/master: fatal: bind 0.0.0.0 port 25: Address already in use
So, looks like we have the port 25 in use!
This solved my issue…
service sendmail stop
service postfix restart
service sendmail start
After doing this the /var/mail/ had the user’s files!
Send a test email
mail -s "Test Subject" [email protected] < /dev/null
To set up an user you need to Configure Additional Email Addresses.
Solution found at http://askubuntu.com/questions/405058/postfix-start-error-port-25-address-already-in-use
While installing sendmail, I got the following error…
WARNING: local host name (digitalwhores) is not qualified; see cf/README: WHO AM I?
Lets edit /etc/hostname and make it digitalwhores.net.
sudo nano /etc/hostname
Lets run sendmailconfig
I saw the solution @ http://unix.stackexchange.com/questions/1551/what-is-sendmail-referring-to-here/210999 – tnks to Jadeye for alerting me that I might need to restart the server.
This is the little sh that i’m using to send cronjobed emails.
echo "From: [email protected]";
echo "To: [email protected]";
echo "Subject: Title";
echo "Content-Type: text/html";
echo "MIME-Version: 1.0";
echo "Hello,<br /><br />";
echo "This is our text!";
) | /usr/lib/sendmail -t