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.


LinkBack URL
About LinkBacks


