Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: GlitchFreak on September 05, 2008, 09:25:42 PM

Title: Mail Bounces with a 55o does not like recipient
Post by: GlitchFreak on September 05, 2008, 09:25:42 PM
Hey guys

Brand new server, fresh install.

When I try send a mail from the command line or server mails are sent I get a:

2008-09-05 21:21:36.405267500 delivery 32546: failure: 196.26.208.193_does_not_like_recipient./Remote_host_said:_550_<#@[]>:Sender_address_rejected:_Domain_not_found/Giving_up_on_196.26.208.193./

Any ideas why the address that is being sent from is #@[]?

Thanks!
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: mercyh on September 05, 2008, 09:36:31 PM
How are you sending the mail?

Edit:
Sorry, I didn't read this:
Quote
When I try send a mail from the command line or server mails are sent


would this help?
http://wiki.contribs.org/SME_Server:Documentation:FAQ#How_do_I_get_my_e-mail_to_show_the_correct_From_Address

My server mails show they come from the domain that was set up on this screen:

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter5#Configuring_Your_System_Name_and_Domain_Name
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: CharlieBrady on September 05, 2008, 10:26:58 PM
How are you sending the mail?

Edit:
Sorry, I didn't read this:  
...

GlitchFreak still didn't say how he/she was sending emails "from the command line".  Mails sent via the 'mail' command on the command line (as root) should have a sender address of root@domain.name. That can be changed to something else via:

Code: [Select]
QMAILUSER=dubya QMAILHOST=in.the.whitehouse mail -s "subject of test mail" < /tmp/text

#@[] suggests a bounce message. GlitchFreak needs to further study qmail log and work out where the bounce is coming from.
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: GlitchFreak on September 05, 2008, 10:31:41 PM
Thanks Charlie.

Is it possible to change all root@domain to send as admin@domain because I'm getting bounced due to the upstream SMTP server not liking root@domain?

Thanks for the help gents!
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: mercyh on September 05, 2008, 11:08:49 PM
Is it really the user name that is the problem? I have worked with 550 before and it has always been a domain issue.

There are many things I don't know but it seems a bit odd to me. Can you send mail to the other server with admin@domain. (using the same domain name as the root mail is using now?)
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: CharlieBrady on September 05, 2008, 11:17:35 PM
Is it really the user name that is the problem? I have worked with 550 before and it has always been a domain issue.

550 can mean anything the recipient site wants - it just means a permanent rejection.

I've already told GlitchFreak how to change the sender address, so I don't understand why we are asked whether it is possible. In any case, it is a bounce message which is not being accepted, not mail with sender address of root@ or admin@.

GlitchFreak needs to do more homework, or hire a competent consultant.

Title: Re: Mail Bounces with a 55o does not like recipient
Post by: GlitchFreak on September 05, 2008, 11:20:16 PM
Hi Mercyh

The problem comes in where root@domain is not configured on the webhosts server. Now the SME is only a local server in an office that provides local mail boxes and downloads mail using multidrop boxes. So I don't have the means to add root@domain onto the webhosts server.

So when I try send a mail using root@domain, the SMTP server first checks if that account exists at the webhost (to combat spam I think), finds out it doesn't and gives me a 550 does_not_like_recipient because it is an unrouteable address. So to combat the issue, I need to replace root@domain with admin@domain which is configured at the webhost. I think its the best/easiest option to take?

Hope this makes sense :)
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: GlitchFreak on September 05, 2008, 11:23:16 PM
550 can mean anything the recipient site wants - it just means a permanent rejection.

I've already told GlitchFreak how to change the sender address, so I don't understand why we are asked whether it is possible. In any case, it is a bounce message which is not being accepted, not mail with sender address of root@ or admin@.

GlitchFreak needs to do more homework, or hire a competent consultant.



Hi Charlie

I understand what you are saying but by default, the SME server sends as root@domain. Now I would just like to know if I can tell SME server to send all system mails as admin@domain instead of root@domain. I just used the commandline option to test, I don't use it for anything else.

BTW, I am doing homework, and I am the consultant. :)

Thanks for the help guys. I appreciate it!
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: mercyh on September 06, 2008, 12:09:58 AM
Quote
Hope this makes sense  :)

It does, Sorry I can't help :sad:
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: GlitchFreak on September 06, 2008, 08:17:27 AM
Its okay thanks Mercyh.

I ended up just having to collect mail directly from the server indtead of forwarding it.

Do you know if by default, root mails are sent to admin locally?

Thanks!!
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: mercyh on September 06, 2008, 03:47:54 PM
Quote
Do you know if by default, root mails are sent to admin locally?


all mails sent from the SME operating system are sent to admin on the local machine by default.
Title: Re: Mail Bounces with a 55o does not like recipient
Post by: GlitchFreak on September 07, 2008, 07:35:38 PM
Thanks for all the help Mercyh!

Keep well!