Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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???
I don't run my own mail server and I don't have much knowledge about them so maybe the previous post should not have been so 'absolute'. This is my story:
I once got 550 messages back (not 5.1.1, I think it was a 5.7.6) when I was sending emails to certain email addresses using my ISPs smtp server. I was however able to send to those email addresses using another way (same as you). Some research revealed that my ISP's smtp server was blacklisted.
So that makes me think that the 550 does not (necessarily) come from your mail server but from the receiving mail server. And therefore it can not harm to contact them.
Before I posted my previous reply, I tried to do some research on the internet for your error message, and everything I read did point to a reply from the receiving mail server (mailserver.otherdomain) and not of your mail server (smtp.yourdomain).
Hi Wim...
Thanks for taking the time to reply.
I'm sure that you are right that 550 comes from the receiving server.
However, in this case I believe that it is MY server that is the receiving server.
i.e. the mail does not get any further than my server.
I believe that the mail must be looking for the recipient on my server and not finding it so therefore bouncing the mail.
My reasoning is this:
I can send an email to customer1@hisdomain and it goes through.
I can send an email to customer2@hisdomain and it DOES NOT go through.
Both these are my customers, and I host their web sites and mail boxes.
Therefore there must be something on my server that is preventing this from happening.
Why don't you check the log files? /var/log/maillog on Redhat flavors. Or try doing this from console (commands are written in bold).
Quote:
$ telnet mx.hisdomain.com 25
Trying xxx.xxx.xxx.xxx...
Connected to mx.hisdomain.com.
Escape character is '^]'.
220 mx.hisdomain.com -- (Some information about the server) helo your.host.name
250 mx.hisdomain.com OK, [xxx.xxx.xxx.xxx]. mail from: your@emailaddress.com
250 2.5.0 Address Ok. rcpt to: customer2@hisdomain.com
250 2.1.5 customer2@hisdomain.com OK. data
354 Enter mail, end with a single ".". Blah Blah
Blah Blah
.
250 2.5.0 Ok. quit
You will probably find the issue while doing the above exercise.
Thanks for taking the time to read and respond to my post.
I went through the instructions that you suggested.
It all went well.
I got to the end and placed a "." on a new line and got the following response:
250 2.0.0 n579nBC2013598 Message accepted for delivery
It just sat there until I typed quit.
I checked the maillog on both sending and receiving servers and nothing showed.
Many thanks to the people who replied to this problem.
I have now solved the problem:
hisdomain1.com was listed in local-host-names
hisdomain2.com was NOT listed in local-host-names
Neither domains are 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.