Thanks for the reply patrick - but I had looked at that...  when i 
un-escape the @ non of them work..

I read that the @ is a perl variable type, so it needs escaperd for 
the perl side, even if its not in the regex.


Just incase i was mad, I Have tried these..

"perso...@domain.co.uk"=>"4.2",

still blocks pers...@domain.co.uk if their score is over 4.2

"....@domain2.com"=>"3.0",

Did not block nat...@domain2.com when it went over 3

Any other thoughts?  or is there a better way to achive the same thing?

N


At 06:36 10/10/2009, you wrote:
>* Nathan <amavis-u...@highstreet.net>:
> >
> > Hi all
> >
> > I grabbed this bit of config from the list a few years ago..  has
> > worked great...
> >
> >
> > $sa_kill_level_deflt = {
> >      "da...@domain.co.uk"=>"4.2",
> >      "fr...@help.co.uk"=>"3.0",
> >      "."=>"11.0" # default "catchall" score
> > }; # add 'spam detected' headers at that level
> >
> > And around 80 others in there too..  Like I say, worked a
> > treat..  But I have a domain that I want to apply one level to, all
> > addresses at the domain..  up to now, I have added
> >
> >      "perso...@domain.co.uk"=>"4.2",
> >      "perso...@domain.co.uk"=>"4.2",
> >      "perso...@domain.co.uk"=>"4.2",
> >      "perso...@domain.co.uk"=>"4.2",
> >
> > getting impractical, as one domain already has 18 users, and now i
> > want to lower them below the default..
> >
> > So - a few hours on google, and I found its perl!  regular
> > expressions, even learned that the + is better than the * in this
> > case..  and I came up with this...
> >
> >      "....@domain1.com"=>"7.0",
> >      "....@domain2.com"=>"3.0",
> >
> > But neither have worked at all...
>
>Don't escape "@" in regexp.
>
>       "....@domain1.com"=>"7.0",
>       "....@domain2.com"=>"3.0",
>
>p...@rick
>
>
>------------------------------------------------------------------------------
>Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>is the only developer event you need to attend this year. Jumpstart your
>developing skills, take BlackBerry mobile applications to market and stay
>ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>http://p.sf.net/sfu/devconference
>_______________________________________________
>AMaViS-user mailing list
>AMaViS-user@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/amavis-user
>  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
>  AMaViS-HowTos:http://www.amavis.org/howto/



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to