I set CallUploadScript to yes within pure-ftpd.conf, and after running "pure-uploadscript-B-r :virusscan-file:", I ran "service pure-ftpd start".
Then, although the eicar.zip file (for a test) was uploaded using FTP client software, I do not detect a virus, and not run virusscan-file.
(For virus detection, I am using clamdscan and virusscan-file has described chmod to it.)
Although all logs are recorded on the messages file in syslog, only the log which uploaded the eicar.zip file is recorded.
If clamdscan is run from ssh shell, eicar.zip will be detected normally.
Please advise me that CallUploadScript runs normally if you please.
Then, although the eicar.zip file (for a test) was uploaded using FTP client software, I do not detect a virus, and not run virusscan-file.
(For virus detection, I am using clamdscan and virusscan-file has described chmod to it.)
Although all logs are recorded on the messages file in syslog, only the log which uploaded the eicar.zip file is recorded.
If clamdscan is run from ssh shell, eicar.zip will be detected normally.
Please advise me that CallUploadScript runs normally if you please.