nethesis / dev

Nethesis issue tracker
http://www.nethesis.it
4 stars 1 forks source link

The miners dedicated to the mail return values 0 #6035

Closed lucagasparini closed 3 years ago

lucagasparini commented 3 years ago

If the local System is set with LANG = it_IT.UTF-8, the miners that calculate the sums of the mails (received, sent, filtered, etc.) and also the sums of the attachments scanned by YOMI report a value of 0. Within the miners the command date is used to compare the data reported in the maillog and this does not match (for example Jun 21 instead of Jun 21).

Steps to reproduce

Expected behavior

Actual behavior

Components dante-0.5.0-1.ns7.x86_64 nethserver-dante-1.0.5-1.ns7.noarch

See also Workaround:

 cat /etc/e-smith/templates-custom/etc/cron.d/dante/10miners

# Execute all miners each day at 23:45
# Miners should be executed before the enf of day
45 23 * * *   root LANG=en_US.UTF-8 /usr/bin/ciacco

Ticket Ref: https://helpdesk.nethesis.it/a/tickets/134392

gsanchietti commented 3 years ago

Moved to NethServer/dev#6533