1

Topic: Send mail: status=deferred (connect to 127.0.0.1[127.0.0.1]:10026:

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CentOS 7.2.1511
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? N
- Related log if you're reporting an issue:
====

A user has submitted a mail vis SMTP over TLS (port 587)

The /var/log/maillog says:

Oct 25 00:01:55 mx postfix/qmgr[7867]: 1146FA94B: from=<xxx>, size=1418, nrcpt=1 (queue active)
Oct 25 00:01:55 mx postfix/smtp[8196]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused
Oct 25 00:01:55 mx postfix/smtp[8196]: 1146FA94B: to=<yyyyy>, relay=none, delay=7289, delays=7289/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)

The default config of amavisd does not enable listening on port 10026 - but master.cf from postfix states:

submission inet n       -       n       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
  -o content_filter=smtp-amavis:[127.0.0.1]:10026

Also, I think it would be great with a good guide on how to implement DKIM signing (from scratch) - including all steps to generate keys etc...

/Brian

----

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

2

Re: Send mail: status=deferred (connect to 127.0.0.1[127.0.0.1]:10026:

Amavisd listens on port 10026 (and 10024, 9998), please make sure Amavisd service is running.

3

Re: Send mail: status=deferred (connect to 127.0.0.1[127.0.0.1]:10026:

ZhangHuangbin wrote:

Amavisd listens on port 10026 (and 10024, 9998), please make sure Amavisd service is running.

Hm... Might be caused due to an upgrade.. Which makes me wonder - what is the correct update procedure ? To install a fresh server and migrate mail,certificates etc and database (MySQL/LDAP) to a new server (including bayes database from spamassassin) ?

/Brian

4

Re: Send mail: status=deferred (connect to 127.0.0.1[127.0.0.1]:10026:

please follow below tutorial to upgrade iredmail server:

http://www.iredmail.org/docs/iredmail.releases.html

5

Re: Send mail: status=deferred (connect to 127.0.0.1[127.0.0.1]:10026:

ketan.aagja wrote:

please follow below tutorial to upgrade iredmail server:

http://www.iredmail.org/docs/iredmail.releases.html

I had such a problem even on a fresh install.
First thing you schould do is check the amount of RAM of your system, bigger is better, no less then 4GB.
The second you need to check if amavisd is running and is listening on that port. In my case it was not running. I fixed that with some changes in amavisd.conf (don't remember where) - added 127.0.0.1 and 12.34.56.78 (the local ip) to the listenings.