SA Bugzilla – Bug 7598
sa-learn should detect if mails are compressed without looking at the extension
Last modified: 2022-04-14 11:50:45 UTC
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
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.
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.