IIRC, the parameters in the Net::SMTP module you've shown are connecting
to the server $exchange on port 587 (message submission).  The delay is
set there too - the value of 10.  I seem to recall that's in seconds.

To reach $exchange, you'll need access outbound on port 587.

Someone else will have to advise you on sendmail, Postfix is in use
here.

Steve


-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of andrew collier
Sent: Wednesday, October 06, 2004 1:37 AM
To: users@spamassassin.apache.org
Subject: reporting to spamcop


hello,

i have just upgraded to spamassassin-3.0.0 and run it on a linux
platform.

i have the following problem when reporting spam using "spamassassin -D
-r", towards the end of the output there is a delay (a few seconds) the
i get:

debug: Razor2 is not available
SpamCop -> report to vmx2.spamcop.net failed: Net::SMTP error SpamCop ->
report to vmx1.spamcop.net failed: Net::SMTP error
debug: SpamAssassin: could not report spam to SpamCop.
SpamAssassin: no Internet hashing methods available, so couldn't report.

the delay is a bit annoying when i report a few messages from inside my
mail program. i think i have narrowed down the source of the problem to
this bit of
code:

    if ($smtp = Net::SMTP->new($exchange,
                   Hello => $hello,
                   Port => 587,
                   Timeout => 10))

now i am not sure what that does... is it perhaps trying to connect to
an external mail server (which will probably not work on our lan because
we have a proxy/firewall)? in which case, can i configure it to use a
local sendmail instance?

failing this, is it possible to turn of reporting to spamcop?

thanks,
andrew.

Reply via email to