[Mimedefang] Re: set_reply returned MI_FAILURE
David F. Skoll
dfs at roaringpenguin.com
Thu Jan 5 10:00:16 EST 2006
Jan Pieter Cornet wrote:
>>Sure it will. action_drop_with_warning can have a multiline message, but
>>action_bounce can't.
> It can if you patch mimedefang.c to use smfi_setmlreply instead of
> smfi_setreply... (and some more patching to split into lines, etc).
That might appear in a future release of MIMEDefang. Algorithm will probably
go like this:
1) If reply text does not contain "\n", use smfi_setreply.
2) Otherwise, if milter library does not support smfi_setmlreply, convert
"\n" to " ", use smfi_setreply, and log a warning.
3) Otherwise, split reply appropriately and feed to smfi_setmlreply.
> Not that I'm offering to provide a patch, currently... (unless someone
> slows down the rotation of the earth by the couple of hours that I seem
> to miss at the end of each day (or sometimes the end of the night :))
Well, come on, Jan. You had an extra second in 2005. Don't tell me
you wasted it!
Regards,
David.
More information about the MIMEDefang
mailing list