Print Page | Close Window

One or more mail data lines were too long

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: http://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6764
Printed Date: 20 October 2017 at 5:05am


Topic: One or more mail data lines were too long
Posted By: seb63p
Subject: One or more mail data lines were too long
Date Posted: 20 October 2009 at 4:55am

Hello,

Can you help me for this error ?
 
server error - 127.0.0.1 said: One or more mail data lines were too long -- 
Thank you
 
(7692) Connection from: 81.92.121.242  -  Originating country : France
(7692) Received MAIL FROM: < mailto:usinenouvelle@gisiinteractive.cccampaigns.net - usinenouvelle@gisiinteractive.cccampaigns.net >
(7692) Received RCPT TO: mailto:test@test.com - test@test.com
(7692) found SPF record for gisiinteractive.cccampaigns.net: v=spf1 include:spf-a.emailvision.net include:spf-b.emailvision.net include:spf-c.emailvision.net -all
(7692) found SPF record for spf-a.emailvision.net: v=spf1 ip4:81.92.112.0/22 ip4:81.92.116.0/22 ip4:81.92.120.0/22 ip4:81.92.124.0/22 -all
(7692) SPF query result: pass
(7692) - SPF analysis for spf-a.emailvision.net done: - pass
(7692) SPF query result: pass
(7692) - SPF analysis for gisiinteractive.cccampaigns.net done: - pass
(7692) Mail from: mailto:usinenouvelle@gisiinteractive.cccampaigns.net - usinenouvelle@gisiinteractive.cccampaigns.net
(7692) - MAPS search done...
(7692) RCPT TO: mailto:test@test.com - test@test.com accepted
(7692) Checking SFDC
(7692) Hash cache - Added OK
(7692) Checking SURBL
(7692) Checking URLs in emails against MAPS
(7692) Resolving for URLsInMAPS: http://www.w3.org - www.w3.org
(7692) Resolving for URLsInMAPS: ase.emv3.com
(7692) Resolving for URLsInMAPS: http://www.usinenouvelle.com - www.usinenouvelle.com
(7692) Resolving for URLsInMAPS: publicite.gisi.fr
(7692) Resolving for URLsInMAPS: logp7.xiti.com
(7692) - URLs In MAPS search done...
(7692) Starting queueing procedures
(7692) EMail from mailto:usinenouvelle@gisiinteractive.cccampaigns.net - usinenouvelle@gisiinteractive.cccampaigns.net to mailto:test@test.com - test@test.com was queued. Size: 12 KB, 12288 bytes
(7692) Starting bayesian procedures
(7892) Sending email from mailto:usinenouvelle@gisiinteractive.cccampaigns.net - usinenouvelle@gisiinteractive.cccampaigns.net to mailto:test@test.com - test@test.com --
(7692) Disconnect
(7892) EMail from: mailto:usinenouvelle@gisiinteractive.cccampaigns.net - usinenouvelle@gisiinteractive.cccampaigns.net to: mailto:test@test.com - test@test.com --  was returned to sender - server error - 127.0.0.1 said: One or more mail data lines were too long --
(7892) Error-email from mailto:usinenouvelle@gisiinteractive.cccampaigns.net - usinenouvelle@gisiinteractive.cccampaigns.net to mailto:test@test.com - test@test.com --  was forwarded to 127.0.0.1
(7892) There was an error sending the NDR to: mailto:usinenouvelle@gisiinteractive.cccampaigns.netThe - usinenouvelle@gisiinteractive.cccampaigns.netThe remote server said:550 < mailto:usinenouvelle@gisiinteractive.cccampaigns.net - usinenouvelle@gisiinteractive.cccampaigns.net > Recipient not allowed --
(7892) server error - 127.0.0.1 said: One or more mail data lines were too long --
 



Replies:
Posted By: LogSat
Date Posted: 20 October 2009 at 8:57pm
Sure. The log entry:

(7892) EMail from:  mailto:usinenouvelle@gisiinteractive.cccampaigns.net -  to:  mailto:test@test.com -  --  was returned to sender - server error - 127.0.0.1 said: One or more mail data lines were too long -- 

Indicates that your destination SMTP server running on 127.0.0.1 has rejected an email that SpamFilter forwarded to is, due to the error "One or more mail data lines were too long". Without knowing your mail server and/or seing its logs we can't be 100% certain, but it looks like the email that was received was malformed as it had a line in the body/headers that exceed the maximum allowed length.

Per RFC 2821 ( http://www.ietf.org/rfc/rfc2821.txt%29 - http://www.ietf.org/rfc/rfc2821.txt)  each line of text in an email should be no more than 1,000 characters. SpamFilter will accept up to 16,384 characters in length in case some servers violate the standard, and will forward it on to your mail server if it passes all spam filtering rules. If the line is longer than 16384 characters SpamFilter itself will barf and will drop the email (notifying the sender).

As a side-note, in our experience, such emails are often caused by developers who mis-format emails (forgetting to add carriage returns...) in ad-hoc custom applications they build.


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: seb63p
Date Posted: 22 October 2009 at 3:57am
Thank you for your help Thumbs Up



Print Page | Close Window