Up around the top of the script where it says "use this; use that; use
the-other;"  put in a line that says "use Mail::Audit;"

This only creates ONE process, though.  The author has given me a copy
of a newer script he wrote that spawns children.  It's very stable.
I've had it running here for about 3 weeks now, and it never dies.

The problem appears to be that it uses Mail::Audit, which has problems,
according to what I've been told.  I'm not sure what those problems are,
but perhaps someone who is a regular on the list can enlighten us.

Meantime, I have a copy of Ian's newest script here.  Unless he objects,
I can provide a copy of it for you.

-----Original Message-----
From: Stewart, John [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 18, 2002 1:32 PM
To: '[EMAIL PROTECTED]';
'[EMAIL PROTECTED]'
Cc: Greg Blakely; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
'[EMAIL PROTECTED]'
Subject: [SAtalk] Postfix and SpamAssassin 2.01 - spamproxyd/Mail::Audit
problems


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



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

Reply via email to