John Horne wrote:
>
> On Fri, 2004-02-27 at 14:28, Philip Hazel wrote:
> >
> > FYI: If you specify "ordinary" rewriting, addresses are supposed to be
> > rewritten before being verified in an ACL. Do you have evidence that >
> they are not?
> >
> If by 'verified' you mean, for example, 'verify = sender' then they may
> be, but I am not doing that. I have as part of the ACL for checking
> recipients:
>
> deny domains = +local_domains : +virtual_domains
> local_parts = ^[.] : ^.*[@%!/|]
> message = Prohibited: Invalid local part being received
> Now, +local_domains is basically the local host; and +virtual_domains
> contains 'plymouth.ac.uk' but not 'plym.ac.uk'. I have a rewrite rule to
> convert plym.ac.uk to plymouth.ac.uk using 'E' rather than 'S'. The ACL
> check fails though because the address was not rewritten:
>
--
Um, perhaps the solution to this I have always used is not obvious, but
I use +re_write_domains list as well, that way I can selectivly implement
what should be done differently with the domains that are being re-written
if I need to.
--EAL--