I have a dedicated server and it was running on xwy.com domain as primary domain with name servers.
I wanted to change it to abc.com instead,
domain already exists on server but wont work as primary.
So I renamed it to abc2.com and renamed xyz.com to abc.com.
I updated the nameservers to.
It works now, but even though when I renamed it I changed the directory to a copy of the original abc.com the users are not showing.
My problem now is that when I created a new user it does not have the same username as before and I dont want to have to contact all the email users to change their usernames. its still uses the info it had for xyz.com as the username.
You said you renamed the two domains – how did you go about doing that?
If you didn’t do that from within Virtualmin, using “Server Configuration -> Move Virtual Server”, Virtualmin may be confused at the moment, not knowing those names have been changed.
-Eric
I have got the users back by dropping a backup for the domain over it,
I am moving the domain from another Vmin server so just did a current back up and did a restore.
My only problem now is that the emails side does not work.
When I try to download it gives me the following error.
An error occurred with the pop3 mail server. Mail Server mydomian.com responded.
Connected to mail.Mydomain.com (xx.xx.xxx.x).
Escape character is ‘^]’.
220 xxx.xxxx.net ESMTP Sendmail 8.13.8/8.13.8; Mon, 25 May 2009 13:12:30 -0400
It seems to me as if it connected as it does not say failed.
The error log keeps talking about a lame nameserver.
May 22 01:51:18 b06s14le named[8743]: lame server resolving ‘197.subnet192.222.62.64.in-addr.arpa’ (in ‘subnet192.222.62.64.in-addr.arpa’?): 38.99.80.114#53
May 22 01:51:18 b06s14le named[8743]: lame server resolving ‘197.subnet192.222.62.64.in-addr.arpa’ (in ‘subnet192.222.62.64.in-addr.arpa’?): 38.99.80.114#53
May 22 01:51:18 b06s14le named[8743]: lame server resolving ‘197.subnet192.222.62.64.in-addr.arpa’ (in ‘subnet192.222.62.64.in-addr.arpa’?): 38.99.115.141#53
May 22 01:58:43 b06s14le named[8743]: lame server resolving ‘ns2.saweb.biz’ (in ‘saweb.biz’?): 64.85.172.187#53
May 22 01:58:43 b06s14le named[8743]: lame server resolving ‘ns2.saweb.biz’ (in ‘saweb.biz’?): 64.85.163.5#53
May 22 04:02:03 b06s14le named[8743]: lame server resolving ‘213.165.94.211.in-addr.arpa’ (in ‘165.94.211.in-addr.arpa’?): 211.94.65.97#53
May 22 04:02:04 b06s14le named[8743]: lame server resolving ‘213.165.94.211.in-addr.arpa’ (in ‘165.94.211.in-addr.arpa’?): 211.94.65.97#53
May 22 04:02:04 b06s14le named[8743]: unexpected RCODE (SERVFAIL) resolving ‘dns.sh.cnuninet.net/A/IN’: 211.94.33.194#53
May 22 04:02:04 b06s14le named[8743]: unexpected RCODE (SERVFAIL) resolving ‘dns.sh.cnuninet.net/AAAA/IN’: 211.94.33.194#53
May 23 04:02:03 b06s14le named[8743]: lame server resolving ‘213.165.94.211.in-addr.arpa’ (in ‘165.94.211.in-addr.arpa’?): 211.94.65.97#53
May 23 04:02:04 b06s14le named[8743]: lame server resolving ‘213.165.94.211.in-addr.arpa’ (in ‘165.94.211.in-addr.arpa’?): 211.94.65.97#53
this does not mean much to me, well not yet at least.
I just got a rejected reply to an email I sent to it on my other email account here is the reply I got.
I have added a forward email to another address to the main account and I do get the forwarded email.
QUOTE
I’m sorry to have to inform you that your message could not
be delivered to one or more recipients. It’s attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<binnemanbou.hosting@b06s14le.localdomain> (expanded from
<Binnemanbou@saweb.biz>): cannot update mailbox
/var/mail/binnemanbou.hosting for user binnemanbou.hosting. cannot open
file: Permission denied
<shane.hosting@b06s14le.localdomain> (expanded from <shane@saweb.biz>): cannot
update mailbox /var/mail/shane.hosting for user shane.hosting. cannot open
file: Permission denied
UNQUOTE
I am also having a problem with another domain not showing up,
even though its settings are identical to that of a domain that works with just the domain names etc changed.
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
I got an email back with this in it.
The mail system
<shane.hosting@b06s14le.localdomain> (expanded from <shane@saweb.biz>): Command
died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d
$LOGNAME". Command output: sh: /usr/bin/procmail-wrapper: No such file or
directory
Well, I think you missed the part of my post where I mentioned:
And the above requires the procmail-wrapper package be installed.
Having that package will solve this particular problem
The thing to remember, though, is that you ought to take a really deep breath now, and prepare yourself for some work.
Virtualmin’s install.sh script configures an awful lot for you, so you’ll have to tune all of that manually.
You might want to take a peek at the portion of the installer that configures email to get an idea of what all you’ll want to tweak to get everything setup on your server:
What you’re missing ATM is the procmail-wrapper program, and to get that, you’ll need to either manually download it from the Virtualmin software repository, or setup a yum .repo file in /etc/yum.repo.d to automatically handle that for you so you can just run “yum install procmail-wrapper”.
Hopefully that gives you a push in the right direction
-Eric
extras: mirrors.cmich.edu
Setting up Install Process
Parsing package install arguments
Package procmail-3.22-17.1.el5.centos.i386 already installed and latest version
Nothing to do
do I still need to do the procmail-wrapper one seperately.
2nd Question.
Can I still run the install.sh on the system? If so how do I go about it.
Does not matter if it over writes things as long as the contents of the virtual domains are not lost.
I need to sort this out in the quickest way possible as my old server will expire soon.
do I still need to do the procmail-wrapper one seperately.
Of course. procmail is not the same as procmail-wrapper.
Can I still run the install.sh on the system? If so how do I go about it.
Does not matter if it over writes things as long as the contents of the virtual domains are not lost.
Yes, if you’re not in production yet, and can deal with it bungling some of your configuration, it should be fine. Can’t make it much worse if things are already a mess.
Just make sure you have good backups (I know you have good backups already, right?!).