On 18 Aug 2005, at 03:30, Gavin Carr wrote:

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.

Maybe I'm not thinking straight, but I didn't see the need to do that when I wrote a plugin that did something like this. It's in the old CVS archive in the Attic if you're interested in looking (can't remember what I called it, but it's the only plugin we ever attic'd).

Reply via email to