Cool, if you're doing 2.0-rc5 tomorrow then I'll try to get the LMTP messages wired up this evening. I added in all of the messages and a function to retrieve them, what's left is adding code to lmtp.c to get the messages and format them correctly for LMTP. For now I'm going to keep this simple, but...
In the future, we might find that more useful messages also end up being longer messages. They'll need to be wrapped like this: 511-The user account was not found becase 511-of something and some other thing and 511 so this is a long message saying that. Aaron Ilja Booij <[EMAIL PROTECTED]> said: > > Inline we go.. > On Mon, 2004-04-26 at 17:26, Aaron Stone wrote: > > Query for finding nul's: > > > > select replace(messageblk, "\0", "<null>") > > from messageblks > > where physmessage_id = 'suspect id here' > > > > Query for fixing nul's: > > > > update messageblks > > set messageblk = replace(messageblk, "\0", "") > > where physmessage_id = 'problem id here' > > > > Indeed, the message that was confounding me had a pile of nul characters and > > other unprintable crap at the end. db_start_msg() reads a singlepart message > > until either the end of the buffer or until the stopbound is found. Unless > > otherwise specified by the MIME headers, stopbound will be nul and thus the > > message output will be truncated at the first nul. > > > > This means that we are thoroughly incompatible with any email containing nul > > characters that are not inside of a MIME part. Is that OK? RFC 2822 anyone? > > I don't think that's ok.. I'm not sure though\ > > > My guess is that the pile of unprintable crap (like thirty nul's and a bunch > > of control characters) is due to the buffers not being cleared, which Ilja > > has > > already taken care of. The particular email I was looking at was inserted a > > while ago, using either 2.0-rc3 or 2.0-rc4. The changes that should take > > care > > of this problem have been made since 2.0-rc4, so we should be alright. > > > > I can't remember what else was left to fix besides the LMTP error messages. > > I'll work on those this week. Ilja, I suggest that we should do a 2.0-rc5, > > as > > I'm not 100% confident that we've gotten everything working 100%. > > I'll do a release of 2.0rc5 tomorrow. :) > > Ilja > > > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > --