[Mimedefang] Redirect spam

Matthew.van.Eerde at hbinc.com Matthew.van.Eerde at hbinc.com
Thu Mar 16 20:21:16 EST 2006


KAM wrote:
> $Text::Wrap::columns   = 74;
> $Text::Wrap::huge      = 'overflow';
> $line = $Text::Wrap::wrap("", "\t      ", $list) . "\n";
> 
> action_add_header("X-Original-Recip-List","$list");

I think it would be better to omit the wrapping.  action_add_header adds a line to a file of milter commands.  Embedding newlines in a particular command is dangerous.  I'm guessing that libmilter will wrap long headers for you.

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




More information about the MIMEDefang mailing list