Re: [Exim] SMTP rewriting not shown with debugging

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John Horne
Date:  
À: exim-users
Sujet: Re: [Exim] SMTP rewriting not shown with debugging
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:

==================================================================
13295 check domains = +local_domains : +virtual_domains
13295 plym.ac.uk in "mary.csd.plymouth.ac.uk : localhost"? no (end of
list)
13295 plym.ac.uk in "plymouth.ac.uk : students.plymouth.ac.uk :
postgrad.plymouth.ac.uk : su.plymouth.ac.uk : soc.plymouth.ac.uk :
pbs.plymouth.ac.uk : business-school.plymouth.ac.uk : pms.ac.uk :
students.pms.ac.uk : gradsouthwest.com : rsc-south-west.ac.uk :
prg.plymouth.ac.uk"? no (end of list)
13295 plym.ac.uk in "+local_domains : +virtual_domains"? no (end of
list)
=========================================================


John.

--
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne@???       Fax: +44 (0)1752 233839