By alecfunes
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[6795]: 3BDABA06EA: from=root@debian-1gb-fra1-A01.xxxxx.com.ar, size=406, nrcpt=1 (queue active) Jul 13 15:42:14 digitalocean postfix/smtp[9561]: fatal: unknown service: smtp/tcp Jul 13 15:42:15 digitalocean postfix/qmgr[6795]: warning: private/smtp socket: malformed response Jul 13 15:42:15 digitalocean postfix/qmgr[6795]: warning: transport smtp failure – see a previous warning/fatal/panic logfile record for theproblem description Jul 13 15:42:15 digitalocean postfix/master[6793]: warning: process /usr/lib/postfix/smtp pid 9561 exit status 1 Jul 13 15:42:15 digitalocean postfix/master[6793]: warning: /usr/lib/postfix/smtp: bad command startup – throttling Jul 13 15:42:15 digitalocean postfix/error[9562]: 3BDABA06EA: to=xxxxxxx@hotmail.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? Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Update: in the meantime, I followed a third-party link posted by Jon Leibowitz (http://serverfault.com/questions/655116/postfix-fails-to-send-mail-with-fatal-unknown-service-smtp-tcp), and the error got fixed. Short solution: ln -snf /etc/services /var/spool/postfix/etc/services
Now, no errors in /var/log/mail.log, but mails still don’t reach destination eMail address… I will open a new Question.
Thanks!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.