Here's a snippet from the message I sent to the imgate list quite a while
ago (before I rebuilt the imgate machines...)
<snip>
Arghh! I ran out of spool space for the mail queue today and was unable to
accept large email messages. I needed to solve this fast. I don't know if
this is the best way to do things, but it worked and I've been running
without problems ever since.
The goal was to change the queue spool directory from /var/spool/postfix to
a file
system with more room (i.e. /usr/spool/postfix)?
I definitely don't claim to be unix literate but here's how I did it...
perhaps somebody could comment and explain a few things like: why the chown
steps are needed or why some errors scroll up the screen when doing the
copy.
Note: A 'postfix check' griped about the permissions until I set them to
match how they were on /var/spool/postfix
Here we go...
First, su to root
$ su
Stop postfix
bsd1# postfix stop
Create new directory structure
bsd1# mkdir /usr/spool
Copy all files to new location - some errors scroll by (but everything seems
to work)
bsd1# cp -R /var/spool/postfix /usr/spool
Correct permissions on files below new spool directory
bsd1# chown -R postfix /usr/spool/postfix
Correct permissions on the spool directory
bsd1# chown root /usr/spool/postfix
Change the postfix config file to use the new queue directory
bsd1# ee /etc/postfix/main.cf
NOTE: Change the following entry and save the file:
queue_directory = /usr/spool/postfix
Have postfix do a quick check of your set up - it'll report any errors it
finds
bsd1# postfix check
Restart postfix
bsd1# postfix start
If everything works the way it should, you can delete the old spool files
bsd1# rm -rf /var/spool /postfix
That's it.
</snip>
----- Original Message -----
From: "Todd Carew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 9:05 AM
Subject: [IMail Forum] IMgate
> Though I would post this to this list ... you can email be back off list
if
> you wish
>
> I am running IMGate in front of my Imail server. IMGate is running great
> and does everything Len said it would do and more. However, I screwed the
> pooch when I was setting up the BSD box and only made the partition that
> held the spool be 19 megs. I was wondering if anyone has had success
> pointing the spool to a different partition with out any problems, or
> somehow resizing the partition without loosing data from either of the
> partitions it would affect. If so could you send me steps to do it and
> files effected by it
>
> Thanks again
> Todd
> [EMAIL PROTECTED]
> 1 800 844 8185 ext 18
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/