[Dovecot] 2.0rc3: Panic: [...] mailbox_list_is_valid_pattern (was: Crash while accessing mdbox folders)

Timo Sirainen tss at iki.fi
Tue Aug 3 15:21:34 EEST 2010


On Tue, 2010-08-03 at 13:16 +0200, Axel Thimm wrote:
> Due to copy and paste I had some rules like
> 
> } elsif header :matches "List-Owner" "<mailto:*-owner@*>" {
>   fileinto :create "${folder}/${3}/${2}";
>   addflag "DeliveredTo" "$${dflag}";
> } [...]
> 
> The bad rules only triggered on very few mailing lists (those that
> don't use proper List-*: headers), so I only noticed a couple of days
> later. IIRC two of the lists were bugzilla and scientific-linux.
> 
> E.g. the fileinto was probably given some argument of "lists//somedomain.org"
> 
> Does this information help?

I still can't reproduce it:

require ["fileinto", "variables", "mailbox"];

if header :matches "Subject" "*" { 
  fileinto :create "foo/${2}/${1}";
} 

printf "Subject: somedomain.org\n"|./dovecot-lda

gives:

Aug 03 13:19:05 lda(10194 tss): Info: sieve: msgid=unspecified: subject=somedomain.org: store into mailbox 'foo//somedomain/org' aborted
Aug 03 13:19:05 lda(10194 tss): Info: sieve: msgid=unspecified: subject=somedomain.org: stored mail into mailbox 'INBOX'
Aug 03 13:19:05 lda(10194 tss): Error: sieve: execution of script /home/tss/.dovecot.sieve failed, but implicit keep was successful

Although it is missing the "invalid mailbox name" error, which I think is a bug.



More information about the dovecot mailing list