set quarantine report for all users

Questions and answers about how to do stuff
Post Reply
thermionic
Posts: 7
Joined: 22 Oct 2014 13:46

set quarantine report for all users

Post by thermionic »

clean install of eFa 3.0.2.3
disabled mod_security
configured LDAP and imported users (all users shown)

I can see how to set a quarantine report per user, but I haven't found how to set quarantine report for all users, and by extension automatically set a quarantine report for new users. Am I missing something that is probably staring me in the face, or does it need to be set manually ?

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

Re: set quarantine report for all users

Post by shawniverson »

Yeah, there's no option to set it manually, however....

Check the end of this post for a script, fresh from the oven:

viewtopic.php?f=5&p=10195

You can also default the table field to enabled in mysql like this:

Code: Select all

mysql -u root -p mailscanner 
ALTER TABLE `users` MODIFY COLUMN `quarantine_report` tinyint(1) NULL DEFAULT 1;
You can find your mysql password in /etc/EFA-Config
Post Reply