Report this

What is the reason for this report?

Unable to get SendMail to work.

Posted on December 29, 2013

I set up my mx record to be “mail” with priority one. I am able to successfully ping mail@my-domain.com

I’ve followed this documentation: https://wiki.archlinux.org/index.php/sendmail

I then:

$ sendmail -vt < test-message.txt

The output looks like this (please note that I changed some of the stuff to hide my droplet name, domain name, and username. I’ve cap-locked those parts to make it obvious.

WARNING: local host name (DROPLET) is not qualified; see cf/README: WHO AM I? TEST@EMAIL.COM… Connecting to [127.0.0.1] via relay… 220 MY-DOMAIN.COM ESMTP Sendmail 8.14.7/8.14.7; Mon, 23 Dec 2013 06:00:31 GMT

EHLO camille 250-MY-DOMAIN.COM Hello localhost.localdomain [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP VERB 250 2.0.0 Verbose mode MAIL From:MY-LOGIN@MY-DROPLET SIZE=111 050 MY-LOGIN@MY-DROPLET… Transient parse error – message queued for future delivery 553 5.1.8 MY-LOGIN@MY-DROPLET… Domain of sender address MY-LOGIN@MY-DROPLET does not exist …/dead.letter… Saved message in …/dead.letter Closing connection to [127.0.0.1] QUIT 221 2.0.0 MY-DOMAIN.COM closing connection



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Seems like it’s working then :]

I set up the MX record and went through setting up sendmail again, but still no dice. <br> <br>I still get the same error as here: <br>Domain of sender address MY-LOGIN@MY-DROPLET does not exist <br> <br>I would list all the sites and blogs I looked into for answers, but nothing seems to be working.

WARNING: local host name (MY-DROPLET) is not qualified; see cf/README: WHO AM I? <br>TEST@EMAIL.COM… Connecting to [127.0.0.1] via relay… <br>220 MY-DOMAIN.COM ESMTP Sendmail 8.14.7/8.14.7; Sun, 29 Dec 2013 05:01:15 GMT <br>>>> EHLO MY-DROPLET <br>250-MY-DOMAIN.COM Hello localhost.localdomain [127.0.0.1], pleased to meet you <br>250-ENHANCEDSTATUSCODES <br>250-PIPELINING <br>250-EXPN <br>250-VERB <br>250-8BITMIME <br>250-SIZE <br>250-DSN <br>250-ETRN <br>250-DELIVERBY <br>250 HELP <br>>>> VERB <br>250 2.0.0 Verbose mode <br>>>> MAIL From:MY-LOGIN@MY-DROPLET SIZE=74 <br>553 5.1.8 MY-LOGIN@MY-DROPLET… Domain of sender address MY-LOGIN@MY-DROPLET does not exist <br>MY-LOGIN… Using cached ESMTP connection to [127.0.0.1] via relay… <br>>>> RSET <br>250 2.0.0 Reset state <br>>>> MAIL From:<> SIZE=1098 <br>250 2.1.0 <>… Sender ok <br>>>> RCPT To:MY-LOGIN@MY-DROPLET <br>>>> DATA <br>250 2.1.5 MY-LOGIN@MY-DROPLET… Recipient ok <br>354 Enter mail, end with “.” on a line by itself <br>>>> . <br>050 MY-LOGIN@MY-DROPLET… Connecting to local… <br>050 MY-LOGIN@MY-DROPLET… Sent <br>250 2.0.0 rBT51FM3009927 Message accepted for delivery <br>MY-LOGIN… Sent (rBT51FM3009927 Message accepted for delivery) <br>Closing connection to [127.0.0.1] <br>>>> QUIT <br>221 2.0.0 MY-DOMAIN.COM closing connection

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.