1

Topic: 4.2.1 Timeout errors

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Debian 9 (Stretch)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- 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.
====

Recently my Logwatch reports are getting stuck in smtpd with timeout errors. I turned up the logging level and this is what I see:

Nov 12 19:38:46 web postfix/amavis/smtp[4985]: > 127.0.0.1[127.0.0.1]:10024: XFORWARD SOURCE=LOCAL
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: > 127.0.0.1[127.0.0.1]:10024: MAIL FROM:<root@myhost.com> SIZE=16356
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: > 127.0.0.1[127.0.0.1]:10024: RCPT TO:<me.comcast.net> ORCPT=rfc822;me@comcast.net
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: > 127.0.0.1[127.0.0.1]:10024: DATA
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: smtp_stream_setup: maxtime=300 enable_deadline=0
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: < 127.0.0.1[127.0.0.1]:10024: 250 2.5.0 Ok XFORWARD
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: smtp_stream_setup: maxtime=300 enable_deadline=0
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: < 127.0.0.1[127.0.0.1]:10024: 250 2.1.0 Sender <root@myhost.com> OK
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: smtp_stream_setup: maxtime=300 enable_deadline=0
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: < 127.0.0.1[127.0.0.1]:10024: 250 2.1.5 Recipient <me@comcast.net> OK
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: smtp_stream_setup: maxtime=120 enable_deadline=0
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: < 127.0.0.1[127.0.0.1]:10024: 354 End data with <CR><LF>.<CR><LF>
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: smtp_stream_setup: maxtime=180 enable_deadline=0
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: > 127.0.0.1[127.0.0.1]:10024: .
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: > 127.0.0.1[127.0.0.1]:10024: QUIT
Nov 12 19:38:46 web postfix/amavis/smtp[4985]: smtp_stream_setup: maxtime=1200 enable_deadline=0
Nov 12 19:46:46 web amavis[31222]: (31222-15) (!)ESMTP ABORTING: timed out during waiting for input from client
Nov 12 19:46:46 web amavis[31222]: (31222-15) (!)ESMTP: NOTICE: ABORTING the session: timed out during waiting for input from client
Nov 12 19:46:46 web postfix/amavis/smtp[4985]: < 127.0.0.1[127.0.0.1]:10024: 421 4.3.2 Service shutting down, timed out during waiting for input from client

Any other mail gets through just fine (e.g. sendmail me@comcast.net). I have to wonder about the construct of the message generated by Logwatch. Any troubleshooting suggestions would be appreciated!

(Interestingly, rebooting the server usually makes the first message from logwatch go through without a problem, but subsequent days get "stuck")

Thank you!

----

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

2

Re: 4.2.1 Timeout errors

No idea yet. sad

3

Re: 4.2.1 Timeout errors

Mmmm... I think this may be caused by some bad iptables rules. Flushed the iptables and watching to see if things get through.

Thanks for your time.