Archiving Mail

Craig Daters craig at WESTPRESS.COM
Wed Jan 12 19:35:01 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Martin Hepworth wrote:
> Craig
> The Database doesn't hold the actual email, that is left on the disk in
> either rfc822 or queue file format depending on the settings in
> MailScanner.conf
>
> If you're already using the non-admin user's function to check against
> quarantined stuff then its more of less the same thing for 'normal'
> email. You just need to make sure you are archiving the email for X days
> for those users an dthey can then forward the email to themselves if
> they are daft enough to have a deleted the billing/work email.
>
> Thinking about all this, wouldn't it be better to add better controls
> into the work flow so that work/billing info is held per job somewhere
> like a document repository. That way if someone isn't available for work
> you can still see their work to be done etc???
>
Martin,

this was a very good idea that had not occurred to me. All this time I
was thinking I needed to archive their mail, but they only need a few
months worth saved. I have plenty of room for that, so I am going to use
this idea. Plus, I don't have to worry about looking everything up for
them, they can do it themselves! :)

Though, I needed to make a change to the detail.php file of MailWatch.
It was pointing to the wrong location and giving me fits at first:

In detail.php change following line (line 190 in my file):

$quarantinedir = get_conf_var("QuarantineDir");
$quarantine = $quarantinedir.'/'.$row->date.'/'.$row->id;
$spam = $quarantinedir."/".$row->date.'/spam/'.$row->id;
$notspam = $quarantinedir."/".$row->date.'/not-spam/'.$row->id;


Change the $notspam variable to point on the right directory name:

$notspam = $quarantinedir."/".$row->date.'/nonspam/'.$row->id;

Once I fixed this, I was in business. I just need to change the number
of days to hold onto data in my clean-up scripts to accommodate 2-3
months instead of only one.

Regarding the better controls comment, I have fought and fought to get
them to print out these emails and attach them to our job tickets, etc.
but I keep getting the answer that our files do not have the room for
all the extra paper this would generate, or similar. So this is my
solution in the mean time.

--

Craig Daters (craig at westpress.com)
Systems Administrator
West Press Print Communications

1663 West Grant Road
Tucson, Arizona 85705
(520) 624-4939
(520) 624-2715 fax

www.westpress.com

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list