Re: sieve autocreate
On Mon, 2007-01-15 at 16:58 +0100, Paul Dekkers wrote: > P.S. I think it's the variable extension in sieve that could provide > this, if not for the fact that "setdate" has been removed from the > specification (which I think would be what I'm looking for) and that the > variable extension is not supported with Cyrus... yes, that's correct. with "variables" as it ended up (it has been approved for publication, so the specification is fixed), you'll need to make a match on the Date header, or use the date extension. http://www.ietf.org/internet-drafts/draft-ietf-sieve-variables-08.txt http://tools.ietf.org/wg/sieve/draft-freed-sieve-date-index-03.txt -- Kjetil T. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieve autocreate
Hello, Perhaps this patch may be useful for you. http://email.uoa.gr/projects/cyrus/autosievefolder/ thanks! Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieve autocreate
Hi, Aristotelis wrote: > Paul Dekkers wrote: > > Hello, > > > (I never used it though. I was considering it, but for us I think it > > would only make sense if you could use variables in the folder-names or > > so (like the month/year)) > > Could you please elaborate a bit more on the features that you think > are missing from autosieve patch? It might be someth > ing that we haven't looked into, since we didn't need this feature in > the first place, but it might be something quite usef > ul. I don't think it's something I'm missing in the autosieve patch, but a feature I'm missing in sieve itself. (But maybe I've overlooked it in a spec.) The use I had in mind was to autocreate (archive-)folders with dates in it, like a fileinto "INBOX.archive-${year}"; (I hope that example explains it ;-)) but then there has to be something in sieve that decides what folder to create of course, e.g. something that puts a year (or something else) in a variable. And *then* the autocreate patch could be very useful for us, since the folder to create does then contain a variable ;-) There are not a lot of other cases where folders need to be auto-created in our setup. (Or it's automated in a different way.) Regards, Paul P.S. I think it's the variable extension in sieve that could provide this, if not for the fact that "setdate" has been removed from the specification (which I think would be what I'm looking for) and that the variable extension is not supported with Cyrus... Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieve autocreate
Paul Dekkers wrote: Hello, > (I never used it though. I was considering it, but for us I think it > would only make sense if you could use variables in the folder-names or > so (like the month/year)) Could you please elaborate a bit more on the features that you think are missing from autosieve patch? It might be someth ing that we haven't looked into, since we didn't need this feature in the first place, but it might be something quite usef ul. Best regards, AristotelisPaul Dekkers wrote: Hello, > (I never used it though. I was considering it, but for us I think it > would only make sense if you could use variables in the folder-names or > so (like the month/year)) Could you please elaborate a bit more on the features that you think are missing from autosieve patch? It might be someth ing that we haven't looked into, since we didn't need this feature in the first place, but it might be something quite usef ul. Best regards, Aristotelis Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieve autocreate
Perhaps this patch may be useful for you. http://email.uoa.gr/projects/cyrus/autosievefolder/ Cheers, Christos Marten Lehmann wrote: > Hello, > > does sieve include any form of autocreating a "fileinto"-folder? > > I know that there's an option in Cyrus, but that doesn't help me in this > case. Each user shall be able to define a name for a Junk-folder. > Usually this is "Junk" (in Thunderbird), but in other Applications it > might be called "Spam", "Unwanted" or even with Umlauts "Unerw?nschte > Nachrichten". > > I surely put this name after the "fileinto" command, but is there also a > way to create this folder automatically or check if it exists at each > delivery? > > Regards > Marten > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieve autocreate
Hi, Marten Lehmann wrote: > does sieve include any form of autocreating a "fileinto"-folder? > > I know that there's an option in Cyrus, but that doesn't help me in > this case. Each user shall be able to define a name for a Junk-folder. > Usually this is "Junk" (in Thunderbird), but in other Applications it > might be called "Spam", "Unwanted" or even with Umlauts "Unerwünschte > Nachrichten". > > I surely put this name after the "fileinto" command, but is there also > a way to create this folder automatically or check if it exists at > each delivery? At the university of Athens they created a patch for this; see http://email.uoa.gr/projects/cyrus/autosievefolder/ It is included in the Invoca RPMs, and Blaswave packages too I believe... I see in my man imapd.conf: anysievefolder: 0 It must be "yes" in order to permit the autocreation of any INBOX subfolder requested by a sieve filter, through the "fileinto" action. (default = no) autosievefolders: It is a "|" separated list of subfolders of INBOX that will be automatically created, if requested by a sieve filter, through the "fileinto" action. (default = null) i.e. autosievefolders: Junk | Spam Which is what you're looking for, I believe. (I never used it though. I was considering it, but for us I think it would only make sense if you could use variables in the folder-names or so (like the month/year)) Paul Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
sieve autocreate
Hello, does sieve include any form of autocreating a "fileinto"-folder? I know that there's an option in Cyrus, but that doesn't help me in this case. Each user shall be able to define a name for a Junk-folder. Usually this is "Junk" (in Thunderbird), but in other Applications it might be called "Spam", "Unwanted" or even with Umlauts "Unerwünschte Nachrichten". I surely put this name after the "fileinto" command, but is there also a way to create this folder automatically or check if it exists at each delivery? Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html