I am trying to install your spamproxyd so I can get SpamAssasssin working to
tag messages flowing through our postfix mail gateway (running on Solaris
2.6) to our internal Exchange server.

I installed SA 2.01, which as a simple application seems to work well.
However, when I tried to use spamproxyd, I ran into the following problem:

I can connect to port 10025, and do an SMTP dialog. It happily accepts the
MAIL FROM, RCPT TO, and DATA, and then a "." to end the message. However,
the instant I disconnect with the QUIT command, spamproxyd dies with this
error:

Can't locate object method "new" via package "Mail::Audit" at
/usr/local/bin/spamproxyd line 65.

(FYI, line 65 of spamproxyd is "$mail = Mail::Audit->new(%args);")


The author of Mail::Audit, Simon Cozens, commented:
> Sounds like someone's forgot the "use Mail::Audit".

And he was right, there was no such line in the spamproxyd program included
with SA 2.01 (am I the only one to run into this problem?!?!? I couldn't
find anything about this in the archives). Anyway, I added such a line, and
am now getting the following error at the same point (at the QUIT command in
the SMTP dialog):

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.

Lines 23 and 24 are:

    my $client = new Net::SMTP($self->{SMARTHOST});
    $client->mail($self->{FROM}); 


Anyone run into this? Anyone found a solution?

Looks like there's a few of us out there pining for a method to get SA
working with postfix (and who, like me, do not do local delivery on the
postfix box, so procmail is useless to us). It *sounds* like it should work!

johnS



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

Reply via email to