I have freshly installed sendmail and mutt on Ubuntu 14, with no configuration. It works fine like this when sending a test email to a gmail account, e.g.
mutt -s 'test 1' < /dev/null -- email@example.com
This arrives with no problem. But change nothing except the email address to an evernote acccount:
mutt -s 'test 1' < /dev/null -- firstname.lastname@example.org
... and the email never arrives, although this command exits with code 0 and no output to stdout or stderr.
I have confirmed that the evernote account and email address work by sending an email from the gmail account to the evernote account. It arrives with no problem.
I have set the "from" setting in mutt to be the same as it is in the gmail account, in case Evernote is being selective, which it shouldn't be, but no difference.
Here are the headers of a successful email via sendmail from my local box to my gmail account.
Why might mutt or sendmail be able to send to one verified working email address but not to another? How can I debug this?
Update: This was in /var/log/mail.log:
Oct 4 17:00:40 felix sm-mta: t94K9ICL000793: to=<email@example.com>, ctladdr=<mori@felix> (1000/1000), delay=02:51:21, xdelay=00:00:02, mailer=esmtp, pri=1769303, relay=m.evernote.com. [184.108.40.206], dsn=4.1.8, stat=Deferred: 450 4.1.8 <mori@felix>: Sender address rejected: Domain not found Oct 4 17:01:01 felix sm-msp-queue: unable to qualify my own domain name (felix) -- using short name
Sender address rejected: Domain not found and
unable to qualify my own domain name (felix) -- using short name. Does this mean that I need to change the domain name on outgoing emails to something publicly registered in order for my email to be accepted by some servers? Is this a common requirement? Should I do this via sendmail or mutt, and how?