A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
Trying to configure sendmail in Debian
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 ourdomain.com, the server can send mail to email@example.com) with no problem.
Mar 7 14:45:29 newton sm-mta: r27JjOw1017159: to=, ctladdr= (0/0), delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=30455, relay=webmail.ourdomain.ws. [xxx.xxx.xxx.xxx], 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:
Does that mean the firstname.lastname@example.org 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!