Thursday, 28th March 2024

Comment posted qmail-scanner-queue.pl: X-Qmail-Scanner-2.08st:[] cannot create /var/spool/qscan/tmp – Permission denied – Finally a working solution and what causes the error” href=”https://www.pc-freak.net/blog/fix-qmailscannerqueuepl-xqmailscanner208st-create-varspoolqscantmp-permission-denied-finally-working-solution-error/”>Fix qmail-scanner-queue.pl: X-Qmail-Scanner-2.08st:[] cannot create /var/spool/qscan/tmp – Permission denied – Finally a working solution and what causes the error by .

Recent comments by

Share this on:

Tags: , , , , , , , , , , , ,

No Responses to “…”

  1. admin says:
    Opera 30.0.1835.125 Opera 30.0.1835.125 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36 OPR/30.0.1835.125

    Another way is through adding somewhere after line 71:
    /var/qmail/bin/qmail-scanner-queue.pl

    ##$whoami = getpwuid($) || “unknown”;
    ##if($whoami ne “qscand”) {
    exec(“/usr/bin/sudo -u qscand /var/qmail/bin/qmail-scanner-queue.pl”) || die;
    ##}

    View CommentView Comment
  2. admin says:
    Opera 30.0.1835.125 Opera 30.0.1835.125 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36 OPR/30.0.1835.125

    Actually though this ways works. Finally I’ve choose to use another C written wrapper which works much better. I warmly recommend implement this instead of sudo and the other C wrapper above:
    http://www.pc-freak.net/files/suid-wrapper.c

    View CommentView Comment
  3. hip0 says:
    Safari 5.1.7 Safari 5.1.7 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2

    After all other errors related to memory continued to occur after some time and after doing a thorough research, I’ve found out the errors is probably appearing because the resource on the VPS is not enough to run qmail. So I will speak with VPS provider to raise the VPS hardware to make it working … But anyways I hope hints helps someone out there.
    Drop me a comment if you fix it my way or how you did if you stumble same problem.

    View CommentView Comment
  4. hip0 says:
    Google Chrome 43.0.2357.130 Google Chrome 43.0.2357.130 Mac OS X  10.8.5 Mac OS X 10.8.5
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36

    The final solution I found to this weird error was to just switch qmail-scanner-queue.pl to compiled simscan binary and set proper permissions

    View CommentView Comment
  5. admin says:
    Firefox 38.0 Firefox 38.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

    Another thing I had to do that finally resolved the problem is to rebuild clamav from latest source version and use this one instead of Debian default clamav daemon. I’ve seen reports online there is a problem with clamav also on Ubuntu and even on Gentoo Linux.

    View CommentView Comment
  6. Thibs says:
    Firefox 39.0 Firefox 39.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

    And if you want I’ve recently updated my guide so you could upgrade it to Debian 8.0 Jessie 😉

    View CommentView Comment