On Fri, Aug 09, 2013 at 05:45:52PM +0000, Craig Jones wrote: > Hello! >
Hey, > I have slowly been migrating away from US based cloud services, and now run > my mail off of a dedicated OpenBSD machine (logically with OpenSMTPD ;) ). > For the transition phase, I have set up my cloud provider to forward and > delete email to an account on my server. > > I just popped in the cloud provider to check out how things are going, and > noticed a "500 Line too long" failure returned from OpenSMTPD for one of my > forwards. This could be by design, but I thought it was worth mentioning > since it's still a new offering of the project. The mail in question was just > a simple billing email without anything fancy. I'll be happy to share more of > the returned mail privately if needed. > No need to send the mail ;-) The problem is simple, we limit the length of lines so that they can fit in a fixed-length buffer. The RFC recommends that we accept lines up to about 1k: 4.5.3.1.6. Text Line The maximum total length of a text line including the <CRLF> is 1000 octets (not counting the leading dot duplicated for transparency). This number may be increased by the use of SMTP Service Extensions. In practice, we bumped this and accept lines that are up to 2k because a lot of implementations were slightly off. You received the Line too long error because at least one line has exceeded the 2k limits. > Also, OT, but I've had a great time running popa3d with relayd for a secure > connection, but it seems a bit hackish. Are there any drawbacks to using > relayd as an ssl wrapper for pop3s? > > Cheers! > I am not too familiar with relayd, I used it a lot with http a while ago but I wasn't even aware you could use it in front of pop3. I don't see why there would be any drawback but what pop3d are you using that doesn't support SSL by default ? -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this email because you are subscribed to the "[email protected]" list To unsubscribe, send mail with subject: [[email protected]] unregister
