Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: 554 Rejected - Message containing bare LF's
PostPosted: 2012-04-05 18:04 
New user
New user

Joined: 2012-04-05 16:16
Posts: 7
Hello!

i am running hmailserver 5.3.3-B1879 on a windows 2008 box.

My problem is that some email senders are rejected with the message "554 Rejected - Message containing bare LF's"
I tried to whitelist the ip adress of the sending server but in the logfiles the messages are deleted. (logfile entry "Deleting message file")

I want to know HOW can accept these mails?

i looked around in the Anti-spam options at Spam test, but i did not find any option for setting of a message rejection.

Many thanks for helping!

best regards
tom


Top
 Profile  
 
 Post subject: Re: 554 Rejected - Message containing bare LF's
PostPosted: 2012-04-05 18:20 
Developer
Developer

Joined: 2010-04-24 23:16
Posts: 6163
Location: Michigan, USA
Hey Tom,
Legit email shouldn't end in just LF's. However, if you really want to allow:
http://www.hmailserver.com/documentatio ... otocolsmtp
"Allow incorrectly formatted line endings"
Quote:
According to the SMTP specification, every line in an email message should be separated by the ASCII-codes 13 and 10. Some spammers sends messages which are not correctly formatted. Use this setting to reject these messages. Please note that legitimate email might have incorrectly formatted line endings, if the sending software contains bugs.

It is under settings-protocols-smtp then rfc compliance tab
Bill

_________________
hMailServer build LIVE on my servers: 5.4-B2014050402
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420
Urgent? Bored? JOIN US ON IRC!
DOGE ME: DSqtEcqP3Qv6Tj2XrGNpDmEUkSBcpBsuWk


Top
 Profile  
 
 Post subject: Re: 554 Rejected - Message containing bare LF's
PostPosted: 2012-04-05 21:58 
New user
New user

Joined: 2012-04-05 16:16
Posts: 7
many thanks for the answer.

the sender of this mails is a large company and my customer does not want to reject them.

their it-department says that their messages are well formated and this is a bug of windows mail servers :(


Top
 Profile  
 
 Post subject: Re: 554 Rejected - Message containing bare LF's
PostPosted: 2012-04-05 22:33 
Developer
Developer

Joined: 2010-04-24 23:16
Posts: 6163
Location: Michigan, USA
Yeah well they can point finger all they want but send them this link:
http://www.ietf.org/rfc/rfc2821.txt
refer to section "2.3.7 Lines"
Quote:
Lines consist of zero or more data
characters terminated by the sequence ASCII character "CR" (hex value
0D) followed immediately by ASCII character "LF" (hex value 0A).

This termination sequence is denoted as <CRLF> in this document.
Conforming implementations MUST NOT recognize or generate any other
character or character sequence as a line terminator. Limits MAY be
imposed on line lengths by servers (see section 4.5.3).

In addition, the appearance of "bare" "CR" or "LF" characters in text
(i.e., either without the other) has a long history of causing
problems in mail implementations and applications that use the mail
system as a tool. SMTP client implementations MUST NOT transmit
these characters except when they are intended as line terminators

and then MUST, as indicated above, transmit them only as a <CRLF>
sequence.


In other words tell em they can go pound sand & stuff it. ;)
Bill

_________________
hMailServer build LIVE on my servers: 5.4-B2014050402
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420
Urgent? Bored? JOIN US ON IRC!
DOGE ME: DSqtEcqP3Qv6Tj2XrGNpDmEUkSBcpBsuWk


Top
 Profile  
 
 Post subject: Re: 554 Rejected - Message containing bare LF's
PostPosted: 2012-04-05 22:44 
Site Admin
User avatar

Joined: 2005-07-29 16:18
Posts: 13805
Location: UK
Totally 100% agree with Bill on this one. Bare LF's are non RFC compliant and if your IT guys worth anything they would have known that and has sweet FA to do with windows mail servers and is certainly NOT a bug.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: 554 Rejected - Message containing bare LF's
PostPosted: 2012-04-06 20:33 
New user
New user

Joined: 2012-04-05 16:16
Posts: 7
the sender from this malformed emails is a really big Hosting Company here in Europe, i will try to get a statement from them regarding this issue.


Top
 Profile  
 
 Post subject: Re: 554 Rejected - Message containing bare LF's
PostPosted: 2012-04-06 20:43 
Site Admin
User avatar

Joined: 2005-07-29 16:18
Posts: 13805
Location: UK
It's usually the big guys that don't care and don't do it right either ( Read Apple / Microsoft )

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: doctorray and 11 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group