I hope this belongs to this list.

I installed simscan 1.03 in a semi-production server with over 400 domains and 2000 maildirs,
and it works really fast.
I propose a simple simscan change that can resolve some problems in first tests (IMHO)


Simscan creates the working directory with a privilege of 700. in this way clamd
must run with the same owner of simscan to access the msg.


Changing the privilege to 755 clamd and spamd can access the working
directory regardless of clamd process user.

To apply the change -  search this

  /* create the directory */
  if ( mkdir(workdir, 0700) == -1 ) {
    _exit(EXIT_400);
  }

and replace with this

  /* create the directory */
  if ( mkdir(workdir, 0755) == -1 ) {
    _exit(EXIT_400);
  }

----------
Fa



Reply via email to