Sieve, a problem with if/elsif/else

2015-08-31 Thread Sergey
Hello. I have a strange problem. I use a filter if address :contains ["To"] ["bounceerror@"] { ifaddress :contains ["From"] ["MAILER-DAEMON@srv1.domain"] { fileinto "INBOX/BounceError/srv1"; } elsif address :contains ["From"] ["MAILER-DAEMON@srv2.domain"] { fileinto "INBO

Re: Sieve, a problem with if/elsif/else

2015-08-31 Thread Eric Luyten
On Mon, August 31, 2015 9:22 am, Sergey wrote: > Hello. > > > I have a strange problem. I use a filter > > > if address :contains ["To"] ["bounceerror@"] { ifaddress :contains > ["From"] ["MAILER-DAEMON@srv1.domain"] { > fileinto "INBOX/BounceError/srv1"; } > elsif address :contains ["From"] ["

Re: Sieve, a problem with if/elsif/else

2015-08-31 Thread Sergey
On Monday 31 August 2015, Eric Luyten wrote: > > else { fileinto "INBOX/BounceError"; } > > } > > Why "else fileinto" doesn't work ? Discovered in 2.4.17, > > reproduced in 2.4.18. > Did you define "INBOX/BounceError" as a mailbox ? > This is not implied by the fact that it is a hierarchy. > Som