Topic: unable to connect to DNS - Amavisd issue
==== Required information ====
- iRedMail version: iRedAdmin -Pro 2.0, iRedAdmin 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.5 Final
- Related log if you're reporting an issue:
====
Dec 20 18:22:55 mail1 amavis[4307]: (04307-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=amavisd;host=127.0.0.1;port=3306': Can't connect to MySQL server on '127.0.0.1' (111)
Dec 20 18:22:55 mail1 amavis[4307]: (04307-01) (!!)TROUBLE in check_mail: gen_mail_id FAILED: connect_to_sql: unable to connect to any dataset at (eval 113) line 252.
Dec 20 18:22:55 mail1 amavis[4307]: (04307-01) (!)PRESERVING EVIDENCE in /var/spool/amavisd/tmp/amavis-20131220T182255-04307-1DfSNnxD
Dec 20 18:22:55 mail1 amavis[4306]: (04306-02) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=amavisd;host=127.0.0.1;port=3306': Can't connect to MySQL server on '127.0.0.1' (111)
Dec 20 18:22:55 mail1 amavis[4306]: (04306-02) (!!)TROUBLE in check_mail: gen_mail_id FAILED: connect_to_sql: unable to connect to any dataset at (eval 113) line 252.
Dec 20 18:22:55 mail1 amavis[4306]: (04306-02) (!)PRESERVING EVIDENCE in /var/spool/amavisd/tmp/amavis-20131220T182255-04306-_ElatCuH
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.