Announcement

Collapse
No announcement yet.

Spamassassin Related Errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spamassassin Related Errors

    (Originally posted in the Comodo forums)
    Hello,

    Whilst running some tests, I came to realize that manual spam checking, as well as sa-learn does throw quite a few errors.
    2 such partial samples are below.

    I tested it on a fresh install and it was the same there as well. It should be easy to replicate.
    Code:
    korumail[at]freya ~/train/ham $ spamassassin 2271-1547433848-846875.eml
    Jan 18 14:42:02.376 [25967] warn: config: cannot open "/etc/mail/spamassassin/local.cf": Permission denied
    Jan 18 14:42:02.422 [25967] warn: config: created user preferences file: /opt/korumail/.spamassassin/user_prefs
    Jan 18 14:42:04.276 [25967] warn: Unrecognized escape \i passed through in regex; marked by <-- HERE in m/(?i)http\:\/\/\i <-- HERE ddba\.informz\.net/ at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 1393.
    Jan 18 14:42:04.647 [25967] warn: config: failed to add invalid rule __U1_ABSABANK_PHISH_V1_ASL at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDetail.pm line 144.
    Jan 18 14:42:04.724 [25967] warn: config: unclosed 'if' in /etc/mail/spamassassin/aslab.cf: if plugin (Mail::SpamAssassin::Plugin::URIDetail)
    Jan 18 14:42:13.326 [25967] warn: rules: failed to run __H2_TO_IN_RP_FR_DIFF_RT_3_ASL test, skipping:
    Jan 18 14:42:13.327 [25967] warn:  (Can't locate object method "to_in_return_path" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 6526) line 669.
    Jan 18 14:42:13.327 [25967] warn: )
    Jan 18 14:42:13.328 [25967] warn: rules: failed to run __H1_TO_IN_RP_FR_DIFF_RT_3_ASL test, skipping:
    Jan 18 14:42:13.328 [25967] warn:  (Can't locate object method "are_fields_equal" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 6526) line 1444.
    Jan 18 14:42:13.328 [25967] warn: )
    Jan 18 14:42:13.329 [25967] warn: rules: failed to run __KAM_SPF_NONE test, skipping:
    Jan 18 14:42:13.329 [25967] warn:  (Can't locate object method "check_for_spf_none" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 6526) line 1725.
    Jan 18 14:42:13.329 [25967] warn: )
    Jan 18 14:42:13.329 [25967] warn: rules: failed to run TO_IN_RETURN_PATH_ASL test, skipping:
    Jan 18 14:42:13.329 [25967] warn:  (Can't locate object method "to_in_return_path" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 6526) line 1928.
    Jan 18 14:42:13.329 [25967] warn: )
    Jan 18 14:42:13.785 [25967] warn: Unrecognized escape \i passed through in regex; marked by <-- HERE in m/http\://\i <-- HERE ddba\.informz\.net/ at /etc/mail/spamassassin/aslab.cf, rule __U1_PROMO_IDDBA_ASL, line 1.
    Jan 18 14:42:15.531 [25967] warn: rules: failed to run PROMO_SENDER_DOMAIN_IGNORE_ASL test, skipping:
    Jan 18 14:42:15.531 [25967] warn:  (Can't locate object method "is_sender_domain_promo_ignored" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 6641) line 4543.
    Jan 18 14:42:15.531 [25967] warn: )
    Jan 18 14:42:15.534 [25967] warn: rules: failed to run __B1_FROM_LINK_SUB_DIFFERENT_ASL test, skipping:
    Jan 18 14:42:15.534 [25967] warn:  (Can't locate object method "link_has_different_sub_from_sender" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 6641) line 5916.
    Jan 18 14:42:15.534 [25967] warn: )
    X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07)
    .......
    ......
    And manual training:
    Code:
    korumail[at]freya ~/train/ham $ sa-learn --ham 6723-1547289481-414990.eml
    config: cannot open "/etc/mail/spamassassin/local.cf": Permission denied
    Unrecognized escape \i passed through in regex; marked by <-- HERE in m/(?i)http\:\/\/\i <-- HERE ddba\.informz\.net/ at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 1393.
    config: failed to add invalid rule __U1_ABSABANK_PHISH_V1_ASL at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDetail.pm line 144.
    config: unclosed 'if' in /etc/mail/spamassassin/aslab.cf: if plugin (Mail::SpamAssassin::Plugin::URIDetail)
    Learned tokens from 1 message(s) (1 message(s) examined)

  • #2
    These errors have been fixed with the latest Korumail rule update package. Please check again and let us know if error messages still exist.

    Comment


    • #3
      Originally posted by ardatekin View Post
      These errors have been fixed with the latest Korumail rule update package. Please check again and let us know if error messages still exist.
      Can we ask when the next release is scheduled?
      Robin
      Director
      Strobe Technologies Ltd
      https://www.strobe-it.co.uk/

      Comment

      Working...
      X