Casey Bralla via plug on 5 Dec 2023 07:17:27 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
[PLUG] OpenSMTPD RFC 2822 Error |
I'm building an OpenSMTPD mailer server in a virtualbox test
environment. The test environment has a Bind9 DNS service running
that recognizes XYZ.com as a valid domain. The test OpenSMTPD
mail server is listed in the DNS as the mail server for that
domain.
I'm at the initial testing phase, but getting an RFC 2822 error. As far as I can tell, my message is RFC 2822 compliant, but OpenSMTPD seems to disagree.
Can anybody see what I'm doing wrong? Here is my test sequence:
telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 T-Mail ESMTP OpenSMTPD
ehlo xyz.com
250-T-Mail Hello xyz.com [::1], pleased to meet you
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-SIZE 36700160
250-DSN
250 HELP
mail from: <casey@xyz.com>
250 2.0.0 Ok
rcpt to: <casey@xyz.com>
250 2.1.5 Destination address valid: Recipient ok
data
354 Enter mail, end with "." on a line by itself
date: Tue, 2023-12-05 10:13:00 AM
from: <casey@xyz.com>
subject: Test
This is a test eMail.
.
550 5.7.1 Delivery not authorized, message refused: Message is not RFC 2822 compliant
The logs don't add any additional detail about the error.
As far as I can tell, RFC 2822 mandates a "date:" and "From: " field in the message data block. I think I've got those present. However, OpenSMTPD is notoriously persnickety about following the RFCs.
Can anybody see what I'm doing wrong?
TIA!
-- LEGAL NOTICE: This eMail contains private, personal, and/or privileged information and is only for the intended recipient(s). In fact, you really should consider yourself honored to even be cc'd on this tremendously important communication. The author spent literally seconds composing this magnificent opus of rational thought and deductive logic. Unfortunately, it has probably been based on inaccurate data, which really stinks because this eMail would have been truly awesome! If you have received this eMail in error, we respectfully DEMAND that you immediately delete it and inform the sender that you have received it in error. Then, just to be safe, you should reformat your hard drive, shave your head, renounce all material possessions (which are really controlling your life anyway), and join an end-of-times cult somewhere. Once there, you must reconsider all the terrible choices you've made in your life, and promise never to confuse "sex" with "gender" again. Of course, this assumes you have already come to terms with your inherent whiteness, AND that you have learned the lyrics to The Internationale. "Arise, wretched of the earth! Arise, convicts of hunger..." (https://en.wikipedia.org/wiki/The_Internationale) We sincerely hope you are able to get your medication stabilized and no longer have that recurring dream where you're alone in a large crowd, standing naked in a vat of chocolate Yoo-hoo. BTW, Yoo-hoo really is an underrated beverage. It’s chocolatey, yet suprisingly refreshing. Pick up a 6-pack today, and tell your friends!
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug