#1  
Old 19th May 2008, 05:20
getrav getrav is offline
Junior Member
 
Join Date: May 2008
Posts: 19
Thanks: 1
Thanked 1 Time in 1 Post
Default SpamSnake Backup EMails

How could I save a copy of all emails on the spamsnake with a web interface to search all the backed up email?
I know this probably will open a whole new chapter on this spamsnake thing but it sure would be cool.
Any info would be helpful.
Reply With Quote
Sponsored Links
  #2  
Old 19th May 2008, 11:06
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

There is no web interface that i know of right now but you can backup the mails using the archive options
Code:
Archive Mail = /var/spool/MailScanner/archive
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 19th May 2008, 13:46
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Getrav,

Did you set the following in /var/www/mailscanner/conf.php?
Code:
define(QUARANTINE_USE_FLAG, true);
define(QUARANTINE_DAYS_TO_KEEP, n);  -->n represents number of days to keep, must be set
If you've set these options, then the SpamSnake will keep 'n' days of emails. You can then view these quarantine emails in MailWatch by clicking on the quarantine tab. So if you have n set to 7, then you'll see the last 7 days of emails, sorted by date.

Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #4  
Old 22nd May 2008, 00:16
getrav getrav is offline
Junior Member
 
Join Date: May 2008
Posts: 19
Thanks: 1
Thanked 1 Time in 1 Post
Default Code to save all quarantine.

OK Quarantine option will work good for now.

Do I need to add:
spam actions, high scoring spam actions, and non-spam actions all to "store"?

If so could you please post the code for my reference.
Reply With Quote
  #5  
Old 22nd May 2008, 00:42
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Hey,

You should have the following settings in your /etc/MailScanner/MailScanner.conf file:

Code:
Spam Actions = deliver store
High Scoring Spam Actions = delete store
Non Spam Actions = deliver store
Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #6  
Old 22nd May 2008, 01:06
getrav getrav is offline
Junior Member
 
Join Date: May 2008
Posts: 19
Thanks: 1
Thanked 1 Time in 1 Post
Default

Code:
High Scoring Spam Actions = delete store
Non Spam Actions = deliver header "X-Spam-Status: No"
1. Wouldn't the "High Scoring Spam Actions = delete" just delete the message before it could store it?
2. Do we need header Non Spam Actions = "X-Spam-Status: No"
Reply With Quote
  #7  
Old 22nd May 2008, 02:27
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
 
Default

Hey,

The High Scoring setting will store the mails as well. Check it out, you'll see that it works. You can just replace whatever you have for the 3 Actions settings with the settings i gave you.

Rocky
__________________
Home of the SpamSnake
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SpamSnake as Backup MX getrav HOWTO-Related Questions 5 10th May 2008 04:01
Looking for an automatic backup for ISPConfig unsichtbare Installation/Configuration 1 2nd May 2008 14:33
[SHELL Script] - Backup WEB & DATABASES vaio1 Tips/Tricks/Mods 0 5th September 2007 14:48
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
email + backup blackflag Installation/Configuration 3 7th March 2006 11:38


All times are GMT +2. The time now is 20:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.