Hi,
I am looking for a way to sync only selected files/mailbox'es using
dsync.
Am I using the dsync -m option incorectly?
It looks like it's being ignored.
And as for the main INBOX (/var/mail/username) what should be the
parameter for -m?
dovecot --version
2.1.7
dsync -u pj -D -v -m Alerts -o mail_location=mdbox:/home/pj/mdbox
backup mbox:/home/pj/:INBOX=/var/mail/pj
doveadm(root): Debug: Loading modules from directory:
/usr/lib/dovecot/modules
doveadm(root): Debug: Module loaded:
/usr/lib/dovecot/modules/lib10_quota_plugin.so
doveadm(root): Debug: Loading modules from directory:
/usr/lib/dovecot/modules/doveadm
doveadm(root): Debug: Skipping module doveadm_acl_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined
symbol: acl_user_module (this is usually intentional, so just ignore
this message)
doveadm(root): Debug: Skipping module doveadm_expire_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so:
undefined symbol: expire_set_lookup (this is usually intentional, so
just ignore this message)
doveadm(root): Debug: Module loaded:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so
doveadm(root): Debug: Skipping module doveadm_zlib_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_zlib_plugin.so: undefined
symbol: i_stream_create_deflate (this is usually intentional, so just
ignore this message)
doveadm(root): Debug: Skipping module doveadm_fts_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined
symbol: fts_list_backend (this is usually intentional, so just ignore
this message)
doveadm(pj): Debug: Effective uid=3195, gid=3195, home=/home/pj
doveadm(pj): Debug: Quota root: name=INBOX backend=fs
args=mount=/var/:user
doveadm(pj): Debug: Quota root: name=Katalog_domowy backend=fs
args=mount=/home/:user
doveadm(pj): Debug: Namespace inbox: type=private, prefix=, sep=,
inbox=yes, hidden=no, list=yes, subscriptions=yes
location=mdbox:/home/pj/mdbox
doveadm(pj): Debug: fs: root=/home/pj/mdbox, index=, control=, inbox=,
altdoveadm(pj): Debug: fs quota add mailbox dir = /var/
doveadm(pj): Debug: fs quota block device = /dev/cciss/c0d0p4
doveadm(pj): Debug: fs quota mount point = /var
doveadm(pj): Debug: fs quota mount type = ext4
doveadm(pj): Debug: fs quota add mailbox dir = /home/
doveadm(pj): Debug: fs quota block device = /dev/cciss/c0d1p1
doveadm(pj): Debug: fs quota mount point = /home
doveadm(pj): Debug: fs quota mount type = ext4
doveadm(pj): Debug: Namespace : Using permissions from /home/pj/mdbox:
mode=0700 gid=-1
dsync(pj): Debug: Effective uid=3195, gid=3195, home=/home/pj
dsync(pj): Debug: Quota root: name=INBOX backend=fs
args=mount=/var/:user
dsync(pj): Debug: Quota root: name=Katalog_domowy backend=fs
args=mount=/home/:user
dsync(pj): Debug: Namespace inbox: type=private, prefix=, sep=,
inbox=yes, hidden=no, list=yes, subscriptions=yes
location=mbox:/home/pj/:INBOX=/var/mail/pj
dsync(pj): Debug: fs: root=/home/pj, index=, control=,
inbox=/var/mail/pj, altdsync(pj): Debug: fs quota add mailbox dir = /var/
dsync(pj): Debug: fs quota block device = /dev/cciss/c0d0p4
dsync(pj): Debug: fs quota mount point = /var
dsync(pj): Debug: fs quota mount type = ext4
dsync(pj): Debug: fs quota add mailbox dir = /home/
dsync(pj): Debug: fs quota block device = /dev/cciss/c0d1p1
dsync(pj): Debug: fs quota mount point = /home
dsync(pj): Debug: fs quota mount type = ext4
dsync(pj): Debug: Namespace : Using permissions from /home/pj:
mode=0700 gid=-1
dsync(pj): Error: Failed to sync mailbox www/IMG_20121119_184255.jpg:
Mailbox isn't a valid mbox file
dsync(pj): Error: Failed to sync mailbox www/rtranalizer.exe: Mailbox
isn't a valid mbox file
dsync(pj): Error: Failed to sync mailbox www/raport_nsm.rar: Mailbox
isn't a valid mbox file
....
--
Piotr Janusz