I had to install WP-Mail-Bank in one of my WordPress pages/blogs/store, so it can send emails to *people* 🙂
I was getting “SMTP Error: Could not authenticate” on the test email tab.
I had to went to https://accounts.google.com/b/0/DisplayUnlockCaptcha and continue with this request. This gives us a 10min window to connect to Google in an *unsecure* way. Google detects the connection and allow it for the future.
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
I’v installed PHPList on a fresh VPS with Ubuntu 14.04.2 LTS.
I was trying to send emails and I was getting the following error Could not instantiate mail function.
on a fresh VPS with…
sudo apt-get install php5-imap
sudo apt-get install sendmail-bin
Probably only this last one was enough.
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