https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291310
Bug ID: 291310
Summary: /usr/libexec/dma breaks messages formatted with cr+lf
lines
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 265740
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265740&action=edit
patch to fix the above
When piping a message thru dma -t and the message has cr+lf at the end of lines
it will break when forwarding it to a smtp host
the reason is that dma will remove \n at the end of the line and append \r\n
however when the original message already has \r\n it will end with \r\r\n at
the end of every line
more info at
https://forums.freebsd.org/threads/sending-email-using-php-mail-function-fails-via-dma-8.100466/
sendmail (receiving smpt) will complain as follows
Nov 30 22:12:44 ns sm-mta[91531]: 5AUHLtwN039474: [email protected],
delay=02:50:49, xdelay=00:00:00, mailer=esmtp, pri=1140782, relay=xxxx.xx.xx
[xx.xx.x.xxx], dsn=4.0.0, reply=421 4.5.0 Bare carriage return (CR) not
allowed, stat=Deferred: 421 4.5.0 Bare carriage return (CR) not allowed
proposed patch in the attachment
--
You are receiving this mail because:
You are the assignee for the bug.