Hi,
Currently using dovecot 2.3.2.1 and pigeonhole 0.5.2 on two identical
hosts. I recently noticed ".dovecot.sieve" and
".sieve/managesieve.sieve" are not replicating from one host to the
other in either direction. Mail is having no trouble replicating on both
hosts with dsync, it is only sieve files that are not replicating for
unclear reasons.
# doveconf -n
host 1: https://ptpb.pw/njs3
host 2: https://ptpb.pw/KsfK
If I enable sieve debug logs I don't see anything that would cause
alarm. The error logs are also not reporting any trouble. I have tested
creating filters in Roundcube which is hosted from host1. This creates
the sieve files as expected, but the same sieve files do not replicate
to host2. When using Sieve with Thunderbird if the sieve files are
created on host1 or host2, these are not replicating with dsync. So it
does not seem to matter if the sieve files are created on either host
and with any mail client, they just do not replicate at all.
# host1
stat /home/vmail/example.email/user\@example.email/.dovecot.sieve
File: /home/vmail/example.email/user@example.email/.dovecot.sieve ->
.sieve/managesieve.sieve
Size: 24 Blocks: 0 IO Block: 4096 symbolic link
Device: 800h/2048d Inode: 596605 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 5000/ vmail) Gid: ( 5000/ vmail)
Access: 2018-08-05 15:24:41.351827516 -0700
Modify: 2018-08-05 15:24:41.351827516 -0700
Change: 2018-08-05 15:24:41.351827516 -0700
Birth: -
stat
/home/vmail/example.email/user\@example.email/.sieve/managesieve.sieve
File:
/home/vmail/example.email/user@example.email/.sieve/managesieve.sieve
Size: 65 Blocks: 8 IO Block: 4096 regular file
Device: 800h/2048d Inode: 1657978 Links: 1
Access: (0600/-rw-------) Uid: ( 5000/ vmail) Gid: ( 5000/ vmail)
Access: 2018-08-05 15:27:30.034984088 -0700
Modify: 2018-08-05 15:27:30.034984088 -0700
Change: 2018-08-05 15:27:30.034984088 -0700
Birth: -
# host2
stat /home/vmail/example.email/user\@example.email/.dovecot.sieve
File: /home/vmail/example.email/user@example.email/.dovecot.sieve ->
.sieve/managesieve.sieve
Size: 24 Blocks: 0 IO Block: 4096 symbolic link
Device: fe03h/65027d Inode: 787482 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 5000/ vmail) Gid: ( 5000/ vmail)
Access: 2018-08-05 16:10:54.832151815 -0700
Modify: 2018-08-05 16:10:54.815484905 -0700
Change: 2018-08-05 16:10:54.815484905 -0700
Birth: -
stat
/home/vmail/example.email/user\@example.email/.sieve/managesieve.sieve
File:
/home/vmail/example.email/user@example.email/.sieve/managesieve.sieve
Size: 18 Blocks: 8 IO Block: 4096 regular file
Device: fe03h/65027d Inode: 786938 Links: 1
Access: (0600/-rw-------) Uid: ( 5000/ vmail) Gid: ( 5000/ vmail)
Access: 2018-08-05 16:10:54.815484905 -0700
Modify: 2018-08-05 16:10:49.818745528 -0700
Change: 2018-08-05 16:10:49.822078910 -0700
Birth: -
Here is the Maildir tree view.
tree -a /home/vmail/example.email/user\@example.email/
/home/vmail/example.email/user@example.email/
├── .dovecot.sieve -> .sieve/managesieve.sieve
├── Maildir
│ ├── .Archive
│ │ ├── cur
│ │ ├── dovecot.index.log
│ │ ├── dovecot-uidlist
│ │ ├── maildirfolder
│ │ ├── new
│ │ └── tmp
│ ├── cur
│ │ ├── 1531611877.M860311P418538.mail,S=5999,W=6167:2,RS
│ │ ├── 1531624146.M201381P535494.mail,S=2133,W=2184:2,S
│ │ ├── 1533194577.M483202P864896.mail,S=6117,W=6393:2,S
│ │ └── 1533195582.M123163P877084.mail,S=1739,W=1786:2,S
│ ├── dovecot.index
│ ├── dovecot.index.cache
│ ├── dovecot.index.log
│ ├── dovecot-keywords
│ ├── dovecot.list.index
│ ├── dovecot.list.index.log
│ ├── dovecot.mailbox.log
│ ├── dovecot-uidlist
│ ├── dovecot-uidvalidity
│ ├── dovecot-uidvalidity.5b4a79b5
│ ├── .Drafts
│ │ ├── cur
│ │ ├── dovecot.index.log
│ │ ├── dovecot-uidlist
│ │ ├── maildirfolder
│ │ ├── new
│ │ └── tmp
│ ├── maildirsize
│ ├── new
│ ├── .Sent
│ │ ├── cur
│ │ │ ├── 1531611855.M403833P418688.mail,S=3510,W=3623:2,S
│ │ │ └── 1531624037.M238133P535494.mail,S=436,W=451:2,S
│ │ ├── dovecot.index.cache
│ │ ├── dovecot.index.log
│ │ ├── dovecot-uidlist
│ │ ├── maildirfolder
│ │ ├── new
│ │ └── tmp
│ ├── .Sent Messages
│ │ ├── cur
│ │ ├── dovecot.index.log
│ │ ├── dovecot-uidlist
│ │ ├── maildirfolder
│ │ ├── new
│ │ └── tmp
│ ├── .Spam
│ │ ├── cur
│ │ ├── dovecot.index.cache
│ │ ├── dovecot.index.log
│ │ ├── dovecot-uidlist
│ │ ├── maildirfolder
│ │ ├── new
│ │ └── tmp
│ ├── subscriptions
│ ├── tmp
│ └── .Trash
│ ├── cur
│ ├── dovecot.index.cache
│ ├── dovecot.index.log
│ ├── dovecot-uidlist
│ ├── maildirfolder
│ ├── new
│ └── tmp
└── .sieve
├── managesieve.sieve
└── tmp
30 directories, 41 files
I know at one point sieve files must have been replicating with dsync,
it's just not clear to me at which version of dovecot and pigeonhole
this began with the exception of mail files which are replicating.
Cheers,
Tony