Try this...
Read this entire post before trying anything....
Try editing your /etc/localdomains to your liking. In mine, I included every actual and parked domain on the server, as well as the hostname for the server.
Then try removing the file /etc/remotedomains:
rm /etc/remotedomains
Then put an empty remotedomains back:
touch /etc/remotedomains
You should now have a good localdomains, and an empty remotedomains.
Try running /scripts/mailperm now... when I did this, it left the localdomains file alone. I'm guessing that the contents of the remotedomains file may have a bearing on the contents of the localdomains file.
Do this at your own risk, though... I don't know what other affects this could have. I just saw in the script that it looked at the remotedomains file. I also noticed there are two options available, neither of which I tried:
/scripts/mailperm --skiplocaldomains
/scripts/mailperm --skipserverperm
Chris
Read this entire post before trying anything....
Try editing your /etc/localdomains to your liking. In mine, I included every actual and parked domain on the server, as well as the hostname for the server.
Then try removing the file /etc/remotedomains:
rm /etc/remotedomains
Then put an empty remotedomains back:
touch /etc/remotedomains
You should now have a good localdomains, and an empty remotedomains.
Try running /scripts/mailperm now... when I did this, it left the localdomains file alone. I'm guessing that the contents of the remotedomains file may have a bearing on the contents of the localdomains file.
Do this at your own risk, though... I don't know what other affects this could have. I just saw in the script that it looked at the remotedomains file. I also noticed there are two options available, neither of which I tried:
/scripts/mailperm --skiplocaldomains
/scripts/mailperm --skipserverperm
Chris