Bob Tito wrote:
Hi,

For now cyrus-imapd-2.2.3 is the last version where sieve fileinto worked ;-(

I have tried 2.2.4 and 2.2.5, both from the FreeBSD ports. I a NOT claiming the problem is in the source, it could also be a problem with the port, but i need some help putting my finger on it.. The portmaintainer did not have other complaints.

using unixhierarchysep and altnamespace together.
perl 5.8.2 also from the ports.

The error is that the folder used with fileinto is not found, but when i switch back to 2.2.3 (no change in the configfiles) it works again.

i also tried to change the foldername into INBOX.foldername and INBOX/foldername .. i *think* it might have something to do with altnamespace and/or unixhierarchysep, but .. i cannot tell for sure.

Reply IS working on the other hand..

from the log :May 29 13:37:21 cyrus lmtp[56099]: accepted connection
May 29 13:37:21 cyrus master[56132]: about to exec /usr/local/cyrus/bin/lmtpd
May 29 13:37:21 cyrus lmtp[56132]: executed
May 29 13:37:21 cyrus lmtp[56099]: connection from localhost.btito.local [127.0.0.1]
May 29 13:37:21 cyrus lmtp[56099]: login: localhost.btito.local [127.0.0.1] cyrus PLAIN User logged in
May 29 13:37:21 cyrus lmtp[56099]: sieve runtime error for info^magicfingers^org id <[EMAIL PROTECTED]
.demon.nl>: Fileinto: Invalid mailbox name
May 29 13:37:21 cyrus lmtp[56099]: duplicate_check: <[EMAIL PROTECTED]> user.info^magicfinger
s^org 0
May 29 13:37:21 cyrus lmtp[56099]: mystore: starting txn 2147483657
May 29 13:37:21 cyrus lmtp[56099]: mystore: committing txn 2147483657
May 29 13:37:21 cyrus lmtp[56099]: duplicate_mark: <[EMAIL PROTECTED]> user.info^magicfingers
^org 1085830641 9219


corresponding sieve line for this snipplet:

elsif allof (address :contains ["Cc","CC","To","TO"] "virusalert") {
     fileinto "Virusalert";
}


It is not possible for me to switch off unixhierarchsep / altnamespace because this is a production box..


Any advice where to go from here ?

Apply this patch (check for line wraps due to the email client) and report back the line that is logged.



*** lmtp_sieve.c.~1.7.~ 2004-05-26 10:59:07.000000000 -0400 --- lmtp_sieve.c 2004-05-29 13:00:13.000000000 -0400 *************** *** 437,442 **** --- 437,444 ---- ret = (*mdata->namespace->mboxname_tointernal)(mdata->namespace, fc->mailbox, sd->username, namebuf); + syslog(LOG_INFO, "fileinto %s (%s) for user %s", + fc->mailbox, namebuf, sd->username); if (!ret) { ret = deliver_mailbox(md->data, mdata->stage, md->size, fc->imapflags->flag, fc->imapflags->nflags,

--
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to