On Sun, Nov 14, 2010 at 01:26:58PM +0100, Stefan Foerster wrote: > Due to hardware problems, I had to move our "graveyard mailout" to > another server. So I copied the relevant configuration files and then > moved the mailqueue to the new server using rsync. After that, I > executed > > postmulti -i postfix-gy -x postsuper -s > > I expected a change of queue IDs, but this didn't happen, not even > for a single mail. The filesystem is a standard ext3, both servers are > running CentOS 5.5 x86_64 and Postfix 2.7.1. The output of > > postmulti -i postfix-gy -x postconf -n
Where are the restored queue files? > config_directory = /etc/postfix-gy > data_directory = /var/lib/postfix-gy > queue_directory = /var/spool/postfix-gy They should be in /var/spool/postfix-gy/deferred/ and the defer logs should be in /var/spool/postfix-gy/defer/ > Questions: > > 1. Did I execute "postsuper -s" the right way? Yes. > 2. I was verifiyng queue IDs remained unchanged by comparing the > output of > > postmulti -i postfix-gy -x postqueue -p > > befor and after the call to "postsuper -s". Is that methodology > flawed? No. You need to make sure that file ownership and permissions are compatible, between the source and destination. Also run "postsuper" *before* starting Postfix. Starting Postfix does "postsuper -s" for you. -- Viktor.