>It bombs out when you add "user011[at]domainame[dot]com" to the list.

I can confirm that this is a BUG in the regex optimizer parsing engine

As a workaround add the line

a-d-n-o-r

or

assp-do-not-optimize-regex

to the LocalAddresses_Flat file (eg. the first line).

alternative, you can add the following line to the file 
'lib/CorrectASSPcfg.pm'

$main::noOptRe{' LocalAddresses_Flat'} = 0;

To disable the regex optimizer for all regular expressions, unset 
'useRegexOptimizer' in the config.

IMHO it is better to let assp query your AD via LDAP for valid addresses, 
instead to build such large regular expressions.

Thomas






Von:    Louis Carreiro <quantumsch...@outlook.com>
An:     ASSP Mailing List <assp-user@lists.sourceforge.net>, 
Datum:  31.03.2013 15:49
Betreff:        [Assp-user] Unknown recipient but listed in 
LocalAddresses_Flat     (Plain Text)



Sorry for the re-post but I noticed the last came out in one line so I'm 
resending as a plain text. My apologies again.

Hi all!
 
So I ran into an interesting problem the other day with my recent 
deployment of ASSP v2. I'm in the process of migrating from an ASSP v1 
deployment in a vSphere environment to ASSP v2 in a Hyper-V 2012 
environment. I had the whitelist being built with outbound email for about 
a week and decided to cut inbound over to the ASSP v2 box. Once I did I 
tail'ed the maillog and noticed a lot of unknown recipients being 
returned.
 
What I'm doing is using a perl script to query to Active Directory domains 
to gather all the SMTP addresses used and dump them into a flat file. I 
then point the LocalAddresses_Flat property to the file generated by the 
perl script. The maillog shows all the records being recognized and loaded 
(2,263). After their loaded, I get "unknown recipient" for a certain 
subset of users and I've narrowed it down to a format of email addresses. 
Mail is fine for all address that are first initial and last name (e.g. 
jsmith) and first name [dot] last name (e.g. john.smith). Where I run into 
an issue are the addresses that end with a number. 
 
Here's what I've worked it down to...
 
GOOD:
user001[at]domainname[dot]com
user002[at]domainname[dot]com
 
BAD:
user001[at]domainname[dot]com
user002[at]domainname[dot]com
user011[at]domainname[dot]com
 
It bombs out when you add "user011[at]domainame[dot]com" to the list. Its 
at that point user001 and user 002 are considered unknown.
 
Just curious if anyone has any thoughts.
 
Thanks all!
Louis  
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user




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


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to