Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th June 2009, 11:04
countrydj countrydj is offline
Junior Member
 
Join Date: Jun 2009
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default Why do I get 550 5.1.1 Usaer unknown message ??

Hi...
I am using Centos 5 on my linux server.

This is my problem:
Using my own server's SMTP (Relaying is allowed from my ip number),if I send an email, using Eudora or any other mail client, to one of my customers it will not send. It gives a 550 5.1.1 User unknown message.
I can send email to any of my other clients without problem.

Using my ISP smtp server, the same email will send and is received by the client.

There is obviously something missing on my server that is refusing to accept this particular email address.

Can anybody suggest anything that may cause this to happen???

Thanks,

John C
Reply With Quote
Sponsored Links
  #2  
Old 7th June 2009, 17:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Can you post an excerpt of your mail log when this happens?
Which MTA are you using? Postfix or Sendmail?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
countrydj (7th June 2009)
  #3  
Old 7th June 2009, 18:41
countrydj countrydj is offline
Junior Member
 
Join Date: Jun 2009
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Falko...
Many thanks for your replied to this problem.

I have now solved the problem:

hisdomain1.com was listed in local-host-names

The domain is not hosted on the sending server.
It seems that the sending server checked and found hisdomain1.com was listed in local-host-names, but could not find the user on the server, so returned a 550 5.1.1 error.

Since hisdomain1.com was listed in local-host-names
on the server that hosts the domain, there was no problem with any other sender getting mail through.

Hope this makes sense...

Thanks for your help

John C
Reply With Quote
  #4  
Old 18th January 2010, 01:10
mroradba mroradba is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 550 5.1.1 ... User unknown

Hello, I think I have run into simmillar issue and can't solve it right now. I try to use mailx to send an e-mail message from Centos (root) using one of the valid mail accounts I have on the mail server (can be pinged and nslookup works fine).

However I still have same issue with ... User unknown:

[root@centos01 mail]# mailx -v mailadmin@acx.local
Subject: test mail
.
Cc:
Null message body; hope that's ok
mailadmin@acx.local... Connecting to [127.0.0.1] via relay...
220 centos01.acx.local ESMTP Sendmail 8.13.8/8.13.8; Sun, 27 Dec 2009 14:41:18 +0100
>>> EHLO centos01.acx.local
250-centos01.acx.local Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<root@centos01.acx.local> SIZE=44 AUTH=root@centos01.acx.local
250 2.1.0 <root@centos01.acx.local>... Sender ok
>>> RCPT To:<mailadmin@acx.local>
>>> DATA
550 5.1.1 <mailadmin@acx.local>... User unknown
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
>>> RSET
250 2.0.0 Reset state
root... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> MAIL From:<> SIZE=1068
250 2.1.0 <>... Sender ok
>>> RCPT To:<root@centos01.acx.local>
>>> DATA
250 2.1.5 <root@centos01.acx.local>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 nBRDfIJl004436 Message accepted for delivery
root... Sent (nBRDfIJl004436 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 centos01.acx.local closing connection
You have new mail in /var/spool/mail/root

Could someone please advise?

Thank you,
m.
Reply With Quote
  #5  
Old 18th January 2010, 01:23
mroradba mroradba is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Ok it looks like it worked. I have completely removed entries from local-host-names and restarted sendmail.

Since I use this for a test configuration and acx.local is my only test domain it worked perfectly with removing other entires.

This configuration is only for using mailx as a client, not as a server. I have mail server on another machine.

Hope this will help somebody.

Thanks.
m.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42


All times are GMT +2. The time now is 10:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.