DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th September 2018
vanGrimoire's Avatar
vanGrimoire vanGrimoire is offline
Port Guard
 
Join Date: Nov 2012
Posts: 43
Default Sendmail not parsing colons

Hello,


I've tested sendmail from the commandline and found that I can send email if it does not contain a colon.
For example:
Code:
sendmail user@mailserver.com << EOF
Hello, this is a test email.
EOF
works, but this:

Code:
sendmail user@mailserver.com << EOF
Subject: Test email
This is a test email.subject: hello what!
EOF

sendmail: command failed: 550 5.7.1 Delivery not authorized, message refused: Message is not RFC 2822 compliant
does not.

Thanks in advance.
Attached Files
File Type: txt dmesg.txt (18.9 KB, 36 views)

Last edited by vanGrimoire; 11th September 2018 at 01:33 AM. Reason: title, more data
Reply With Quote
  #2   (View Single Post)  
Old 10th September 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I see one issue here in your test, and one in the sendmail(1) man page.

Here: your second Email is not RFC 2822 compliant. The colon is considered a header field delimiter (RFC 2822 section 2.2) and not part of the message body.

There: the man page says: "The sendmail enqueuer is not intended to be used directly to send mail, but rather via a frontend known as a mail user agent."
Reply With Quote
Reply

Tags
rancid, sendmail, smtpd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail SMART_HOST? jb_daefo FreeBSD General 6 3rd February 2016 02:54 PM
Sendmail + mailscanner deadeyes FreeBSD General 1 5th March 2014 10:09 AM
Sendmail TLS gpatrick OpenBSD General 5 26th February 2011 01:42 AM
Sendmail Timmy66 OpenBSD General 11 19th October 2008 03:01 PM
Sendmail, issues... pcfxer FreeBSD General 2 8th May 2008 10:07 AM


All times are GMT. The time now is 05:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick