How to get To: header (was Re: [Mimedefang] Re: MIMEDefang Digest, Vol 9, Issue 34)

David F. Skoll dfs at roaringpenguin.com
Fri Jun 18 23:11:20 EDT 2004


On Fri, 18 Jun 2004, Jeff Rife wrote:

> So, does anybody know of a way to extract the contents just one header
> from the message and stay within mimedefang-filter/Perl?

Open and parse ./HEADERS

See also the mimedefang-protocol man page (INITIAL FILE LAYOUT
section).

I wouldn't recommend changing the To: header, because Sendmail also
changes it.  If you must change that header, put your changes in an
RFC2822 comment:

	action_change_header("To:", "$original_to (Spammy)");

--
David.



More information about the MIMEDefang mailing list