1

Topic: New installation with errors

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.1 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? iRedMail script installer from its Github repository
- Linux/BSD distribution name and version: Raspberry Debian 11 Buulseye
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDb
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi there
First, thanks for this great work. With my low level I could bing it to work smile
Until now I used the free Google Workspace to have my own domain mail for my familly and me.
Since Google is stopping it, I had to find a new solution. I installed on a Raspberry iRedMail which I host at home.
I had to struggle with port redirections and DNS but now I can send and get mails into the webmail.

But I have still some errors in maillog and I don't know how to correct it.

Jan 25 06:26:12 mail amavis[20030]: (20030-02) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [127.0.0.1] /ESMTP <root@mail.ossybee.com> -> <root@mail.ossybee.com>, (), Message-ID: <4Jjb055VwHz4rHJ@mail.ossybee.com>, mail_id: wwHp9kW-JKtj, b: G-K9S6NmU, Hits: 1.498, size: 5946, queued_as: 4Jjb1H6k5dz4rHD, Subject: "Logwatch for mail.ossybee.com (Linux)", From: <root@mail.ossybee.com>, helo=, Tests: [FROM_FMBLA_NEWDOM=1.498,NO_RELAYS=-0.001,URIBL_BLOCKED=0.001], autolearn=no autolearn_force=no, autolearnscore=1.498, dkim_new=dkim:ossybee.com, 62140 ms
Jan 25 06:26:12 mail postfix/amavis/smtp[16728]: 4Jjb055VwHz4rHJ: to=<root@mail.ossybee.com>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10026, delay=66, delays=4.2/0.02/0.08/62, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4Jjb1H6k5dz4rHD)
Jan 25 06:26:12 mail postfix/qmgr[8607]: 4Jjb055VwHz4rHJ: removed

Jan 25 09:59:20 mail postfix/submission/smtpd[21088]: connect from mail-yb1-f181.google.com[209.85.219.181]
Jan 25 09:59:20 mail postfix/submission/smtpd[21088]: Anonymous TLS connection established from mail-yb1-f181.google.com[209.85.219.181]: TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Jan 25 09:59:21 mail postfix/submission/smtpd[21088]: 4JjglF56Wqz4rHD: client=mail-yb1-f181.google.com[209.85.219.181], sasl_method=PLAIN, sasl_username=api@ossybee.com
Jan 25 09:59:21 mail postfix/cleanup[21104]: 4JjglF56Wqz4rHD: message-id=<CAOp7yKtGhDEGsuG-+5eZBXS=+_-A-bU0WpMc32aGQGOTB7ghPg@mail.gmail.com>
Jan 25 09:59:21 mail postfix/qmgr[8607]: 4JjglF56Wqz4rHD: from=<api@ossybee.com>, size=1324, nrcpt=1 (queue active)
Jan 25 09:59:21 mail postfix/submission/smtpd[21088]: disconnect from mail-yb1-f181.google.com[209.85.219.181] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 bdat=1 quit=1 commands=8
Jan 25 09:59:22 mail amavis[20031]: (20031-02) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: Connection refused
Jan 25 09:59:23 mail amavis[20031]: (20031-02) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: Connection refused
Jan 25 09:59:23 mail amavis[20031]: (20031-02) (!)clamav-socket: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
Jan 25 09:59:29 mail amavis[20031]: (20031-02) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: Connection refused
Jan 25 09:59:29 mail amavis[20031]: (20031-02) (!)clamav-socket av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 102) line 659.\n

and errors in the Logwatch:
--------------------- Amavisd-new Begin ------------------------

        4   *Warning: Virus scanner connection failure
        2   Miscellaneous warnings

        3   Total messages scanned ------------------  100.00%
   14.466K  Total bytes scanned                         14,813
========   ==================================================
...
---------------------- Amavisd-new End -------------------------


--------------------- clam-update Begin ------------------------


Your ClamAV installation is OUTDATED!
Local version: 0.103.3 Recommended version: 0.103.5

---------------------- clam-update End -------------------------


Thanks in avdavance for any help

regards
Ossy

----

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

2

Re: New installation with errors

how much ram?

you need 4gb of ram to run iredmail, and if you wanna use it on your home internet connection, you wn't be able to sen mail to many many provders since you have a dynamic ip and no reverse dns that matches the hostname

i guess clamav-deaemon isn't running, check its status and post the results