You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2018/08/21 20:35:28 UTC

[Bug 7598] New: sa-learn should detect if mails are compressed without looking at the extension

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7598

            Bug ID: 7598
           Summary: sa-learn should detect if mails are compressed without
                    looking at the extension
           Product: Spamassassin
           Version: 3.4.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Learner
          Assignee: dev@spamassassin.apache.org
          Reporter: bigon@bigon.be
  Target Milestone: Undefined

Hi,

dovecot allows you to compress the files in an IMAP Maildir, but these files
don't have the (.gz,.bz2,.xz) extension

It would be nice if sa-learn was detecting that the file are compressed without
looking at the file name

That would make it easier to learn a big quantity of files in a directory

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7598] sa-learn should detect if mails are compressed without looking at the extension

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7598

--- Comment #2 from Henrik Krohns <ap...@hege.li> ---
Further ArchiveIterator improvements, all of gzip/bzip2/xz/lz4/lzip/lzo are now
detected and uncompressed automatically.

Sending        trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
Sending        trunk/lib/spamassassin-run.pod
Sending        trunk/sa-learn.raw
Transmitting file data ...done
Committing transaction...
Committed revision 1899848.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7598] sa-learn should detect if mails are compressed without looking at the extension

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7598

Kevin A. McGrail <km...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
                 CC|                            |kmcgrail@apache.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7598] sa-learn should detect if mails are compressed without looking at the extension

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7598

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |4.0.0
                 OS|Linux                       |All
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Hardware|PC                          |All
                 CC|                            |apache@hege.li

--- Comment #1 from Henrik Krohns <ap...@hege.li> ---
ArchiveIterator cleanups
- Uncompress gzip regardless of extension (Bug 7598)
- Add .xz support

Sending        trunk/UPGRADE
Sending        trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
Sending        trunk/lib/spamassassin-run.pod
Sending        trunk/sa-learn.raw
Transmitting file data ....done
Committing transaction...
Committed revision 1899843.

-- 
You are receiving this mail because:
You are the assignee for the bug.