On Thu, Aug 18, 2005 at 11:44:06AM +1000, Gavin Carr wrote: > Just wondering if anyone has written a Reverse SRS plugin? I think this > would just be a recipient plugin that rewrites SRS recipient addresses > early during RCPT? (before rcpt checks, specifically)
Replying to self - nope, that won't work. SRS rewriting has to be done _after_ rcpt_ok, of course, because our local domain is probably only on the un-rewritten recipient. But it really should still be at RCPT time because we need to be able to deny individual recipients where the rewrite fails. So we need to be able to override the OK from rcpt_ok. Eeek - looks like a job for Robert's plugin inheritance magic ... Cheers, Gavin
