Moving Mailboxes

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Aug 29 06:32:03 IST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul McEwan wrote:
> I'm not really sure if this is the right place to post this, so I apologize
> in advance.  Part of the problem is I'm not familiar enough with the inner
> workings of Linux.  Anyway ...
> 
> We are running out of space on /var/spool/mail, and I need to move
> individual mailboxes or all of them at some point to network storage.  I
> modified the .procmailrc file of a test user and can successfully receive
> email to the network device.  The problem is that it's still looking in
> /var/spool/mail for the mailbox.  I setup a symlink which worked for a bit,
> but then it got replaced with a BOGUS file.  What's the correct way to do
> this?

Stop the MTA. Move the whole tree around. Then set a symlink on the tree
itself. Not on the individual mailboxes. Restart the MTA once you are done.

Hugo.

- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIt4nRBvzDRVjxmYERAjU9AJ9lO2yZUsfgvkW+FypW4HeGanBAlgCcCTA9
MrqYw6edKMgO2PGsAZkhIUI=
=Wzqq
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list