MSMTP says the email is queued but never get's sent
I installed MSMTP as my mail client on my Ubuntu LAMP on 14.04 droplet. I followed a tutorial and managed to get PHP using it to send mail. Testing via Wordpress works beautifully.
I’ve got it setup to use Mandrill to send mail. I can view the Mandrill logs as well as the Droplet logs at /var/log/msmtp.log.
Now I’m trying to get cron to use msmtp to send it’s notifications. The first step was to verify my user could send mail via the command line. Well, that’s where I’ve got stuck. Using this command:
echo -e "Subject: Test Mail\r\n\r\nThis is a test mail" | msmtp --debug --from=default -t firstname.lastname@example.org
I see the log come into my msmtp.log file, and everything is reported as OK. I even get a queued number, something like:
Dec 31 03:56:50 host=smtp.mandrillapp.com tls=on auth=on email@example.com from=default firstname.lastname@example.org mailsize=40 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued as E467F1C02F5' exitcode=EX_OK
But this never get’s to Mandrill. Well from what I can tell it doesn’t.
Can anyone help me get through the first step of sending mail from the cmd line?