MailScanner Archive Option

Glenn Steen glenn.steen at gmail.com
Fri Jan 29 02:09:29 GMT 2010


2010/1/28 Stephen Swaney <steve at fsl.com>:
>
> On Jan 28, 2010, at 11:21 AM, 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
>
> 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> 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
>> 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
>> 202 595-7760 ext: 601
>> www.fsl.com
>> The most accurate and cost effective anti-spam solutions available
>>
>> --
>> MailScanner mailing list
>> 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!
>>
>
> --
> MailScanner mailing list
> 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!
>
> Sorry I gave you the wrong information.
> I thought I was answering one of our clients who had just asked an archiving
> question and uses sendmail. Must have been too early in the AM here.
> Perhaps one of the Postfix experts can assist you.
> Steve
>
> --
> Steve Swaney
> steve at fsl.com
> www.fsl.com
> The most accurate and cost effective anti-spam solutions available
>
As can be seen here:
http://www.mailscanner.info/MailScanner.conf.index.html#Archive%20Mail
..... the archive mail feature is not that easily described:-). It can
be individual files, and then will be the MTA format of choice, or
mbox, depending on how you set it. Or even just a forwarding rule...

But what one need be crystal clear about is that this archive happens
first, before _ANY_ scanning is done. So releasing stuff from it, or
including choice parts of it into your MUA is probably not a good
idea.
Depending on the needs you have, might I suggest you instead use the
Non Spam Actions to store a copy of all clean mail? All you need do is
include "store" in the actions and it'll be stored in your quarantine
(and in the quarantine format! Manageable through MailWatch!!
Yay!!!:-):-). The path would be something like
/var/spool/MailScanner/quarantine/<date>/non-spam/<the actual files,
either queue files or RFC 821-decoded text files>

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list