1

Topic: Amavisd config file error

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- 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?
- Related log if you're reporting an issue:
====
Hi!
I'm trying to add another dkim key to the amavisd file conf but i receive an error while i close and save it:
"Stopping amavisd: (not running).
Starting amavisd: Error in config file "/etc/amavis/conf.d/50-user": Can't modify constant item in scalar assignment at /etc/amavis/conf.d/50-user line 212, near "3600 }"
Bareword "ttl" not allowed while "strict subs" in use at /etc/amavis/conf.d/50-user line 201.
(failed)."

I'm reading this guide : http://www.iredmail.org/docs/sign.dkim. … omain.html and this http://www.iredmail.org/forum/topic415- … mains.html but same error
Can you help me please?

Thank you
Ale

----

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

2

Re: Amavisd config file error

What did you changed in 50-user? Please try to revert it first, get a working config file, then modify it.

3

Re: Amavisd config file error

ZhangHuangbin wrote:

What did you changed in 50-user? Please try to revert it first, get a working config file, then modify it.

I resolved making a clean install
Thank you