sendmail DSN: User unknown error
<p>I am trying to send email using sendmail on ubuntu 14.04</p>

<p>I have installed <code>sendmail</code> package on the VM.</p>

<pre><code>echo "My test email being sent from sendmail" | /usr/sbin/sendmail muname@domain.com
</code></pre>

<p>when I checked /var/log/mail.log found </p>

<pre><code>Oct 14 15:19:39 wn2-aerq01 sm-mta[47774]: u9EFJX6f047770: to=&lt;myname@domain.com&gt;, ctladdr=&lt;sshuser@localhost.localdomain&gt; (2017/2017), delay=00:00:06, xdelay=00:00:05, mailer=esmtp, pri=120349, relay=domain-com.mail...ction.outlook.com. [207.46.163.170], dsn=5.7.1, stat=User unknown
Oct 14 15:19:49 wn2-aerq01 sm-mta[47774]: u9EFJX6f047770: u9EFJn6f047774: DSN: User unknown
Oct 14 15:19:49 wn2-aerq01 sm-mta[47774]: u9EFJn6f047774: to=&lt;sshuser@localhost.localdomain&gt;, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent
</code></pre>

<p>I have these config files</p>

<p>/etc/mail/sendmail.conf : <a href="https://paste.fedoraproject.org/456578/05403714/" rel="nofollow">https://paste.fedoraproject.org/456578/05403714/</a></p>

<p>/etc/mail/sendmail.mc : <a href="https://paste.fedoraproject.org/456579/54109147/" rel="nofollow">https://paste.fedoraproject.org/456579/54109147/</a></p>

<p>/etc/mail/access : <a href="https://paste.fedoraproject.org/456588/55139147/" rel="nofollow">https://paste.fedoraproject.org/456588/55139147/</a></p>

<p>Anyone know whats wrong here ?</p>