LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2013, 02:12 PM   #1
raphael75
Member
 
Registered: Jul 2012
Posts: 40

Rep: Reputation: Disabled
dsn=5.7.1, stat=User unknown


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 bob@ourdomain.com) with no problem.

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

Mar 7 14:45:29 newton sm-mta[17159]: r27JjOw1017159: to=<user9999@gmail.com>, ctladdr=<root@newton.forrest> (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

Also, I get this:

Code:
root@newton:/etc/mail# sendmail -bv user9999@gmail.com

user9999@gmail.com... deliverable: mailer relay, host webmail.ourdomain.ws, user user9999@gmail.com
Does that mean the user9999@gmail.com 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!
 
Old 03-08-2013, 08:34 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Here error is from smtp , your exchange server communicating with gmail server and getting this response .

Thanks
 
Old 03-08-2013, 09:15 AM   #3
raphael75
Member
 
Registered: Jul 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
Thanks for your reply.

I can send email to the "user9999@gmail.com" address from any other computer and the message goes through. I've also tried sending to other external (yahoo, hotmail) addresses I have and they don't go through from our Linux server. I get the same error message ("User unknown") or "unable to relay".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sendmail "user stat unknown error " while delivering error out sanjay87 Linux - Server 1 02-29-2012 09:54 AM
Sendmail dsn=4.0.0, stat=Deferred: Invalid argument error stephen_davies Linux - Software 1 07-03-2009 04:22 AM
Sendmail : relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refuse macadam Linux - Software 0 09-23-2007 02:44 PM
sendmail stat=User unknown problem mighlani Linux - Software 1 04-13-2006 09:32 AM
sendmail problem stat=User unknown singying304 Linux - Networking 1 10-07-2005 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration