MailScanner Archive Option

Jules Field MailScanner at ecs.soton.ac.uk
Sun Jan 31 12:02:10 GMT 2010



On 29/01/2010 22:50, Monis Monther wrote:
> Dear Jules:
>
> Thanks for your response , I have this option set to no
>
> Quarantine Whole Messages As Queue Files = no
>
> Quarantine saves messages as RFC 822 messages (which is very nice)
>
> But archived messages are still saved as queue files and to retrieve 
> them is hard.
The whole point of the Archive Mail setting is to provide a copy of the 
message in *exactly* the state in which MailScanner found it. To convert 
the raw queue file into an RFC 822 message involves a lot of 
interpretation and processing, which may go wrong. So the "Archive Mail" 
setting works the way it does by design. If the message interpretation 
went wrong and your Archive got screwed as a result, you would have no 
way of recovering the original messages.

If you want to store the messages in RFC 822 format, use the "store" 
action in non-spam actions, spam actions and high-spam actions. This can 
be told to store it into whatever directory structure you like, read all 
the docs for the "store" action in the MailScanner.conf file, it's very 
flexible.
>
> Any help please
>
> These are my Archive settings from MailScanner.conf
>
> Archive Mail = /var/spool/MailScanner/archive
> Missing Mail Archive Is = directory
>
>
>
>
> Glenn: your approach might be interesting to store only clean messages 
> in quarantine
>
>
> Thanks for everyone
>
> On Thu, Jan 28, 2010 at 5:29 PM, Julian Field 
> <MailScanner at ecs.soton.ac.uk <mailto:MailScanner at ecs.soton.ac.uk>> wrote:
>
>
>
>     On 28/01/2010 15:21, Monis Monther wrote:
>
>         Steve are you sure about this, in my case this does not work,
>         as they are not saved as rfc281 messages like in quarantine
>
>         They are stored as message queue files and to retrieve them is
>         a pain
>
>     Suggest you take a look at this option in MailScanner.conf:
>
>     # When you quarantine an entire message, do you want to store it as
>     # raw mail queue files (so you can easily send them onto users) or
>     # as human-readable files (header then body in 1 file)?
>     Quarantine Whole Messages As Queue Files = yes
>
>
>         Change permission of file to be executable and copy it to the
>         postfix incoming queue (I use postfix), and have to make a
>         customized script to accomplish my need
>
>         Any advise is appreciated if I am doing something wrong here
>
>
>         Thanks
>
>         Monis
>
>         On Thu, Jan 28, 2010 at 3:49 PM, Stephen Swaney <steve at fsl.com
>         <mailto:steve at fsl.com> <mailto:steve at fsl.com
>         <mailto:steve at fsl.com>>> wrote:
>
>            Richard,
>
>            The messages will be stored as individual message files in
>         a text
>            format in a separate folder for each day
>
>            The can be rent by changing to the directory contain the
>         message
>            and running
>
>            sendmail -iot < [message_file_name]
>
>            Steve
>
>            On Jan 28, 2010, at 9:09 AM, Richard Sidlin wrote:
>
>                Hi
>                I would like to setup mail archiving for one domain. I
>             see from
>                the instructions that it archives to a folder
>             destination that
>                you specify. Could someone explain how it saves it
>             (format) and
>                how the messages are retrieved into either a mail
>             server or mail
>                client?
>                Thanks
>                Richard
>                --    MailScanner mailing list
>             mailscanner at lists.mailscanner.info
>             <mailto:mailscanner at lists.mailscanner.info>
>             <mailto:mailscanner at lists.mailscanner.info
>             <mailto:mailscanner at lists.mailscanner.info>>
>
>             http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>                Before posting, read http://wiki.mailscanner.info/posting
>
>                Support MailScanner development - buy the book off the
>             website!
>
>
>            Thanks,
>
>            Steve
>
>            --    Steve Swaney
>         steve at fsl.com <mailto:steve at fsl.com> <mailto:steve at fsl.com
>         <mailto:steve at fsl.com>>
>
>            202 595-7760 ext: 601
>         www.fsl.com <http://www.fsl.com> <http://www.fsl.com>
>
>            The most accurate and cost effective anti-spam solutions
>         available
>
>
>            --
>            MailScanner mailing list
>         mailscanner at lists.mailscanner.info
>         <mailto:mailscanner at lists.mailscanner.info>
>         <mailto:mailscanner at lists.mailscanner.info
>         <mailto:mailscanner at lists.mailscanner.info>>
>
>         http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>            Before posting, read http://wiki.mailscanner.info/posting
>
>            Support MailScanner development - buy the book off the website!
>
>
>
>     Jules
>
>     -- 
>     Julian Field MEng CITP CEng
>     www.MailScanner.info <http://www.MailScanner.info>
>     Buy the MailScanner book at www.MailScanner.info/store
>     <http://www.MailScanner.info/store>
>
>     Need help customising MailScanner?
>     Contact me!
>     Need help fixing or optimising your systems?
>     Contact me!
>     Need help getting you started solving new requirements from your boss?
>     Contact me!
>
>     PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>     Follow me at twitter.com/JulesFM <http://twitter.com/JulesFM> and
>     twitter.com/MailScanner <http://twitter.com/MailScanner>
>
>
>     -- 
>     This message has been scanned for viruses and
>     dangerous content by MailScanner, and is
>     believed to be clean.
>
>
>     -- 
>     MailScanner mailing list
>     mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>
>     http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>     Before posting, read http://wiki.mailscanner.info/posting
>
>     Support MailScanner development - buy the book off the website!
>
>

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list