[Mimedefang] Testing for the existence of a header
Nigel Allen
dna at edrs.com.au
Tue Sep 30 21:34:00 EDT 2008
Thanks Len - appreciated.
Of course - once I stopped search for things like "+mimedefang extract
value x-header" and asked google for "mimedefang headers" I found almost
exactly the same query posted by someone else (after over an hour of
searching).
Yesterday was a great day - I think today I should just go back to bed.
Thanks again
Nigel.
On 1/10/2008 11:15 AM, Leonard Mills wrote:
> I use something like this:
>
> open (F, "HEADERS") || die "Could not open input file: $:" ;
> while ($line = <F> ) {
> chomp ($line);
> if ( $line =~ /X-SEL-encryption-scan/ ) {
> # do something
> }
> }
>
> Len
>
>
>
More information about the MIMEDefang
mailing list