http://bugzilla.spamassassin.org/show_bug.cgi?id=4176





------- Additional Comments From [EMAIL PROTECTED]  2005-05-05 15:14 -------
ick.  ok, if the code is run at message-parse-time without the $main object
being available easily, that certainly makes life harder.

I don't think we should change ->parse() to require a Mail::SA object be passed
in -- that's changing the API (and quite a lot of assumptions in the existing
calling code).  I don't think we can assume that there even will *be* a Mail::SA
object in existence by that stage.

in that case, the only way I can see to do it is to defer the use of {conf}
data, e.g. redirection_patterns, until the caller actually *reads* the URI list
in PerMsgStatus, and at that stage, use the $conf data (since it is available by
then).

I don't think we should add another version of the parse() API to deal with this
case.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to