Is It Possable to install , configer and working with "Sendmail(MTA)" in ubuntu 14.04@digitalocean

July 6, 2017 1.5k views
Email Ubuntu

i did install and configured the sendmail in ubuntu 14.04. In the mail log ( mail.log )file the status is send.

Jul  6 06:22:58 yhchandu sendmail[15117]: v666Mr26015117: from=root, size=0, class=0, nrcpts=1, relay=root@localhost

Jul  6 06:24:41 yhchandu sendmail[15134]: v666Of4Y015134: from=root@ubuntuTest, size=160, class=0, nrcpts=1, msgid=<>, relay=root@localhost

Jul  6 06:24:42 yhchandu sm-mta[15135]: v666OfDG015135: from=<>, size=399, class=0, nrcpts=1, msgid=<>, proto=ESMTP, daemon=MTA-v4, relay=ip6-localhost []

Jul  6 06:24:42 yhchandu sendmail[15134]: v666Of4Y015134: to=<>, ctladdr=root@ubuntuTest (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30160, relay=[] [], dsn=2.0.0, stat=Sent (v666OfDG015135 Message accepted for delivery)

  • i herd and that send mail is not passable to do work in Digitalocen.
  • If it’s not true, I need manual for installation and configuration of sendmail for ubuntu 14.04
1 Answer

Hi @info1681965606fde6e64f59ad

Depending on your account status with DigitalOcean, there might be a mail send-out block to prevent spam. You can contact Support via control panel to get it removed.

There’s currently no tutorial for Sendmail on Ubuntu, but you can have a look at this:

I would recommend that you use Postfix, which is a drop-in-replacement for Sendmail:

  • Thanks for your reply. It’s working.

    • I need to do the same. I want to run a cron job and if it detects something wrong it would send me an email. can you help me with this ? thx

      • @rbjassoc
        Then you just insert this line above your cron job line:

        But you might want to create a new question, if that doesn’t work for you, since it’s very different from the original question.

Have another answer? Share your knowledge.