1

Topic: After upgrade of amavisd quarantine does not work anymore

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.3
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,
I upgraded amavisd two days ago:
    Updated    amavisd-new-2.10.1-5.el7.noarch              ?
    Update                 2.11.0-1.el7.noarch              @epel

Ever since quarantine does not work anymore. Error message for any message to be quearantined is like this:

D2745E0501    36934 Mon Jun 19 14:12:20  sp_43057.12618370.1.7b429b37dcc8d73ebdc8296b1b8d4f61@bounces.em.secureserver.net
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=07106-07, quar+notif FAILED: temporarily unable to quarantine: 451 4.5.0 Local delivery(1) to /etc/amavisd/quarantine/spam-30fdce5ac4b70ac9e958f8bfc3ca6189-20170622T113406-ltR0xhnbGrcl failed: Can't create file /etc/amavisd/quarantine/spam-30fdce5ac4b70ac9e958f8bfc3ca6189-20170622T113406-ltR0xhnbGrcl: Read-only file system at (eval 131) line 203., id=07106-07 at /usr/sbin/amavisd line 17592. (in reply to end of DATA command))
                                         andreas@blaha.at

Any idea what might have happened? I cannot see any permission issues, quarantine folder is owned by amavis/amavis and has full rights for the group.

many thanks in advnace

Andy

----

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

2

Re: After upgrade of amavisd quarantine does not work anymore

ablaha wrote:

(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=07106-07, quar+notif FAILED: temporarily unable to quarantine: 451 4.5.0 Local delivery(1) to /etc/amavisd/quarantine/spam-30fdce5ac4b70ac9e958f8bfc3ca6189-20170622T113406-ltR0xhnbGrcl failed: Can't create file /etc/amavisd/quarantine/spam-30fdce5ac4b70ac9e958f8bfc3ca6189-20170622T113406-ltR0xhnbGrcl: Read-only file system at (eval 131) line 203., id=07106-07 at /usr/sbin/amavisd line 17592. (in reply to end of DATA command))

Why it uses "/etc/amavisd/quarantine" to store quarantined mails? Default value should be /var/spool/amavis.
Please check the Amavisd config file backed up by rpm upgrading. (.rpmsave)

3

Re: After upgrade of amavisd quarantine does not work anymore

ZhangHuangbin wrote:
ablaha wrote:

(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=07106-07, quar+notif FAILED: temporarily unable to quarantine: 451 4.5.0 Local delivery(1) to /etc/amavisd/quarantine/spam-30fdce5ac4b70ac9e958f8bfc3ca6189-20170622T113406-ltR0xhnbGrcl failed: Can't create file /etc/amavisd/quarantine/spam-30fdce5ac4b70ac9e958f8bfc3ca6189-20170622T113406-ltR0xhnbGrcl: Read-only file system at (eval 131) line 203., id=07106-07 at /usr/sbin/amavisd line 17592. (in reply to end of DATA command))

Why it uses "/etc/amavisd/quarantine" to store quarantined mails? Default value should be /var/spool/amavis.
Please check the Amavisd config file backed up by rpm upgrading. (.rpmsave)

Hi Zhang,
thank you. I have changed to your suggestion and it works again. Why, I do not understand, as the construction worked before and ever since, only after the upgrade it stopped to do so. In any case, it works now :-)