--allusers Weekly scan without user notifications

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
2 posts Page 1 of 1
yorodriguez
Junior Member
Posts: 15
Joined: 04 Jan 2017, 09:29


Hello,

I need a weekly scan with notification to my email, but not email notifications for cPanel users. For this I am using this cron and this template:

cat /etc/cron.weekly/cxs_complete_weekly
Code: Select all
/usr/sbin/cxs --nosversionscan --bayes --breport high --options -wW \
    --Wmaxchild 3 --Wloglevel 0 --Wsleep 3 --filemax 0 --Wrateignore 300 \
    -Q /home/quarantine -I /etc/cxs/cxs.ignore --xtra /etc/cxs/cxs.xtra \
    --prenice 20 --pionice 7 \
    --mail yorodriguez@example.com --template /etc/cxs/cxs.template.weekly \
    --report /var/log/cxs_weekly_scan.log /home/
cat /etc/cxs/cxs.template.weekly
Code: Select all
From: [from]
To: yorodriguez@example.com
Subject: Weekly cxs Scan on [hostname] (Hits:[hits]) (Viruses:[viruses]) (Fingerprints:[fingerprints])

Time        : [time]

The following has been reported by the ConfigServer eXploit Scanner running on [hostname]:

[text]
The problem is that hfile and hdir in cxs.ignore are not taken in account because I am not using --allusers. If I use --allusers all my users will get email notifications, I do not want this.

Is there any way to use --allusers and not send email notifications to users?

Regards
yorodriguez
Junior Member
Posts: 15
Joined: 04 Jan 2017, 09:29


I contacted support, they said that this is expected behaviour and can not be archived with other config.

I opened a feature request here: viewtopic.php?f=27&t=10792
2 posts Page 1 of 1