I need all files that are removed to be quarantined and not deleted.

Chris W. Parker cparker at swatgear.com
Thu Apr 19 23:19:08 IST 2007

Hi Everyone,
This has been a recurring problem here and I've not be able to solve it
on my own. I REALLY need for MailScanner to quarantine EVERY file that
it removes from an email so that, if needed, I can use Pine (or some
such) to send that file to the intended recipient.
My boss had a zip file removed that he needs but I've looked everyone
and I can't find a file or a quarantine email even though I've got tons
of emails quarantined in /var/spool/MailScanner/quarantine/. I don't
know what's being quarantined or why. (So many options to choose from in
the MailScanner config.)
I don't want to allow all attachments for one (or more) users and I
don't want to allow all types of a certain files (e.g. zip files). I
want to keep the same rules as I have now but add the flexibility of
resending attachments if I need to.

How can I do this?

Here is the output from 'MailScanner -v':

Running on
Linux filter.swatgear.com 2.6.9-22.0.1.EL #1 Thu Oct 27 12:26:11 CDT
2005 i686 i686 i386 GNU/Linux
This is CentOS release 4.2 (Final)
This is Perl version 5.008005 (5.8.5)

This is MailScanner version 4.50.15
Module versions are:
1.00    AnyDBM_File
1.14    Archive::Zip
1.03    Carp
1.119   Convert::BinHex
1.00    DirHandle
1.05    Fcntl
2.73    File::Basename
2.08    File::Copy
2.01    FileHandle
1.06    File::Path
0.14    File::Temp
1.32    HTML::Entities
3.48    HTML::Parser
2.35    HTML::TokeParser
1.21    IO
1.10    IO::File
1.123   IO::Pipe
1.71    Mail::Header
3.05    MIME::Base64
5.419   MIME::Decoder
5.419   MIME::Decoder::UU
5.419   MIME::Head
5.419   MIME::Parser
3.03    MIME::QuotedPrint
5.419   MIME::Tools
0.10    Net::CIDR
1.08    POSIX
1.77    Socket
0.08    Sys::Syslog
1.86    Time::HiRes
1.02    Time::localtime

Optional module versions are:
0.17    Convert::TNEF
1.809   DB_File
1.11    DBD::SQLite
1.50    DBI
1.08    Digest
1.01    Digest::HMAC
2.33    Digest::MD5
2.10    Digest::SHA1
0.44    Inline
0.17    Mail::ClamAV
3.001000        Mail::SpamAssassin
1.997   Mail::SPF::Query
0.15    Net::CIDR::Lite
0.48    Net::DNS
0.31    Net::LDAP
1.94    Parse::RecDescent
missing SAVI
1.4     Sys::Hostname::Long
2.42    Test::Harness
0.47    Test::Simple
1.95    Text::Balanced
1.35    URI

More information about the MailScanner mailing list