1

Topic: smtpd[3915]: warning: connect to 127.0.0.1:7777: Connection refused

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.1 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? what? i use .tar.xz & shell script for install iredmail. this is downloadable installer?
- Linux/BSD distribution name and version: Debian 11
- 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.
====
hello. I launched an iredmail server yesterday. Everything worked fine. Sending and receiving emails was done correctly. I also launched opendmarc and opendkim and again everything was fine. But sending and receiving emails does not work properly today. Reports attached.

/var/log/mail.log:
..
Jan 24 12:36:16 mail postfix/smtpd[4746]: connect from mail-ej1-f49.google.com[209.85.218.49]
Jan 24 12:36:17 mail postfix/smtpd[4746]: Anonymous TLS connection established from mail-ej1-f49.google.com[209.85.218.49]: TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Jan 24 12:36:17 mail postfix/smtpd[4746]: warning: connect to 127.0.0.1:7777: Connection refused
Jan 24 12:36:17 mail postfix/smtpd[4746]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Jan 24 12:36:18 mail postfix/smtpd[4746]: warning: connect to 127.0.0.1:7777: Connection refused
Jan 24 12:36:18 mail postfix/smtpd[4746]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Jan 24 12:36:18 mail postfix/smtpd[4746]: NOQUEUE: reject: RCPT from mail-ej1-f49.google.com[209.85.218.49]: 451 4.3.5 <mobin@mobintestserver.ir>: Recipient address rejected: Server configuration problem; from=<mm.mobin1395@gmail.com> to=<mobin@mobintestserver.ir> proto=ESMTP helo=<mail-ej1-f49.google.com>
Jan 24 12:36:18 mail postfix/smtpd[4746]: disconnect from mail-ej1-f49.google.com[209.85.218.49] ehlo=2 starttls=1 mail=1 rcpt=0/1 bdat=0/1 quit=1 commands=5/7
Jan 24 12:39:39 mail postfix/anvil[4748]: statistics: max connection rate 1/60s for (smtpd:209.85.218.49) at Jan 24 12:36:16
Jan 24 12:39:39 mail postfix/anvil[4748]: statistics: max connection count 1 for (smtpd:209.85.218.49) at Jan 24 12:36:16
Jan 24 12:39:39 mail postfix/anvil[4748]: statistics: max cache size 1 at Jan 24 12:36:16
..
Thank you in advance for your help smile

Post's attachments

dovecot_status.log 3.79 kb, 1 downloads since 2022-01-24 

iredadmin_status.log 2.47 kb, file has never been downloaded. 

mariadb_status.log 2.87 kb, file has never been downloaded. 

nginx_status.log 1004 b, file has never been downloaded. 

postfix_status.log 538 b, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: smtpd[3915]: warning: connect to 127.0.0.1:7777: Connection refused

7777 is iredapd and the only service you didn't post

3

Re: smtpd[3915]: warning: connect to 127.0.0.1:7777: Connection refused

sorry. I miss this!
iredapd status:
● iredapd.service - iRedAPD (A simple posfix policy server)
     Loaded: loaded (/lib/systemd/system/iredapd.service; enabled; vendor preset: enabled)
     Active: failed (Result: timeout) since Mon 2022-01-24 11:48:29 EST; 46min ago
    Process: 418 ExecStart=/usr/bin/python3 /opt/iredapd/iredapd.py (code=killed, signal=TERM)
        CPU: 634ms

Jan 24 11:46:59 mail.mobintestserver.ir systemd[1]: Starting iRedAPD (A simple posfix policy server)...
Jan 24 11:48:18 mail.mobintestserver.ir python3[418]: iredapd Starting iRedAPD (version: 5.0.4, backend: mysql), listening on 127.0.0.1:7777.
Jan 24 11:48:19 mail.mobintestserver.ir python3[418]: iredapd Loading plugin (priority: 100): reject_null_sender
Jan 24 11:48:19 mail.mobintestserver.ir python3[418]: iredapd Loading plugin (priority: 99): wblist_rdns
Jan 24 11:48:29 mail.mobintestserver.ir systemd[1]: iredapd.service: start operation timed out. Terminating.
Jan 24 11:48:29 mail.mobintestserver.ir systemd[1]: iredapd.service: Failed with result 'timeout'.
Jan 24 11:48:29 mail.mobintestserver.ir systemd[1]: Failed to start iRedAPD (A simple posfix policy server).

4

Re: smtpd[3915]: warning: connect to 127.0.0.1:7777: Connection refused

did you try to restart iredapd?

5

Re: smtpd[3915]: warning: connect to 127.0.0.1:7777: Connection refused

mobin2008 wrote:

Jan 24 11:48:29 mail.mobintestserver.ir systemd[1]: iredapd.service: start operation timed out. Terminating.
Jan 24 11:48:29 mail.mobintestserver.ir systemd[1]: iredapd.service: Failed with result 'timeout'.

Any error in /var/log/syslog and /var/log/iredapd/iredapd.log right after you restarted "iredapd" service?

6

Re: smtpd[3915]: warning: connect to 127.0.0.1:7777: Connection refused

Hello. I apologize for not answering for a few days.
I noticed this is a temporary problem that may be due to an unspecified bug. I rebooted the whole server several times and finally after 6 reboots, the problem was solved!
Later, when I have access to the computer, I also check the reports.