OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Relocate queue directory

From: Brandon Hilkert (bhilkertvt.edu)
Date: Tue Mar 17 2009 - 08:00:46 CDT


Thanks for the link. I followed those steps and it worked. I wasn't stopping
postfix before I copied the existing queue.

Everything works now.

Thanks again.

----- Original Message -----
From: "Sahil Tandon" <sahiltandon.net>
To: <postfix-userspostfix.org>
Sent: Monday, March 16, 2009 11:46 PM
Subject: Re: Relocate queue directory

> On Mon, 16 Mar 2009, Brandon Hilkert wrote:
>
>> I'm looking to move the postfix directory from /var/spool/postfix to
>> another array. When I specify the setting in main.cf as:
>>
>> queue_directory = /opt/postfix
>
> Did you stop Postfix before making this change to main.cf? In your
> follow-up, include the output of 'postconf -n'.
>
>> I reload and postfix will no longer send mail. All the subfolders are
>> created underneath the /opt/postfix directory with the proper permissions
>> and ownership, but it's not actively working.
>
> This is an insufficient problem description; please show relevant logs.
>
>> After relocating, I tried:
>>
>> /etc/postfix/post-install create-missing
>>
>> but still didn't work. I got a public/maildrop missing or something.
>
> "or something"? Logs.
>
>> It seems there should be an easy way to do this. So what is the easiest
>> way to relocate the queue directory?
>
> http://article.gmane.org/gmane.mail.postfix.user/189169
>
> --
> Sahil Tandon <sahiltandon.net>