[Mimedefang] X-mailer header ?

David F. Skoll dfs at roaringpenguin.com
Tue Aug 13 14:25:01 EDT 2002


On Tue, 13 Aug 2002, J.P van Oyen wrote:

> Is it possible to rip of the X-Mailer or other headers for outgoing
> mail only?

Well, you can't delete a header from inside MIMEDefang, but you can
change it:

sub filter_begin {
    if ($Sender =~ /\@my\.domain\.net$/i) {
	action_change_header("X-Mailer", "Guess...");
    }
}

--
David.




More information about the MIMEDefang mailing list