Home Linux Community Forums Linux System Administration Web Management Trying to configure sendmail in Debian

Trying to configure sendmail in Debian

Link to this post 11 Mar 13

I'm trying to configure sendmail on our Debian Linux server to send mail, using our Exchange server as a relay. I'm a total noob at all of this.

We can send mails to internal addresses (for example, if our domain name is, the server can send mail to with no problem.

We can't send mail to external addresses like or Here's an example of what I get in /var/log/mail.log

Mar 7 14:45:29 newton sm-mta[17159]: r27JjOw1017159: to=<>, ctladdr=<root@newton.forrest> (0/0), delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=30455, [], dsn=5.7.1, stat=User unknown

Sometimes it says stat=Unable to relay and sometimes stat=Sent, but in every case the emails are never received.

Also, I get this:

root@newton:/etc/mail# sendmail -bv deliverable: mailer relay, host, user

Does that mean the is unknown to newton, or unknown to Exchange?

Is there something in Exchange we need to configure?

I have no idea what to configure. Please help. Thanks!

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board