[Mimedefang] X-Scanned-By Header Question

David F. Skoll dfs at roaringpenguin.com
Mon Nov 4 16:51:01 EST 2002


On Mon, 4 Nov 2002, Rajesh Bhandari wrote:

> With MD 2.24, I can do something like
> - action_delete_all_headers("X-Scanned-By")
> and then 
> - action_add_header("X-Scanned-By", "$hostname \/$mdversion\/$saversion" )

The X-Scanned-By: header gets added, unconditionally, in the mimedefang.c
code.  You'll have to edit that code if you don't want two headers.

> 2. Are the current MD version and SA version available as perl
> variables?  If they are not, any ideas on how I could get them?

SA version available as Mail::SpamAssassin->VERSION();
Unfortunately, MD version is not available in a variable. :-(  I'll
remedy that for the next release.

Regards,

David.




More information about the MIMEDefang mailing list