>Well - an email to [email protected] is a localdomain - so it 
>returns 1.

>Doesn't consider LocalAddresses_flat at all.

What has 'LocalAddresses_flat' to do with that, except that you has 
changed (skipped) a negative check to this list to solve a problem which 
is (at least) related to &localmail at this point of code.

>Well - an email to [email protected] is a localdomain - so it 
>returns 1.

And what is problem now ? A address is only consider local - if &localmail 
returns 1 in any case.

Thomas





Andrew Porter <[email protected]> 
12.11.2009 11:32
Bitte antworten an
ASSP development mailing list <[email protected]>


An
ASSP development mailing list <[email protected]>
Kopie

Thema
Re: [Assp-test] Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: 
Validate Local Addresses ASSP 2.0.1(RC 0.5.01)






Thomas Eckardt/eck wrote:
>>> at least the 
>>> address must match the condition in &localmail to get the 
>>> {islocalmailaddress} flag.
> 
> Forget all lines, except the last one - &localmail has to return 1 to 
> consider the address local - look in to your configuration.
>

localmail's first  test is -

sub localmail {
   my $h = shift;
   d("localmail - $h");
#(my $package, my $file, my $line, my $Subroutine, my $HasArgs, my 
$WantArray, my $EvalText, my $IsRequire) = caller(0);
#d("localmail - $package, $file, $line, $Subroutine, $HasArgs, 
$WantArray, $EvalText, $IsRequire");
   return 1 if &localdomains($h);


Well - an email to [email protected] is a localdomain - so it 
returns 1.

Doesn't consider ValidAddresses_flat at all.

Or, should my local domains file be empty because I am using 
localaddresses_flat ?  If so, is this a new thing ? I've been using ASSP 
setup this way for years.

------------------------------------------------------------------------------
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




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
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