Google tried to deliver your message, but it was rejected -550 No Such User Here

Started by Dipak Bhoi, December 15, 2013, 08:04:08 AM

Previous topic - Next topic

Dipak Bhoi

Hi everyone,

When sending emails you get a bounce back email with following error :

QuoteGoogle tried to deliver your message, but it was rejected by the server for the recipient domain yourdomain.com  by yourdomain.com. [xxx.xxx.xx.xx].
The error that the other server returned was:
550 No Such User Here

Log into the server via SSH and go to user directory. Check if the email account is exist.

Quote# cd /home/username/
# ll mail

If mail account exist then check for the group ownership of etc/ directory by list command.

Quote/home/username/]#ll
drwxr-x---.  4 username mail    4096 Dec  2  2009 etc/

#ll etc/

drwx--x--x. 3 username username 4096 Dec  2  2009 .boxtrapper/
-rw-r--r--. 1 username username    0 Feb 18  2006 .imapv4
drwxr-x---. 6 username username 4096 Dec  2 08:46 yourdomain.com/


Quote#ll etc/yourdomain.com/
drwx------. 3 username mail 4096 Dec  2  2009 info/
drwx--x--x. 3 username username 4096 Dec  2  2009 lina/
drwxr-xr-x. 2 username username 4096 Apr  9  2012 lina.m/
-rw-r-----. 1 username mail     395 Mar 12  2013 passwd
-rw-r-----  1 username username 1460 Feb  1  2013 passwd,v
drwxr-x---. 2 username username 4096 Feb  1  2013 \@pwcache/
-rw-r-----. 1 username username    0 Oct 25  2012 quota
-rw-r-----  1 username username  710 Oct 25  2012 quota,v
-rw-r-----. 1 username mail     260 Feb  1  2013 shadow
-rw-r-----  1 username username 1459 Feb  1  2013 shadow,

If you check carefully 1st list, command shows etc has the mail group ownership then the files under etc/ directory has both ownership has correct. But when you go to check the ownership for that particular domain i.e etc/yourdomain.com/ you can see here some file has a mail group ownership but some has not. This is the problem, you will have to correct the group ownership of all files to mail.

Quote#chgrp mail etc -R

After run above command you can check the ownership with following command.

Quote#ll etc/domain.com/

drwx------. 3 username mail 4096 Dec  2  2009 info/
drwx--x--x. 3 username mail 4096 Dec  2  2009 lina/
drwxr-xr-x. 2 username mail 4096 Apr  9  2012 lina.m/
-rw-r-----. 1 username mail  395 Mar 12  2013 passwd
-rw-r-----  1 username mail 1460 Feb  1  2013 passwd,v
drwxr-x---. 2 username mail 4096 Feb  1  2013 \@pwcache/
-rw-r-----. 1 username mail    0 Oct 25  2012 quota
-rw-r-----  1 username mail  710 Oct 25  2012 quota,v
-rw-r-----. 1 username mail  260 Feb  1  2013 shadow
-rw-r-----  1 username mail 1459 Feb  1  2013 shadow,v

Now you can send email enjoy !!.
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.