> >> >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). > >> > http://svn.perl.org/viewcvs/qpsmtpd/trunk/plugins/bounce_verp?rev=323 > http://svn.perl.org/viewcvs/qpsmtpd/trunk/plugins/bounce_verp? > rev=323&view=log
Thanks Ask. Matt, you've just taken the pragmatic option of doing the checks at data (or data_post) time. This should usually be fine because we're really only talking bounces, which should only have one recipient. DENYing at RCPT still seems slightly cleaner to me (and may be better handled by sending MTAs), but it's pretty line-ball. Cheers, Gavin
