Thomas Eckardt/eck wrote:
>                 (!$LocalAddresses_Flat or ! matchSL( $2, # (LocalAdr.. not 
> used - but if used, the domain is NOT (!!!!!) found there  and
> 'LocalAddresses_Flat' ) )
>   

> As you can see - if LocalAddresses_Flat is not used ..... at least the 
> address must match the condition in &localmail to get the 
> {islocalmailaddress} flag.
>   
What you are saying is that if you /are/ using localaddresses_flat and 
the domain of the recipient is not found in localaddresses_flat then the 
recipient is a valid local recipient.

I don't understand why - if using localaddresses_flat and the domain 
isn't mentioned in localaddresses_flat - you would declare the recipient 
a valid local address - surely this logic is wrong ?. 
I've added a bunch of debug and it is definitely this piece code that is 
accepting the address as a local address - further more proven by me 
removing the domain not in localaddresses_flat lookup and it not 
declaring the recipient valid.  It isn't being set later on.

My debug on the true side of that condition confirms it also -
 {
                $this->{islocalmailaddress} = 1;
d("islocalmailaddress is set to 1 here with $2");
            } else {
                $this->{islocalmailaddress} = 0;
            }

> The real address check is done some lines later.
>
> I think your problem is a misconfiguration of any parameter.
>   
But the fact that I prevent this condition from setting 
islocalmailaddress to 1 shouldn't prevent it being set to 1 later if 
this were so - and it isn't.

islocalmailaddress is only set in 4 different places and I think I have 
traced all those out of contention.  I am very convinced that this is 
where the problem lies (but open to being proven wrong).

Note that there is a subroutune called localmailaddress that doesn't 
seem to be called from anywhere.  I bumped into this when trying to 
trace this.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to