Page 1 of 1

set quarantine report for all users

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

Re: set quarantine report for all users

Posted: 12 Aug 2017 13:00
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