[Mimedefang] RE: Testing mailing list headers

Alex S Moore asmoore at edge.net
Fri Apr 9 17:07:41 EDT 2004


--On Friday, April 09, 2004 03:21:09 PM -0500 Jim McCullars 
<jim at info.uah.edu> wrote:

>    There's not a built-in way to do this, you have to read the HEADERS
> file, something like this in filter_end() before calling SpamAssassin:
>
>   if(open(HDRS, "./HEADERS")) {
>     while(<HDRS>) {
>       if(m/^X-BeenThere:/) {
>         close(HDRS);
>         return
>       }
>     }
>     close(HDRS);
>   }
>

Thanks Jim.  This is what I needed.

Alex



More information about the MIMEDefang mailing list