lmtpd: Trying to unput wrong character
Good day, I've recently received some emails (from Nokia's mailing list) that give me the following error when handed over to cyrus lmtpd for delivery: 4.3.0 lmtpd: Trying to unput wrong character (in reply to end of DATA command) The emails are then stuck in the queue until manually deleted. I haven't debugged it in detail, but it looks like it's probably triggered by innovative end-of-lines characters in the incoming email. The end-of-line character sequence is 0d 00 0a (looking at the Postfix queue). Presumably this is non-standard. Should it be something that Cyrus handles better, or should be something that Postfix repairs or rejects? Thanks Mark Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: lmtpd: Trying to unput wrong character
On Sat, Feb 15, 2014, at 10:55 PM, Mark wrote: Good day, I've recently received some emails (from Nokia's mailing list) that give me the following error when handed over to cyrus lmtpd for delivery: 4.3.0 lmtpd: Trying to unput wrong character (in reply to end of DATA command) The emails are then stuck in the queue until manually deleted. I haven't debugged it in detail, but it looks like it's probably triggered by innovative end-of-lines characters in the incoming email. The end-of-line character sequence is 0d 00 0a (looking at the Postfix queue). Wow, that's innovative alright! Do you have a nice reproducable testcase for me by any chance? (just lazy). I'd like to throw this into our testing framework - makes it easier to test the fix :) Presumably this is non-standard. Should it be something that Cyrus handles better, or should be something that Postfix repairs or rejects? Probably both, but the Cyrus part is my problem. Bron. -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: lmtpd: Trying to unput wrong character
On 2014-02-15 14:17, Bron Gondwana wrote: On Sat, Feb 15, 2014, at 10:55 PM, Mark wrote: I haven't debugged it in detail, but it looks like it's probably triggered by innovative end-of-lines characters in the incoming email. The end-of-line character sequence is 0d 00 0a (looking at the Postfix queue). Wow, that's innovative alright! Do you have a nice reproducable testcase for me by any chance? (just lazy). I'd like to throw this into our testing framework - makes it easier to test the fix :) Sure. I'll zip the email body and email it to you in a separate message. Mark Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: lmtpd: Trying to unput wrong character
Zitat von Bron Gondwana br...@fastmail.fm: On Sat, Feb 15, 2014, at 10:55 PM, Mark wrote: Good day, I've recently received some emails (from Nokia's mailing list) that give me the following error when handed over to cyrus lmtpd for delivery: 4.3.0 lmtpd: Trying to unput wrong character (in reply to end of DATA command) The emails are then stuck in the queue until manually deleted. I haven't debugged it in detail, but it looks like it's probably triggered by innovative end-of-lines characters in the incoming email. The end-of-line character sequence is 0d 00 0a (looking at the Postfix queue). Wow, that's innovative alright! Do you have a nice reproducable testcase for me by any chance? (just lazy). I'd like to throw this into our testing framework - makes it easier to test the fix :) Presumably this is non-standard. Should it be something that Cyrus handles better, or should be something that Postfix repairs or rejects? Should this one work? http://www.postfix.org/postconf.5.html#message_strip_characters Regards Andreas smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: lmtpd: Trying to unput wrong character
Presumably this is non-standard. Should it be something that Cyrus handles better, or should be something that Postfix repairs or rejects? Should this one work? http://www.postfix.org/postconf.5.html#message_strip_characters Thanks. That looks like it should do the job. message_strip_characters = \0 I'll try it out (although so far only one message out of hundreds of thousands has caused trouble). Mark Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: mail archiving -- large mail stores [mailpiler]
On Wed, 2014-02-05 at 06:35 +0100, mayak wrote: hi all, i just ran across this project: http://www.mailpiler.org is there an argument to do that, or just create an archive user in cyrus that has a multi-multi gigabyte mail drop? Thanks for the link, that looks very interesting; but I'd just have Postfix shove a copy of every passing message into the service. Not sure that Cyrus would play a role in archiving. I have archived to Cyrus in the past but the mailboxes become truly enormous rather quickly when accumulating all mail. And Cyrus's indexing services do not really seem up to indexing an entire year's etc.. pile of mail. Have you tried mailpiler yourself? -- Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383 Systems Administrator, Python Developer, LPI / NCLA Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
secure lmtp connection between sendmail and cyrus
Hi, I'm looking for a secure and stable way to connect sendmail (8.14.4) and cyrus (2.4.12) in case of both hosts not running on the same machine or in the same local secure subnet. What is a practical way? An openvpn (tcp or udp?) connection between sendmail and cyrus and starting lmtpd with -a option at the tunnel's end? Or a LMTPs connection with LMTP_AUTH, but couldn't find any good example configs how to configure sendmail to use LMTP_AUTH und TLS to talk to cyrus. Cheers Marcus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: secure lmtp connection between sendmail and cyrus
Am Samstag, den 15.02.2014, 18:56 +0100 schrieb Marcus Schopen: Hi, I'm looking for a secure and stable way to connect sendmail (8.14.4) and cyrus (2.4.12) in case of both hosts not running on the same machine or in the same local secure subnet. What is a practical way? An openvpn (tcp or udp?) connection between sendmail and cyrus and starting lmtpd with -a option at the tunnel's end? Or a LMTPs connection with LMTP_AUTH, but couldn't find any good example configs how to configure sendmail to use LMTP_AUTH und TLS to talk to cyrus. LMTP_AUTH connections via access # client AUTH AuthInfo:IP I:testuser P:test and put testuser to lmtp_admins on cyrus side lmtp_admins: testuser But this is still not secure of course. Would a openvpn or tinc tunnel be faster instead of a LMTPs connection? Ciao Marcus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus