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 » 09 Aug 2017 08:02

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: 3087
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: set quarantine report for all users

Post by shawniverson » 12 Aug 2017 13:00

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
Version eFa 4.0.2 now available!

Post Reply