Mark,
Yes, I know, but i am testing with a telnet to port 25, and a subject
without the space. But even if i change the regexp to
/^[ \t]richard/
or
/^[ \t]*richard/
and use subject: richard
i have the same issue.
I can see that the regexp is working, because the spam check is being
skipped. I can see that in the logfile, and in the header on the
received system.
Email without richard in the subject : No, score=2.576
Email with richard in the subject : score=x, tag=0, tag2=0, local=1,
bl=, s=, mangle= (and no spamassassin info in the header)
So I am halfway there... the only problem remains that the message is
not being seen as spam, and not being placed in the quarantaine.
Greetings... Richard
> Your regexp doesn't match the actual subject:
>
> if ($subj =~ /^richard/) {
>
> The subject is ' richard', i.e. with a space after a colon.
> That's why I started my regexp with a /^[ \t]* .../
>
> Mark
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> AMaViS-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/