DevHeads.net

Postfix not delivering mail

postfix v3.2.0
linux v4.4.103-36-default x86_64

Postfix has once again decided not to deliver mail. (I do not know why
I have such a hard time keeping postfix sane. I do not recall making any
changes either.) Below is the session log. Lots of "unknown" features.
Not helpful.
Postfix is the local MDA for system messages.
I added an excerpt from <master.cf>.
Telnet connects to postfix with port 126. (126 is used since there is
also an MTA running on the same system.) So I do not understand the
error "unknown service: smtp/tcp".

How do I resolve the unknown errors?

2018-01-12T12:19:41-0700 sma-server3 postfix/error[25802]: 0D7E52528B5:
to=<jimoe@sohnen-moe.com>, orig_to=<root>, relay=none, delay=378386,
delays=378384/1/0/0.01, dsn=4.3.0, status=deferred (unknown mail
transport error)
2018-01-12T12:29:40-0700 sma-server3 postfix/qmgr[17322]: C0D222550D2:
from=<sma-user3x@sma-server3.sma.com>, size=937, nrcpt=2 (queue active)
2018-01-12T12:29:40-0700 sma-server3 postfix/qmgr[17322]: BF81B252BF5:
from=<>, size=3264, nrcpt=1 (queue active)
2018-01-12T12:29:40-0700 sma-server3 postfix/smtp[26035]: fatal: unknown
service: smtp/tcp
2018-01-12T12:29:40-0700 sma-server3 postfix/smtp[26036]: fatal: unknown
service: smtp/tcp
2018-01-12T12:29:41-0700 sma-server3 postfix/qmgr[17322]: warning:
private/smtp socket: malformed response
2018-01-12T12:29:41-0700 sma-server3 postfix/qmgr[17322]: warning:
transport smtp failure -- see a previous warning/fatal/panic logfile
record for the problem description
2018-01-12T12:29:41-0700 sma-server3 postfix/master[17320]: warning:
process /usr/lib/postfix/smtp pid 26035 exit status 1
2018-01-12T12:29:41-0700 sma-server3 postfix/master[17320]: warning:
/usr/lib/postfix/smtp: bad command startup -- throttling
2018-01-12T12:29:41-0700 sma-server3 postfix/master[17320]: warning:
process /usr/lib/postfix/smtp pid 26036 exit status 1
2018-01-12T12:29:41-0700 sma-server3 postfix/error[26037]: C0D222550D2:
to=<moe.james@sohnen-moe.com>, relay=none, delay=109779,
delays=109777/1.4/0/0.02, dsn=4.3.0, status=deferred (unknown mail
transport error)
2018-01-12T12:29:41-0700 sma-server3 postfix/qmgr[17322]: warning:
private/smtp socket: malformed response
2018-01-12T12:29:41-0700 sma-server3 postfix/qmgr[17322]: warning:
transport smtp failure -- see a previous warning/fatal/panic logfile
record for the problem description
2018-01-12T12:29:41-0700 sma-server3 postfix/error[26037]: BF81B252BF5:
to=<jimoe@sohnen-moe.com>, orig_to=<root@sma-server3.sma.com>,
relay=none, delay=374320, delays=374318/1.4/0/0, dsn=4.3.0,
status=deferred (unknown mail transport error)

----[ from master.cf ]---
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp:126 inet n - y - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - y - - smtp
relay unix - - y - - smtp
-o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil

Comments

Re: Postfix not delivering mail

By Bill Cole at 01/12/2018 - 16:42

Do not do this...................^

OR: put copies of all the needed files into the chroot jail.

Re: Postfix not delivering mail

By Viktor Dukhovni at 01/12/2018 - 16:37

Your problem is a misconfigured chroot-jail, or permission issues reading
/etc/services.

Re: Postfix not delivering mail

By James Moe at 01/12/2018 - 17:07

On 01/12/2018 01:37 PM, Viktor Dukhovni wrote:

Re: Postfix not delivering mail

By etech3 at 01/12/2018 - 16:25

On 01/12/2018 03:13 PM, James Moe wrote: