Topic: amavis exits with code 13
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- 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.
====
I upgraded from debian 10 to 11 and iRedMail 1.4.0 to 1.5.2. All services run without error except amavis and dovecot. I cannot send or receive emails. Sorry the title isn't very good but I couldn't fit everything in the character limit.
● amavis.service - Interface between MTA and virus scanner/content filters
Loaded: loaded (/lib/systemd/system/amavis.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-02-15 03:55:30 UTC; 29s ago
Docs: *REDACTED BY ME FOR THIS POST*
Process: 3277 ExecStartPre=/usr/bin/find /var/lib/amavis -maxdepth 1 -name amavis-* -type d -exec rm -rf {} ; (code=exited, status=0/SUCCESS)
Process: 3278 ExecStartPre=/usr/bin/find /var/lib/amavis/tmp -maxdepth 1 -name amavis-* -type d -exec rm -rf {} ; (code=exited, status=0/SUCCESS)
Process: 3279 ExecStart=/usr/sbin/amavisd-new foreground (code=exited, status=13)
Main PID: 3279 (code=exited, status=13)
CPU: 410msFeb 15 03:55:30 mail.la systemd[1]: amavis.service: Main process exited, code=exited, status=13/n/a
Feb 15 03:55:30 mail.la systemd[1]: amavis.service: Failed with result 'exit-code'.
Feb 15 03:55:30 mail.la systemd[1]: amavis.service: Scheduled restart job, restart counter is at 5.
Feb 15 03:55:30 mail.la systemd[1]: Stopped Interface between MTA and virus scanner/content filters.
Feb 15 03:55:30 mail.la systemd[1]: amavis.service: Start request repeated too quickly.
Feb 15 03:55:30 mail.la systemd[1]: amavis.service: Failed with result 'exit-code'.
Feb 15 03:55:30 mail.la systemd[1]: Failed to start Interface between MTA and virus scanner/content filters.
Something else I've noticed is dovecot runs but there's errors
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-02-15 04:24:08 UTC; 2min 29s ago
Docs: man:dovecot(1)
[url*LINK REMOVED*/url]
Main PID: 558 (dovecot)
Tasks: 10 (limit: 1132)
Memory: 2.1M
CPU: 132ms
CGroup: /system.slice/dovecot.service
├─558 /usr/sbin/dovecot -F
├─663 dovecot/lmtp -L
├─664 dovecot/anvil
├─665 dovecot/log
├─669 dovecot/lmtp -L
├─670 dovecot/lmtp -L
├─671 dovecot/lmtp -L
├─672 dovecot/lmtp -L
├─676 dovecot/config
└─680 dovecot/statsFeb 15 04:24:08 mail.la systemd[1]: Starting Dovecot IMAP/POP3 email server...
Feb 15 04:24:08 mail.la dovecot[558]: master: Dovecot v2.3.13 (89f716dc2) starting up for pop3, imap, sieve, lmtp (core dumps disabled)
Feb 15 04:24:08 mail.la systemd[1]: Started Dovecot IMAP/POP3 email server.
Feb 15 04:24:37 mail.la dovecot[665]: stats: Error: conn stats-reader (127.0.0.1:56034): didn't reply with a valid VERSION line: EXPORT global
Feb 15 04:24:37 mail.la dovecot[665]: stats: Error: conn stats-reader (127.0.0.1:56036): didn't reply with a valid VERSION line: EXPORT global
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.