Submitted by aremdee on Fri, 09/11/2015 - 18:45 Pro Licensee
Setting up the new server meant we needed to use a new host name for the new server. Restoring from the old server I am now finding emails generated by website forms on the new server using the old hostname. And because of this they are seemingly getting stuck in the mail queue. There are only a few there at the moment with the status of unknown mail transport error, but looking at the headers the receiving server is listed as the old host, not the new one.
I was wondering if there is a simple way to fix this. Somehow the configuration files of the Virtual Servers need to be updated to the new server but I'm not sure how to go about this?
Status:
Active
Comments
Submitted by andreychek on Fri, 09/11/2015 - 19:54 Comment #1
Howdy -- while the old hostname may be listed somewhere, I suspect the problem may be something different than that. Though we can certainly look into that.
If you look in /var/log/maillog, do you see any errors there?
If not, try restarting Postfix, as doing that may show the error.
Submitted by aremdee on Fri, 09/11/2015 - 21:48 Pro Licensee Comment #2
Part of the log is attached.
Submitted by andreychek on Sat, 09/12/2015 - 15:53 Comment #3
Thanks -- I do see an error in there, though I'm not sure what's causing that at the moment.
Could you attach your /etc/postfix/master.cf file, along with the output of the command "postconf -n"?
Submitted by aremdee on Sat, 09/12/2015 - 23:25 Pro Licensee Comment #4
They are attached. Thanks.
Submitted by andreychek on Sat, 09/12/2015 - 23:38 Comment #5
Okay, it looks like it may be missing some files from the Postfix directory for some reason... what is the output of this command:
ls /var/spool/postfix/etc
Submitted by aremdee on Sun, 09/13/2015 - 00:36 Pro Licensee Comment #6
Gidday,
Output is probably not what you expected.
ls: cannot access /var/spool/postfix/etc: No such file or directory
Submitted by aremdee on Thu, 09/17/2015 - 02:35 Pro Licensee Comment #7
Hi, I have decided to shutdown the CentOS server and create a debian8 server instead. After a couple of minor hiccups I have the minimal Debian server up and running. But... there is always one isn't there. Can't get Virtualmin to install. Do you want me to create a new ticket for this?
Thanks.
Submitted by andreychek on Thu, 09/17/2015 - 09:24 Comment #8
Ugh, my apologies, it looks like I somehow failed to respond to your previous comment! Sorry about that.
We're happy to help you with Virtualmin on Debian 8 though.
A new request might be best for that -- just let us know in that new request what issue(s) you're seeing.
Actually, you may want to attach the /root/virtualmin-install.log file to that request as well.
Submitted by aremdee on Thu, 09/17/2015 - 16:33 Pro Licensee Comment #9
Actually I think the problem of installing Virtualmin has more to do with the way I have set up the Debian server. Before I go any further can you give me a quick heads up on the options to have when setting up a minimal Debian 8 server? All I chose was SSH server and basic system and nothing else. That will probably be a better starting point. If it's covered in the documentation then a link to that would be great. Am away for a few days so probably wont get back to it till Monday.
Thanks for getting back to me.
Submitted by andreychek on Thu, 09/17/2015 - 16:59 Comment #10
Yup, what you did should be fine! Minimal install with SSH.
If there's an issue with that, let us know and we'd be happy to assist.