webgui for clamAV

Discussion in 'Installation/Configuration' started by Sharezone, Apr 23, 2024.

  1. Sharezone

    Sharezone New Member

    exist the web gui for clamav inegrated on ISP config?

    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ClamAV is used to scan emails only; there is no web GUI.
     
  3. Sharezone

    Sharezone New Member

    where i can verify that it is scanning e-mails and if it finds viruses ?
     
  4. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    This depends on your setup.
    Usually there are indications in /var/log/mail.log mail.info or just maillog depending on the system really.
    Are you using a setup with amavis or rspamd?
     
  5. michelangelo

    michelangelo Active Member

    If you use Rspamd, then via the Rspamd Web-UI or in the rspamd logs files.
    In case of a deprecated Amavis/SA/ClamAV setup typically in your server's maillogs.
     
  6. Sharezone

    Sharezone New Member

    i use rspamd
     
  7. Sharezone

    Sharezone New Member

    in which section of rspamd UI ? I have not found
     
  8. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    Ok, now it depends on how clamav is integrated.
    /etc/rspamd/local.d/antivirus.conf
    shows you one example for clamav.
    Same setting but different section if you use
    https://rspamd.com/doc/modules/external_services.html#icap-protocol-specific-details

    It will not specificly say it was rejected due to virus scan on the first dashboard,

    but it should emit logs.

    Also depending on your configuration they can end up in syslog or get eaten by systemd ^^

    https://rspamd.com/doc/configuration/logging.html
     
  9. michelangelo

    michelangelo Active Member

    In case that ClamAV is correctly configured to work with Rspamd on your system, you should be able to find it if you search for the symbol name "CLAM_VIRUS" in the history tab of the Rspamd Web-UI.

    There should be also something logged in the rspamd log file if you search case insensitive for "virus".
     
    ztk.me likes this.
  10. Sharezone

    Sharezone New Member

     
  11. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

  12. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    If there is something to scan, on loglevel info, you should have something lile this in your logs
     
  13. Sharezone

    Sharezone New Member

    it's possible have a procedure for test and details see if giu rspamd capture a virus ?

    thanks
     
  14. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    depends on what mail utils are installed on your local system.
    Code:
    echo -n 'X5ORUS-TEST-FILE!H+H*' > lottery.pdf
    echo "Here is 10 million dollars" | mailx -a lottery.pdf [email protected]
    please the see valid eicar signature at the wiki above, I do not want to post a virus on this board :D
    I think it is obvious where to put in the code, delete the X5....+H and put only the valid string in there.
     

Share This Page