Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-14-2010, 11:18 AM
Member
 
Posts: 14
Default 550 error for hostname

I hope this makes sense...

With our setup our mail server hostname is mail.domain.com and our zimbra was set up with that as the name. Our MX records point "domain.com" to this host so that user@domain.com will be processed by our mail server.

Since the hostname is mail.domain.com, users are set up like: user@mail.domain.com and an alias is created for user@domain.com so that mail to that address will be properly delivered.

I use nullmailer on other hosts in our network and sometimes sendmail to deliver cron messages and such. With other hosts I like to have mail show up as @domain.com instead of @host.domain.com so in nullmailer I set /etc/mailname to @domain.com and in sendmail I set up masquerading so that mail shows as @domain.com.

The problem I'm having is that mail to root@domain.com gets rejected with a 550 error.

Jun 14 10:54:36 host nullmailer[28161]: smtp: Failed: 550 5.1.1 <root@domain.com>: Recipient address rejected: domain.com.

However if I send to root@mail.domain.com it works. Is there an easy way to fix this? Sounds simple but I haven't found the answer yet.
Reply With Quote
  #2 (permalink)  
Old 06-14-2010, 11:25 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

You MX record should point to the FQDN of your server:

Code:
mail.domain.com
You should also have changed the domain to 'domain.com' name when you were asked during the initial install. You can set your MX record to the correct format and you can rename the default domain from 'mail.domain.com' to 'domain.com' using the command line tool zmprov renameDomain - check the usage and make sure you take a full backup before you make any changes like this.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-14-2010, 11:29 AM
Member
 
Posts: 14
Default

Thanks for your quick reply. Actually our mx is mail.domain.com. I will try the other suggestions. It was set up like this before I got to it. Fun stuff.
Reply With Quote
  #4 (permalink)  
Old 06-14-2010, 03:30 PM
Member
 
Posts: 14
Default

I anticipate changing the hostname could cause a whole host of problems since each account is user@mail.domain.com. I want to plan a time where I can test this on a backup server before implementing.

For some reason we're showing errors where there were none before. Is there anything I can do to "whitelist" domain.com in the meantime to help with these errors?
Reply With Quote
  #5 (permalink)  
Old 06-14-2010, 10:53 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by msheean View Post
I anticipate changing the hostname could cause a whole host of problems since each account is user@mail.domain.com. I want to plan a time where I can test this on a backup server before implementing.

For some reason we're showing errors where there were none before. Is there anything I can do to "whitelist" domain.com in the meantime to help with these errors?
What errors are you seeing in the log files? There are several articles on whitelisting in the wiki: Search results for "whitelist" - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.