I guess your problem is that you call qmail-scanner without sending the attachment to scan to it. I guess the file to scan should be sent on stdin to qmail-scanner or be written to a tempfile or something, not sure how that works.

//daniel wiberg

tech mail wrote:

I guess I just want to keep everything basic, so I can switch away without
having the patch remnants aorund..control freak or somethin.

Actually, the way ou described is what I did..what I want to do is add a
third file (called /var/qmail/bin/qmail-queue) which would call the scanner routine and
then finish by calling renamed /var/qmail/bin/qmail-queue-bin file


The two problems I have is:

1.  I cant get that intermediate file to successfully call the scanner
script (see below)
2.  even if I could get it to call it, the scanner file calls queue script.

so I am just trying to figureout if the scanner file really needs to call
the queue script and how I can make the third file that calls both and works
such as:

INTERMEDIARY /var/qmail/bin/qmail-queue

#!/bin/sh

RESULT = `/var/qmail/bin/qmail-queue-scanner.pl`          #this doesnt work
- any ideas?
exec /var/qmail/bin/qmail-queue-bin                       #this works

-----Original Message-----
From: Daniel Wiberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 8:44 AM
To: [EMAIL PROTECTED]
Subject: Re: [clamav-users] qmail-scanner - clam-av


I run the qmail-queue patch, so I haven't tried this, but couldn't you change the line:
my $qmailqueue = '/var/qmail/bin/qmail-queue';
to
my $qmailqueue = '/var/qmail/bin/qmail-queue-bin';
in qmail-scanner-queue.pl (which you name /var/qmail/bin/qmail-queue)


Is this too confusing?
Why not use the patch? Then you would do 'like everybody else', which is great when looking for help.


//Daniel Wiberg

tech mail wrote:



Thanks Dan for your help...got it all up an running I think...
works pretty smoothly I think. I didnt use the QMAILQUEUE patch, so we will
see how that goes

Was wondering if you are good with shell script?  Trying to figure out if I
can modify the qmail-scanner perl script so it doesnt call the
/var/qmail/bin/qmail-queue

I would then call both of these from a separate file, so it would look
something like:

cp qmail-queue qmail-queue-bin

With a new qmail-queue:

#!/bin/sh

RESULT = `qmail-queue-scanner.pl`
exec /var/qmail/bin/qmail-queue-bin



The exec line works, however the call to the the scanner script doesnt. However, before that would work, I would need to find out if the I can modify the scanner script so it doesnt need to call the qmail-queue script, otherwise I made myself a nice fat loop..any of this make sense, or is possible?


Any ideas?


-----Original Message-----
From: Daniel Wiberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 12:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [clamav-users] FW: failure notice


Just an install should do it, qmail-scanner needs it to handle attachments correctly.


BR,
Daniel Wiberg

tech mail wrote:





sorry, found reformine in 1.52...but now what? just an install of




Maildrop?




or do you just do something with reformine?


-----Original Message----- From: tech mail [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 5:02 PM To: '[EMAIL PROTECTED]' Subject: [clamav-users] FW: failure notice




Man sometimes I feel real stupid...


What does this mean:

reformime from Maildrop 1.3.8+

I downloaded the latest Maildrop do I just run the install or do I have to
do something else?  I noticed that version 1.4 has reformine and version
1.52 does not.

Any help...thanks


-----Original Message----- From: tech mail [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 4:26 PM To: '[EMAIL PROTECTED]' Subject: RE: [clamav-users] Installation and configuration questions


Dan..thanks for the information. You saved me a lot of time toying with AMAVIS and the daemon.

Thanks!


-----Original Message----- From: Daniel Wiberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 4:12 PM To: [EMAIL PROTECTED] Subject: Re: [clamav-users] Installation and configuration questions


Hi!


I have answered your questions further down.

tech mail wrote:







I am rather new to all of this, so I apologize...

Couple quick questions surrounding getting this up and running.
I would like to use it with qmail-scanner.







Works perfect for me.







I have completed the install of clam-av itself, and am trying to figure




out




if I need to install the AMaViS package to get this to work with the
clam-av/qmail-scanner set-up.








Nope.







Also, does the integration with qmail-scanner require the clam-av daemon




to




be running? I can't seem to find the answer there.








Nope, qmail-scanner uses clamscan.







lastly, I placed freshclam -d -c 2 -l /var/log/clam-update.log in the
rc.local (redhat 7.3), but it doesnt seem to be doing the trick







Don't know, I run it from crontab.

Hope I could help.

BR,
Daniel Wiberg
--
www.wiberg.nu


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to