![]() |
![]() | ClamWin and Hmailserver | ![]() |
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
clamwin no longer uses cygwin unix compatibility layer, if you were using /cygdrive/c in your paths you now need to replace it with c:/
|
|||||||||||
|
![]() |
![]() | ![]() |
Slug
![]() |
![]() |
Hi Alch
Thats doesnt appear to be it, as it works if I manually scan a file. It seems to be the return number has changed ??? guess ??? When Clamwin finds a infected file ?? https://www.hmailserver.com/forum/viewtopic.php?t=4227 Does this make any sence to you ? has this been changed ? Regards Michael |
|||||||||||
|
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
clamscan with cygwin had a return code problem. Now it does things properly - returns 0 for no virus and 1 when a virus is found.Make sure that you have Microsoft.VC80.CRT installed properly, clamwin does it for you but if you copy files somewhere else see [Notes] on this page:
https://oss.netfarm.it/clamav/ I used this batch file:
the output was:
|
|||||||||||||||
|
![]() |
![]() | ![]() |
Slug
![]() |
![]() |
Hi Alch
I was a little worried about installing over the top of 0.88 since I read about the change (cygwin) so I uninstalled clamwin first and then reinstalled it fresh, so I hope the Microsoft.VC80.CRT issue you suggest should be ok (hope). Im not 100% up on this type of thing but I will have a look. Thanks for your speedy reply Michael |
|||||||||||
|
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
yes, installer copies all the necessary files. So if you use clamscan from clamwin\bin folder all should be well |
|||||||||||||
|
![]() |
![]() | ![]() |
knafve
![]() |
![]() |
I don't think that's the problem. There appears to have been a change how clamscan.exe parses the command line. In earlier versions, it was possible to use ' ' around folders that contained spaces. For example like this:
But this doesn't seem to be possible any longer. When I run the following command:
50 is returned and the error ERROR: 'C:\Documents: Not supported database file type is given. If I replace the ' with ", it works properly (no error and the virus is detected) Alch, do you know if this change was made on purpose and I have to upgrade my software to be compatible with Clam? |
|||||||||||||||
|
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
it did change because clamscan is now native win32 application. I suggest you either use " instead of ' or make 8.3 pathnames and have no quotation marks
|
|||||||||||
|
![]() |
![]() | ![]() |
knafve
![]() |
![]() |
OK. Awkward. Well, I've updated my app.
|
|||||||||||
|
![]() |
![]() | ClamWin and Hmailserver | ![]() |
|
||
![]() |
![]() |
Powered by phpBB © phpBB Group
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.