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

July 6, 2017 101 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=<201707060624.v666Of4Y015134@yhchandu.ml>, relay=root@localhost

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

Jul  6 06:24:42 yhchandu sendmail[15134]: v666Of4Y015134: to=<hemchand.yenumula@gmail.com>, ctladdr=root@ubuntuTest (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30160, relay=[127.0.0.1] [127.0.0.1], 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:
https://holarails.wordpress.com/2013/11/17/configure-sendmail-in-ubuntu-12-04-and-make-it-fast/

I would recommend that you use Postfix, which is a drop-in-replacement for Sendmail:
https://www.digitalocean.com/community/tutorials?q=postfix&primary_filter=popular

  • 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:

        MAILTO=you@domain.com
        

        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.