[Mimedefang] Pseudo-headers for calling SA

Matthew.van.Eerde at hbinc.com Matthew.van.Eerde at hbinc.com
Wed Apr 5 08:22:36 EDT 2006


Philip Prindeville wrote:
> When Mimedefang calls SA, what pseudo-headers does it generate
> in the message and where in the code does it insert them?

See the spam_assassin_mail sub in mimedefang.pl

> I was wondering about the recipients being inserted...

They're inserted as
	Apparently-To: foo at example, baz at example
iff you set $AddApparentlyToForSpamAssassin = 1 in mimedefang-filter

> I see where the "Return-Path:" gets generated, but not the recipient
> list...

Return-Path, Received, Apparently-To, and To are all added in spam_assassin_mail

Return-Path and Received are always added
Apparently-To is only added if you set $AddApparentlyToForSpamAssassin
To is only added as
	To: undisclosed-recipients:;
iff there is no To header already

-- 
Matthew.van.Eerde (at) hbinc.com               805.964.4554 x902
Hispanic Business Inc./HireDiversity.com       Software Engineer




More information about the MIMEDefang mailing list