amavis-user February 2013 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: SA failed: Can't locate object method "get

Re: SA failed: Can't locate object method "get_tag" via package "Mail::SpamAssassin::PerMsgStatus" at (eval 86) line 425

From: <weber_at_nospam>
Date: Sun Feb 17 2013 - 11:20:27 GMT
To: Amavis Users <amavis-users@amavis.org>

Hmmm looks like a missing Package on your System.
Check if
Mail::SpamAssassin::PerMsgStatus is installed.

Cant locate object method "get_tag" via package
> "Mail::SpamAssassin::PerMsgStatus"

seems you enabled that in SA but the package is not installed.

marko

Am 2013-02-11 09:25, schrieb Anirudha Patil:
> Hello Folks,
>
> I have a MTA setup of [Postfix + Amavis-new + ClamAV + Spamassasin]
> of
> which only the spamassasin part is disabled. Now i wish to enable the
> Spamcontrol part.
>
> But after enabling the spamassasin option in amavis-new, it shows the
> below mentioned error.
>
> _(!!)SA failed: Cant locate object method "get_tag" via package
> "Mail::SpamAssassin::PerMsgStatus" at (eval 86) line 425, <GEN6> line
> 29. at (eval 86) line 467, <GEN6> line 29_.
>
> Also the above line number, does is refer to "spamd" ?
>
> I have already checked the mailing-list for such errors but none are
> referring to my case here.
>
> Any help is to direct me towards solving the case would be
> appreciated.
>
> My Setup details:
> Postfix version: 2.7.3
> Amavis-new version : 2.6.4-4
> Spamassasin version : SpamAssassin version 3.0.1  running on Perl
> version 5.8.5
>
> [root@host spamassassin]# cat /etc/sysconfig/spamassassin
> # Options to spamd
> SPAMDOPTIONS="-d -c -m5 -H"
>
> [root@host spamassassin]# cat local.cf [1]
> # These values can be overridden by editing
> ~/.spamassassin/user_prefs.cf [2]
> # (see spamassassin(1) for details)
>
> # These should be safe assumptions and allow for simple visual
> sifting
>
> # without risking lost emails.
>
> required_hits 5
> report_safe 0
> rewrite_header Subject [SPAM]
>
> [root@host spamassassin]# ps -elf | grep spam
> 5 S root     29836     1 46  81   0 -  7184 pause  09:38 ?  
>      00:00:00 /usr/bin/spamd -d -c -m5 -H
> 1 S root     29839 29836  0  78   0 -  7184 -      09:38 ?  
>      00:00:00 spamd child
> 1 S root     29840 29836  0  78   0 -  7184 -      09:38 ?  
>      00:00:00 spamd child
> 1 S root     29841 29836  0  81   0 -  7184 -      09:38 ?  
>      00:00:00 spamd child
> 1 S root     29842 29836  0  81   0 -  7184 -      09:38 ?  
>      00:00:00 spamd child
> 1 S root     29843 29836  0  81   0 -  7184 -      09:38 ?  
>      00:00:00 spamd child
> 4 R root     29845 28512  0  78   0 -  1171 -      09:38
> pts/2    00:00:00 grep spam
>
> Please find attached the debug info of a message trace for the error
> mentioned.
>
> Please let me know if any other additional detail is required
>
> With Regards
> Anirudha Patil
>
>
> Links:
> ------
> [1] http://local.cf
> [2] http://user_prefs.cf