You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Philipp Snizek <ma...@belfin.ch> on 2005/11/06 14:48:55 UTC

Can't locate object method "check_hostname"

Hi

when starting SA 3.1.0 I'm getting this in my logs:
Nov  6 14:46:53 mail spamd[20449]: Can't locate object method
"check_hostname" via package "Mail::SpamAssassin::PerMsgStatus"
at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/PerMsgStatus.pm
line 2581, <GEN5> line 45.
Nov  6 14:46:53 mail spamd[20449]: rules: failed to run
INVALID_HOSTNAME test, skipping:
Nov  6 14:46:53 mail spamd[20449]: _(Can't locate object method
"check_hostname" via package "Mail::SpamAssassin::PerMsgStatus
" at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/PerMsgStatus.pm
line 2581, <GEN5> line 45.

spamassassin --lint -D returns 1 warning about this.

What seems to be the problem?


Thanks 
Philipp

Re: Can't locate object method "check_hostname"

Posted by Ralf Hildebrandt <Ra...@charite.de>.
* Philipp Snizek <ma...@belfin.ch>:
> Hi
> 
> when starting SA 3.1.0 I'm getting this in my logs:

> Nov  6 14:46:53 mail spamd[20449]: Can't locate object method "check_hostname" via package "Mail::SpamAssassin::PerMsgStatus"
> at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/PerMsgStatus.pm line 2581, <GEN5> line 45.

Not entirely sure, but you may be missing a required Perl Module
(maybe Net::DNS?)

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to spamtrap@charite.de

Re: Can't locate object method "check_hostname"

Posted by Craig McLean <cr...@fukka.co.uk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Philipp Snizek wrote:
> Hi
> 
> when starting SA 3.1.0 I'm getting this in my logs:
[snip]
> Nov  6 14:46:53 mail spamd[20449]: rules: failed to run
> INVALID_HOSTNAME test, skipping:
> Nov  6 14:46:53 mail spamd[20449]: _(Can't locate object method
> "check_hostname" via package "Mail::SpamAssassin::PerMsgStatus
> " at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/PerMsgStatus.pm
> line 2581, <GEN5> line 45.

I can't find that rule in my SA 3.1.0 setup, perhaps it's left over from
an old install? Check the usual suspects in
/usr[/local]/share/spamassassin, /etc/mail/spamassassin &c.

C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDbnGOMDDagS2VwJ4RAo8EAKDWs/4j9VmdUe1utVWn3h6X94ZESgCgtELr
RatO6P7HgBCk3PaT0qomLl4=
=6QBE
-----END PGP SIGNATURE-----