|
Size: 684
Comment: missing edit-log entry for this revision
|
← Revision 3 as of 2009-09-20 23:16:41 ⇥
Size: 684
Comment: converted to 1.6 markup
|
| No differences found! | |
When I use SpamAssassin with Mail::Audit, I get a ''you cannot use body()'' error.
Using a version of Mail::Audit later than 2.1 at least, this error will appear when you call the SpamAssassin rewrite_mail method:
you cannot use body() to set the encoded contents at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/EncappedMessage.pm line 37
This is caused by an API which changed in Mail::Audit. Either wait for the next release of SpamAssassin for a workaround, or work around it yourself by using the nomime option when constructing the Mail::Audit object:
$msg = Mail::Audit->new(nomime => 1);
(Thanks to Jake Edge for the answer).
