At 1:11 +1100 28-03-2004, Jesse Reynolds wrote:
Hi

I'm upgrading qmail-scanner from 1.16 to 1.21

I have always been using --archive yes directive, and hast been happily writing archived messages to /var/spool/qmailscan/archives

After manually installing the new qmail-scanner-queue.pl I get heaps of the following in my qmail-smtpd's logfile:

@40000000406586fd168c2dbc X-Qmail-Scanner-1.21:[shiraz.va.com.au108039550047066684] cannot create /var/spool/qmailscan/archives - File exists

Hi


There is a bug in the actual version 1.21, I posted it to the list some days ago, here it is:

There is a bug in the routine "sub cleanup", the bug only triggers if
the option archive is enabled.

The check for the archivedir is wrong:

     # check if $archivedir exists
     if (-d "$scandir/$archivedir") {

Must be:

     # check if $archivedir exists
     if (! -d "$scandir/$archivedir") {

Edit /var/qmail/bin/qmail-scanner-queue.pl and do the change above.


REgards

Salvatore

I have used the following configuration directives;

./configure \
    --admin virus_alert \
    --domain va.com.au \
    --local-domains "va.com.au,many-more-domains-here-too.com" \
    --debug yes \
    --archive yes \
    --log-details yes \
    --scanners "clamscan,verbose_spamassassin" \
    --skip-text-msgs no \
    --block-password-protected yes

I have set the permissions correctly on the qmail-scanner-queue.pl and the qmailscan directory as per the manual install instructions on the website ( http://qmail-scanner.sourceforge.net/manual-install.php )

Any ideas why qmail-scanner is trying to re-create the archives directory? It's permissions, by the way, are:

drwxrwx--- 5 qmailq qmail 512 Mar 5 2003 /var/spool/qmailscan/archives/

(but were changed to be qscand:qscand when trying 1.21)

Thankyou

Jesse



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to