On Sun, 21 Mar 2004 00:00:17 -0600
Michael Sims <[EMAIL PROTECTED]> wrote:
> open(HEADERS, '< ./HEADERS');
> while (<HEADERS>) {
> if (/^X-Telstra-AS-Scanner: .*?, (.*?)% /i
> && $1 >= 90) {
>
> delete_recipient($_) foreach (@Recipients);
> add_recipient('[EMAIL PROTECTED]');
> last;
> }
> }
> close(HEADERS);
Thanks Michael,
I've added that in, substituting my local spamdrop account, and it appears correct
according to mimedefang.pl -test.
My problem is with regular expressions - I really need to sit down one day and go
through them to try to understand them better.
I knew how to do the recipient actions, but the if... section is what gets me every
time.
Thanks again!
Pete
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang