I'm trying to use SA with the NoMailAudit module in place of
Mail::Audit, and am discovering that NMA doesn't have some of 
the basic MA methods. For example, if I have:

  my $mail = Mail::SpamAssassin::NoMailAudit->new();

  if ($mail->to =~ /mysql\@lists/) {
  ...

I get 'Can't locate object method "to" via package "Mail::SpamAssassin::NoMailAudit"',
and similarly for the other header-grabbers. The "reject" method also fails, though
here it's because: 'spamassassin: reject() failed, Mail::Audit module could not be
loaded', which is perhaps a problem on my end, one other than ignorance, that is.

Is there a way to implement "to", "from", "subject" etc. methods in NMA?

Perhaps the answer is that I should be less ignorant and more able to figure
this out from the module itself, but I do think it would be helpful if there
were a Synopsis or other documentation for the NMA module.

Thank you.

Jesse Sheidlower

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to