We have several users that want to use everyone.net as a mail service. This is fine and all, but we cannot keep their domain from being added to /etc/localdomains and each time it gets added they stop receiving mail to everyone.net. Any ideas?
We have several users that want to use everyone.net as a mail service. This is fine and all, but we cannot keep their domain from being added to /etc/localdomains and each time it gets added they stop receiving mail to everyone.net. Any ideas?
Did you try putting it in /etc/remotedomains ?
Have not tried that. Does that file follow the same formate as localdomains?
Added the domain to remotedomains and it still got added back to localdomains.
Originally posted by kris1351
Added the domain to remotedomains and it still got added back to localdomains.
That's strange.
What script do you run or action do you perform that causes that domain to be added to /etc/localdomains ?
Running /scripts/mailperm will rebuild /etc/localdomains.
It should skip the domains that are listed in /etc/remotedomains.
Last edited by jamesbond; 12-22-2003 at 12:36 PM.
mailperm is the one I ran, but everytime it adds them back.
/etc/remotedomains
domain.com
*.domain.com
That is what I added.
Did you try it with just 'domain.com' ?Originally posted by kris1351
mailperm is the one I ran, but everytime it adds them back.
/etc/remotedomains
domain.com
*.domain.com
That is what I added.
Maybe the wildcard * causes a problem?
Did you check ownership and permissions?
-rw-r--r-- 1 root root