Debian 8.5 - Postfix - Devcot: setup completed, I get "fatal: unknown service: smtp/tcp"
After a basic sending mail test, the mail did not arrived and /var/log/mail.log records the following lines:
*Jul 13 15:42:14 digitalocean postfix/qmgr: 3BDABA06EA: from=root@debian-1gb-fra1-A01.xxxxx.com.ar, size=406, nrcpt=1 (queue active)
Jul 13 15:42:14 digitalocean postfix/smtp: fatal: unknown service: smtp/tcp
Jul 13 15:42:15 digitalocean postfix/qmgr: warning: private/smtp socket: malformed response
Jul 13 15:42:15 digitalocean postfix/qmgr: warning: transport smtp failure – see a previous warning/fatal/panic logfile record for theproblem description
Jul 13 15:42:15 digitalocean postfix/master: warning: process /usr/lib/postfix/smtp pid 9561 exit status 1
Jul 13 15:42:15 digitalocean postfix/master: warning: /usr/lib/postfix/smtp: bad command startup – throttling
Jul 13 15:42:15 digitalocean postfix/error: 3BDABA06EA: email@example.com, relay=none, delay=1016, delays=1015/1/0/0.01, dsn=4.3.0, status=deferred (unknown mail transport error) *
I understand the problem would be “fatal: unknown service: smtp/tcp”. If this is the case, I don’t know what to do in order to fix it. Would you be kind enough to help me?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.