>If I try to execute 'su qmaild -c "/var/qmail/bin/qmail-scanner-queue.
>pl -g"', I get an error:
>perlscanner: generate new DB file from /var/spool/qmailscan/quarantine-
>attachments.txt
>X-Qmail-Scanner-1.16:[] cannot open for write /var/spool/qmailscan/quarantine-

>attachments.db.tmp - Permission denied
>
>If I change the owner of the directory to "qmailq" the command above
>works.
>
>My question is: Are there functionality or security problems if the 
>/var/spool/qmailscan/ is owned by "qmail"?

Do the following:

1) Move the config files to a different folder
  - Make sure to edit the script to check the new location
2) Run qmail-scanner-queue.pl -g as root to generate the files
3) Make sure qmail-scanner-queue.pl can read the config files by either:
  - Making them world-readable (not ideal, but easy)
  - Making them group owned by the nofiles group with 640 permissions

Adam








-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to