1

Topic: postfix/smtp fatal: garbage after numerical service

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: 7.2.1511 CentOS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


i have problem with postfix, amavis (iredmail). I have 200 mail in queue at couple days. If i want flush i have i in log file:

Oct 27 12:08:20  postfix/qmgr[20923]: CA731868F520: from=<mo@pppp.com>, size=12340, nrcpt=1 (queue active)
Oct 27 12:08:20  postfix/smtp[21003]: fatal: garbage after numerical service in server description: [127.0.0.1]:10024?smtp-amavis_destination_recipient_limit = 1

later:

Oct 27 12:08:21 postfix/error[21038]: 9907983ABC4A: to=<biuppp@aaaa.com>, relay=none, delay=158805, delays=158804/1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)

    Oct 27 13:03:13  postfix/qmgr[23077]: warning: private/smtp-amavis socket: malformed response
Oct 27 13:03:13  postfix/qmgr[23077]: warning: transport smtp-amavis failure -- see a previous warning/fatal/panic logfile record for the problem description

In /etc/postfix/main.cf

#
# Amavisd + SpamAssassin + ClamAV
#
content_filter = smtp-amavis:[127.0.0.1]:10024
smtp-amavis_destination_recipient_limit = 1

With and without or coment smtp-amavis_destination_recipient_limit = 1 always is the same fatal error.


I don't know what's goingon with this. Restart, amavis, postfix, double config check, update amavisd, clamav don't work. Still 200 in postfix queue like deferred sad

systemctl status amavisd
● amavisd.service - Amavisd-new is an interface between MTA and content checkers.
   Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled; vendor preset: disabled


systemctl status postfix
● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
   Active: active (running) since sob 2018-10-27 12:07:27 CEST; 12min ago

----

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

2

Re: postfix/smtp fatal: garbage after numerical service

Seems you modified Postfix config files /etc/postfix/main.cf but it contains invalid value.
Search '10024' in this file and double check that line.

3 (edited by shiver25 2018-10-28 05:00:28)

Re: postfix/smtp fatal: garbage after numerical service

I really don't understand this.

I chack.

grep 10024 /etc/postfix/main.cf
content_filter = smtp-amavis:[127.0.0.1]:10024

cat /etc/postfix/main.cf
postscreen_blacklist_action = enforce

#
# Amavisd + SpamAssassin + ClamAV
#
content_filter = smtp-amavis:[127.0.0.1]:10024

# Concurrency per recipient limit.
smtp-amavis_destination_recipient_limit = 1

#
# Dovecot SASL support.
#


Oct 27 22:44:40 poczta postfix/master[3799]: warning: process /usr/libexec/postfix/smtp pid 3836 exit status 1
Oct 27 22:44:40 poczta postfix/qmgr[3801]: warning: private/smtp-amavis socket: malformed response
Oct 27 22:44:40 poczta postfix/qmgr[3801]: warning: transport smtp-amavis failure -- see a previous warning/fatal/panic logfile record for the problem description


Oct 27 22:44:39 poczta postfix/smtp[3809]: fatal: garbage after numerical service in server description: [127.0.0.1]:10024?smtp-amavis_destination_recipient_limit = 1
Oct 27 22:44:39 poczta postfix/smtp[3814]: fatal: garbage after numerical service in server description: [127.0.0.1]:10024?smtp-amavis_destination_recipient_limit = 1
Oct 27 22:44:39 poczta postfix/smtp[3816]: fatal: garbage after numerical service in server description: [127.0.0.1]:10024?smtp-amavis_destination_recipient_limit = 1
Oct 27 22:44:39 poczta postfix/smtp[3817]: fatal: garbage after numerical service in server description: [127.0.0.1]:10024?smtp-amavis_destination_recipient_limit = 1
Oct 27 22:44:39 poczta postfix/smtp[3818]: fatal: garbage after numerical service in server description: [127.0.0.1]:10024?smtp-amavis_destination_recipient_limit = 1

4

Re: postfix/smtp fatal: garbage after numerical service

shiver25 wrote:

Oct 27 22:44:39 poczta postfix/smtp[3816]: fatal: garbage after numerical service in server description: [127.0.0.1]:10024?smtp-amavis_destination_recipient_limit = 1

I suggest double check these 2 lines, seems there's no line break after '10024'.
Maybe edit them manually again.