Hi Jake...

Here is the details of the file/directory permissions for the new domain  I created and which is working properly:

drwx------   4 vpopmail vchkpw 4096 Apr 28 14:23 .
drwx------  40 vpopmail vchkpw 4096 Apr 28 14:22 ..
drwx------   3 vpopmail vchkpw 4096 Apr 28 14:22 postmaster
-rw-------   1 vpopmail vchkpw  111 Apr 28 14:22 .qmailadmin-limits
-rw-------   1 vpopmail vchkpw   55 Apr 28 14:22 .qmail-default
drwx------   3 vpopmail vchkpw 4096 Apr 28 15:07 sb


When I said that I changed the vpopmail database password, I actually meant the one which is set using the command:

   echo "GRANT ALL PRIVILEGES ON vpopmail.* TO [EMAIL PROTECTED] IDENTIFIED BY 'SsEeCcRrEeTt'" | mysql -u root –p

and then the same password is added  to the  '/home/vpopmail/etc/vpopmail.mysql' file.

Initially while setting up QMT on the new server I had set some new password for this and then later on when I reset the password adding the same one that I had in my old server.

Regards,
Supriyo

Jake Vickers wrote:
Supriyo Banerjee wrote:

Hi list,

 

While trying to migrate users from my old Qmailtoaster server (containing around 10 domains) which was running on Redhat Liinux 9.0, to a new server running Centos 4.3, and the latest Qmail Toaster packages, I have run into some problems as described below:

 

I used Jake’s backup script to take the backup from my old server, on which the UID:GID of vpopmail was 7797:7797. Then I did a manual install of QMT on my new server which was successful. Then I transferred the ‘curlfile’ containing the backup of the old server to the new server’s root directory. Then from the home directory of my user account, as ‘root’ user, I executed the restore script (again from Jake’s site). I must mention here that in Jake’s restore script, I had enabled the line that converted the old aliases to the new format.

 

I must also mention here that the mysql root password in my old server and the new server are not same. I guess there is no harm as such!? Likewise, initially, the vpopmail da

The ‘/var/log/qmail/imap4/current’ log showed:

 

2006-04-28 15:01:38.022432500 tcpserver: status: 1/40

2006-04-28 15:01:38.022644500 tcpserver: pid 6567 from 127.0.0.1

2006-04-28 15:01:38.022670500 tcpserver: ok 6567 mail2.jdvu.ac.in:127.0.0.1:143 :127.0.0.1::32833

2006-04-28 15:01:38.023586500 DEBUG: Connection, ip=[127.0.0.1]

2006-04-28 15:01:38.037758500 chdir "/home/vpopmail/domains/systems.jdvu.ac.in/supriyo": Permission denied

2006-04-28 15:01:38.038321500 tcpserver: end 6567 status 256

2006-04-28 15:01:38.038323500 tcpserver: status: 0/40

 

Doing a ‘ls –al’ in ‘/home/vpopmail/domains/systems.jdvu.ac.in’ directory shows the following:

 

      drwx------   7 vpopmail vchkpw 4096 Apr 28 13:20 .

drwx------  40 vpopmail vchkpw 4096 Apr 28 14:22 ..

      drwx------   3 vpopmail vchkpw 4096 Apr 25 17:44 postmaster

      drwx------   3 vpopmail vchkpw 4096 Apr 25 17:43 supriyo

 

It may be of interest that when I added a new domain and new user to my new QMT server, I was able to use/access both QMAILADMIN and webmail for the new domain/user without any problem.

Those permissions look right. When you create a domain, are there any differences with permissions between the two? Since you changed the vpopmail database password, did you also change the user?

Reply via email to