I had to do some weird stuff for that error. Maybe a perl guru could set us all straight, but what I did was:
1. Installed the perl module Net::SMTP::Server 2. Copied the file /usr/local/lib/perl5/site_perl/5.005/Net/SMTP/Server/SmartHost.pm to /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/SMTP/SmartHost.pm Coulda been hazardous mixing my apples with my oranges, but, in this case, it worked. -----Original Message----- From: Stewart, John [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 5:33 PM To: 'Craig Hughes'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Cc: Greg Blakely; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: [SAtalk] Postfix and SpamAssassin 2.01 - spamproxyd/Mail::Audit problems Craig Hughes wrote: > Actually, we dropped Mail::Audit since it doesn't work in a variety of > situations, and replaced it with our own version, > Mail::SpamAssassin::NoMailAudit -- change the line to use > that class instead > (and the "use" line at the beginning of the file) and you > should be ok. I added at the beginning: use Mail::SpamAssassin::NoMailAudit; and then changed the offending line (line 69 in this modified version) to: $mail = Mail::SpamAssassin::NoMailAudit->new(%args); I get the same error as if I just use Mail::Audit, which is: Can't call method "mail" on an undefined value at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/SMTP/SmartHost.pm line 24. The version you're distributing with SA is just plain broken (doesn't have a "use" line), and even when "fixed", seems to not work. You may want to correct this; I'm surprised there haven't been others having similar problems before now. thanks all! johnS _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk