I wrote the basic output code in lmtp.c to convert the dsn codes into their explanations. Unfortunately, one and two layers down, in pipe.c and sort.c, the codes are only being set in very vague ways. Pretty much only the class (ok, temp fail, perm fail) is being set while the subject and detail are hard coded to .1.5 (address related . address ok).
If you want to wait up another day or two I can work on these layers to report a richer set of codes, or kick 2.0-rc5 out with slightly better basic error reporting and I can put more time into it next week. My basic plan is to have sort_and_deliver, which does most of the hard work of actually shuffling the message in the database to its recipients, return either a full dsn structure or to return an int but pass a pointer to a dsn struct in the arguments list. Aaron Ilja Booij <[EMAIL PROTECTED]> said: > > On Mon, 2004-04-26 at 18:37, Aaron Stone wrote: > > 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... > > I see that you haven't finished this yet. I'll wait with releasing until > you've finished the failure message stuff. > > Ilja > > > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > --