Discussion:
SIEVE not workin in 3.0.5
Sebastian Hagedorn
2018-03-22 11:54:00 UTC
Permalink
The same issue was discussed in this thread:

<https://lists.andrew.cmu.edu/pipermail/info-cyrus/2018-March/040014.html>

There was no resolution, AFAICT. I'd suggest opening an issue on GitHub:

<https://github.com/cyrusimap/cyrus-imapd/issues>

--On 22. MÀrz 2018 um 12:47:48 +0100 Niels Dettenbach via Info-cyrus
Or id i hit a bug in the cyrus internal "path translation" (i.e.
conversion between "." and "^" here? Or any internal caching regading
this?
many thanks for your time and any kind of help,
--
.:.Sebastian Hagedorn - Weyertal 121 (GebÀude 133), Zimmer 2.02.:.
.:.Regionales Rechenzentrum (RRZK).:.
.:.UniversitÀt zu Köln / Cologne University - ✆ +49-221-470-89578.:.
Ken Murchison
2018-03-22 12:19:37 UTC
Permalink
This was fixed with
https://github.com/cyrusimap/cyrus-imapd/commit/73af8e19546f235f6286cc9147a3ea74bde19ebb#diff-020bdafc26d65dd6a68af1d78b11a456

This fix will be in 3.0.6.
Dear all,
on a fresh installed cyrus 3.0.5 under Linux i can't get SIEVE reacting to anything (in LMTP). It seems lmtpd avoid calling sieve/timsieve because it did not "find" any "defaultbc" script (which is there).
--- schnipp ---
0.000019 stat("/var/imap/mailboxes.db", {st_mode=S_IFREG|0640, st_size=25920, ...}) = 0
0.000026 fcntl(5, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
0.000030 readlink("/var/imap/sieve/n/niels^xxxxx^info/defaultbc", 0x7ffc30148f70, 4096) = -1 ENOENT (No such file or directory)
0.000025 stat("/var/imap/sieve/n/niels^xxxxx^info/defaultbc", 0x7ffc30149f30) = -1 ENOENT (No such file or directory)
0.000029 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 13
0.000024 fstat(13, {st_mode=S_IFREG|0644, st_size=1380, ...}) = 0
0.000020 read(13, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1380
0.000030 read(13, "", 4096) = 0
0.000019 close(13) = 0
0.000022 open("/etc/group", O_RDONLY|O_CLOEXEC) = 13
0.000022 lseek(13, 0, SEEK_CUR) = 0
0.000018 fstat(13, {st_mode=S_IFREG|0644, st_size=616, ...}) = 0
0.000021 read(13, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 616
0.000021 lseek(13, 0, SEEK_CUR) = 616
0.000018 lseek(13, 0, SEEK_CUR) = 616
0.000018 lseek(13, 0, SEEK_CUR) = 616
--- schnapp ---
0.000030 readlink("/var/imap/sieve/n/niels^xxxxx^info/defaultbc", 0x7ffc30148f70, 4096) = -1 ENOENT (No such file or directory)
0.000025 stat("/var/imap/sieve/n/niels^xxx^info/defaultbc", 0x7ffc30149f30) = -1 ENOENT (No such file or directory)
ls -alh /var/imap/sieve/n/niels^xxxxx^info/defaultbc
ls: Zugriff auf '/var/imap/sieve/n/niels^xxxxx^info/defaultbc' not found
ls -alh /var/imap/sieve/n/niels.xxxxx.info/defaultbc
lrwxrwxrwx 1 cyrus mail 6 22. MÀr 12:04 /var/imap/sieve/n/niels.xxxxx.info/defaultbc -> neu.bc
openat(AT_FDCWD, "/var/spool/imap/n/user/niels^xxxxx^info/cyrus.index", O_RDONLY) = 13
some settings from imapd.conf
--- schnipp ---
configdirectory: /var/imap
duplicate_db_path: /run/cyrus/deliver.db
ptscache_db_path: /run/cyrus/ptscache.db
statuscache_db_path: /run/cyrus/statuscache.db
tls_sessions_db_path: /run/cyrus/tls_sessions.db
defaultpartition: default
partition-default: /var/spool/imap
sievedir: /var/imap/sieve
sievenotifier: notifyd
sieveusehomedir: 0
sieve_maxscriptsize: 256
sieve_maxscripts: 64
lmtpsocket: /var/imap/socket/lmtp
idlesocket: /var/imap/socket/idle
notifysocket: /var/imap/socket/notify
hashimapspool: yes
virtdomains: yes
unixhierarchysep: yes
lmtp_downcase_rcpt: yes
idlemethod: idled
lmtp_admins: mail cyrus exim
imap_admins: cyrus
sieve_admins: cyrus
altnamespace: yes
umask: 027
--- schnapp ---
any ideas / solutins / hints?
Or id i hit a bug in the cyrus internal "path translation" (i.e. conversion between "." and "^" here? Or any internal caching regading this?
many thanks for your time and any kind of help,
Niels.
--
Ken Murchison
Cyrus Development Team
FastMail US LLC
Loading...