[Dovecot] Adding new storage
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Wed Feb 11 17:30:29 EET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 11 Feb 2009, Romer Ventura wrote:
> So all the mail gets stored at /home/vmail/%Ud/%Ln/Maildir/ so if i add a
> new volume to the VM lets say /dev/disk3 and mount it to /srv/vmail and then
> change the user_attrs =
> sAMAccountName=mail=maildir:/home/vmail/%Ud/%Ln/Maildir/ to user_attrs =
> sAMAccountName=mail=maildir:/srv/vmail/%Ud/%Ln/Maildir/ would it work with no
> problem..?
Yep, make sure, too, that /srv and /srv/vmail have at least x-permission
for the UIDs you store/access the mails with.
> I would also need to move all the mailboxes already in the old
> location...
Yep. Keep the permissions with the copy.
For convenience, I'd keep a symlink /home/vmail pointing to /srv/vmail .
Bye,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSZLvF3WSIuGy1ktrAQI6FQf/fc+upeJwavaT8eCRre0z8hZj6eekROrM
F0F3eraY0smPuGsL6Gu+WReqcImFdlIrHvL+Kvz5kFLxBCWJoS+xiWHrSc/5KOmU
w3F2+30A0RrvzQOqFbz/MYRjaQqGKkAAFvgtzDXbltEvd0W61sjJp1rHdIUbndB8
0C2vmsBZbZ5TUUStKqY3PYG3dIsn2QTJwlxoDmoXzmdndH7W51KO+ryvVIoQM79m
6/1dtWTVHUombqu10L2u0o0oG173jht1+NqHHEVBAGmgHNFXNgLWubwOB9PlmG5T
7O1bUtCdGl5vln76ILsBX+Me4x8412RXhJjvMNICVP+NZFEM52yFDw==
=ZDcO
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list