1

Topic: Amavis clamav

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====hii
I recently installed iredmal.
I dont know how can I find if clamav is updated or find result o last scan?
where is log file or how set to get log

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by Neutro 2019-06-23 20:51:04)

Re: Amavis clamav

Hi,

Use the command "freshclam" smile

Clamav is used by amavis for scanning incoming e-mails with attachments so it's not used to fully scan your server.

You should see the log in /var/log/mail.log or similar name.

3

Re: Amavis clamav

ired_mania wrote:

I dont know how can I find if clamav is updated or find result o last scan?
where is log file or how set to get log

You can check its log files under /var/log/clamav/.

4

Re: Amavis clamav

Neutro wrote:

Hi,

Use the command "freshclam" smile

Clamav is used by amavis for scanning incoming e-mails with attachments so it's not used to fully scan your server.

You should see the log in /var/log/mail.log or similar name.

hi dear
Can I have it in a specific file?

5

Re: Amavis clamav

ZhangHuangbin wrote:
ired_mania wrote:

I dont know how can I find if clamav is updated or find result o last scan?
where is log file or how set to get log

You can check its log files under /var/log/clamav/.

hi Drear
Unfortunately there is no log file in this patch.

6

Re: Amavis clamav

ired_mania wrote:
Neutro wrote:

Hi,

Use the command "freshclam" smile

Clamav is used by amavis for scanning incoming e-mails with attachments so it's not used to fully scan your server.

You should see the log in /var/log/mail.log or similar name.

hi dear
Can I have it in a specific file?

Basic linux skills dear big_smile

cat /var/log/mail.log | grep clam > clamav.log

will put all lines from mail.log containing the word "clam" to new file "clamav.log" in same directory wink

7

Re: Amavis clamav

ired_mania wrote:
ZhangHuangbin wrote:
ired_mania wrote:

I dont know how can I find if clamav is updated or find result o last scan?
where is log file or how set to get log

You can check its log files under /var/log/clamav/.

hi Drear
Unfortunately there is no log file in this patch.

I found it in /var/log/messages