Essets and Mailscanner initialization filied

Mark Sapiro mark at msapiro.net
Fri Dec 23 16:55:35 UTC 2016


On 12/22/2016 11:36 PM, Michał Janik wrote:
> 
> I run manual and this is ok
> 
> /usr/lib/MailScanner/wrapper/esets-wrapper /opt/eset/esets/sbin/
...
> but if Mailscaner run 
> 
> ESET Command-line scanner, version 4.5.6, (C) 1992-2016 ESET, spol. s r.o.
> Using license: XXXX. (/etc/opt/eset/esets/license/esets_927d86.lic)
> Scanner initialization failed.
> 
> Mascanner running this command:
> 
> exec /opt/eset/esets/sbin//esets_scan --log-all --log-file
> /var/log/essets.log
> 
> Why?


This is almost certainly a permissions issue. You are running the
command as some user (root ?) that is different from MailScanner's Run
As User.

What happens if you manually run

sudo -u xxx /usr/lib/MailScanner/wrapper/esets-wrapper /opt/eset/esets/sbin/

where xxx is MailScanner's Run As User? I expect that this will fail as
it does when MailScanner runs it. In particular, ensure that
MailScanner's Run As User can write to /var/log/essets.log.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list