Quarantine Maintenance

General eFa discussion
Post Reply
buzzzo
Posts: 94
Joined: 03 Feb 2014 09:09

Quarantine Maintenance

Post by buzzzo »

Hi

Playing around the cron jobs dir I have found two scripts responsbile of quarantine cleanup:

1) clean.quarantine
2) /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_maint.php --clean (in mailwatch)

Showing the source code i've seen that basically:

1) clean.quarantine is a simple shell script that cleanup the spool dir
2) quarantine_maint.php is a little bit complicated: update the db table and the spool dir

My sensation is that is a little bit redundant to have two scripts that basically do the same thing.
Am i right or am i missing something ?

Thx
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Quarantine Maintenance

Post by shawniverson »

Hmm....this is a problem...

One is from mailscanner.

The other is from mailwatch.

We need to dump clean.quarantine.

Posting issue...https://github.com/E-F-A/v3/issues/51
Post Reply