On Oct 25, 2008, at 3:17 PM, Wietse Venema wrote:

Robert Goodyear:
Postfix refuses to restart when I attempt to relocate the
queue_directory. I have copied the entire directory structure to the
new location and I have also tried to do so with an empty target
directory.

Here's the command I used to move the queue (which is empty and clear):
cp -a /var/spool/postfix/* /tmpfs/postfix/

Here's the error:
postfix/postfix-script: fatal: the Postfix mail system is not running

Here's the directive I put into main.cf:
queue_directory=/tmpfs/postfix

Has anyone experienced this? The permissions on the target directory
match those of the default queue directory.

At the risk of stating the obvious:

1) Stop Postfix

2) Update the queue_directory in main.cf

4) Optionally, copy the old queue to a new place WHILE PRESERVING
PERMISSIONS AND OWNERSHIP. Use tar or rsync.

4) Start Postfix

        Wietse

There was a process running that was preventing cleanliness, so once I KILLed it manually, all worked out well!

Thanks!

-Rob.

Reply via email to