What is the best way to do a (server-side) backup of all mail in a
user's mail?
I don't think I'm doing anything weird as far as configs go; here's
dovecot -n if it helps:
# 1.1.4: /etc/dovecot/dovecot.conf
protocols: imaps
listen: *, [::]
ssl_cert_file: /etc/ssl/dovecot/cert.pem
ssl_key_file: /etc/ssl/dovecot/key.pem
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:~/.maildir
auth default:
mechanisms: plain login
passdb:
driver: pam
args: *
userdb:
driver: passwd
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
on 10-29-2008 12:25 PM Neil spake the following:> What is the best way to do a (server-side) backup of all mail in a > user's mail? > > I don't think I'm doing anything weird as far as configs go; here's > dovecot -n if it helps: > > # 1.1.4: /etc/dovecot/dovecot.conf > protocols: imaps > listen: *, [::] > ssl_cert_file: /etc/ssl/dovecot/cert.pem > ssl_key_file: /etc/ssl/dovecot/key.pem > login_dir: /var/run/dovecot/login > login_executable: /usr/libexec/dovecot/imap-login > mail_location: maildir:~/.maildir > auth default: > mechanisms: plain login > passdb: > driver: pam > args: * > userdb: > driver: passwd > socket: > type: listen > client: > path: /var/spool/postfix/private/auth > mode: 432 > user: postfix > group: postfix > >I usually just rsync the /home directories to another server. The inital sync can take a while, but it gets faster after there is a base to work from. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20081029/b0a4409b/attachment-0002.bin>
On Oct 29, 2008, at 3:42 PM, Scott Silva wrote:>> What is the best way to do a (server-side) backup of all mail in a >> user's mail? >> > I usually just rsync the /home directories to another server. The > inital sync > can take a while, but it gets faster after there is a base to work > from....and it's much less painful if you're using maildir instead of mbox! -Dave -- Dave McGuire Port Charlotte, FL
Proskurin Kirill schrieb:> Hello all. > > I read al this tread and still wondering - what FS best to use to > manage up to 1,5Tb of maildir spool and make a near to real time back up of it? > > Firstly i plan to make it all on FreeBSD with UFS2 and use rsync, but > I never rsync such much of space and files. > > If using solaris best is ZFS - but i don`t have any experience on this > OS. > > What Linux can provide for this task? >Hi, i use maildir format, its no problem to backup big maildirs with rsync, at backup i see no "real" relation with with filessystem until you use a modern one ( i.e. ext3... ), perhaps you might use nfs or gfs for redundancy solutions after all this type of backing up ( tar , rsync, i.e by cron ) is only a snapshot ( maybe ok on your side ), but i.e you may use always_bcc i.e with postfix or imapsync etc choosing zfs maybe is the right choice anyway i ve read much good about it, but i dont see what it might helpfull at backup -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria