Re: sieve question: archive script
At Wed, 28 Oct 2009 08:51:45 +0800, Zhang Weiwu zhangwe...@realss.com wrote: Subject: Re: sieve question: archive script Bron Gondwana wrote: Sieve only runs during the LMTP phase. It doesn't move messages. I'd say go Perl + IMAP. It's pretty easy. Thanks. I guess I should start learning perl anyway. Try Python instead -- it's _MUCH_ more productive! :-) -- Greg A. Woods +1 416 218-0098VE3TCP RoboHack wo...@robohack.ca Planix, Inc. wo...@planix.com Secrets of the Weird wo...@weird.com 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: Simple Sieve question
Though it's usually: fileinto user.fred.Spam Zitat von Scott Likens [EMAIL PROTECTED]: Assuming that user has the 'p' right to user.fred.INBOX.Spam then yes. If they don't have the 'p' right, the mail will just be sent in limbo. On Jul 4, 2008, at 9:30 AM, Bob Bob wrote: Hi all Cant seem to find an answer on this one.. I should experiment but would like some advance info. Can sieve fileinto into a mailbox folder that is not at or below the Inbox?. If so what would the syntax look like; ie fileinto /user.fred.INBOX.Spam instead of just INBOX.Spam as user fred. Assumes of course that the user has ACL rights to the folder in question. Am experimenting with Outlook Calenders, Free/Busy and an autoresponder/resource booking system under Bynari's Insight connector. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ 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
Fwd: NDN: Re: Simple Sieve question
If someone can please remove this user from the mailing lists? Thanks :) Begin forwarded message: From: [EMAIL PROTECTED] Date: July 4, 2008 3:54:47 PM PDT To: Scott Likens [EMAIL PROTECTED] Subject: NDN: Re: Simple Sieve question Sorry. Your message could not be delivered to: 0aheebdd (The name was not found at the remote site. Check that the name has been entered correctly.) !DSPAM:486f4636130771546544105! 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
Fwd: NDN: Re: Simple Sieve question
another ... Begin forwarded message: From: [EMAIL PROTECTED] Date: July 5, 2008 3:32:02 AM PDT To: [EMAIL PROTECTED] Subject: Re: Fwd: NDN: Re: Simple Sieve question Dear Business Partner, for months the mails of our user have been sent to you from our new Domain. This Domain has now been closed. If you have not changed the e-mail adress of the respective person in our company to his new one, please do it now! The new Domain is [EMAIL PROTECTED] intial [EMAIL PROTECTED] In case you have any question please adress them to [EMAIL PROTECTED] !DSPAM:486f50da134771804284693! 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
Simple Sieve question
Hi all Cant seem to find an answer on this one.. I should experiment but would like some advance info. Can sieve "fileinto" into a mailbox folder that is not at or below the Inbox?. If so what would the syntax look like; ie fileinto "/user.fred.INBOX.Spam" instead of just "INBOX.Spam" as user fred. Assumes of course that the user has ACL rights to the folder in question. Am experimenting with Outlook Calenders, Free/Busy and an autoresponder/resource booking system under Bynari's Insight connector. Tnxs, Bob 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: Simple Sieve question
Assuming that user has the 'p' right to user.fred.INBOX.Spam then yes. If they don't have the 'p' right, the mail will just be sent in limbo. On Jul 4, 2008, at 9:30 AM, Bob Bob wrote: Hi all Cant seem to find an answer on this one.. I should experiment but would like some advance info. Can sieve fileinto into a mailbox folder that is not at or below the Inbox?. If so what would the syntax look like; ie fileinto /user.fred.INBOX.Spam instead of just INBOX.Spam as user fred. Assumes of course that the user has ACL rights to the folder in question. Am experimenting with Outlook Calenders, Free/Busy and an autoresponder/resource booking system under Bynari's Insight connector. Tnxs, Bob !DSPAM:486e57c0223491646824759! 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 !DSPAM:486e57c0223491646824759! 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 question.
I'm looking into adding some filtering to my postfix/cyrus server. I allready got sieve working nicely but i was wondering if sieve supports some actions i'm used to having on a server with procmail. For example : editing mails, adding headers , removing text/headers etc ? Any pointers ? -- Frederik Vervaet --- 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
Re: Sieve question.
Frederik Vervaet wrote: I'm looking into adding some filtering to my postfix/cyrus server. I allready got sieve working nicely but i was wondering if sieve supports some actions i'm used to having on a server with procmail. For example : editing mails, adding headers , removing text/headers etc ? No. Any pointers ? There are some drafts of Sieve extensions for tweaking headers, but Cyrus doesn't support any of them yet. -- 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
Re: Sieve question.
On Tue, 25 May 2004, Ken Murchison wrote: Frederik Vervaet wrote: Any pointers ? There are some drafts of Sieve extensions for tweaking headers, but Cyrus doesn't support any of them yet. Is there any chance these extensions will be added in the next (few) release(s) ? -- Frederik Vervaet --- 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
Re: Sieve question.
Frederik Vervaet wrote: On Tue, 25 May 2004, Ken Murchison wrote: Frederik Vervaet wrote: Any pointers ? There are some drafts of Sieve extensions for tweaking headers, but Cyrus doesn't support any of them yet. Is there any chance these extensions will be added in the next (few) release(s) ? I don't think we have any plans to add them, but if someone submitted a well-written patch, we'd probably commit it. -- 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
Re: Sieve question.
On Tue, 25 May 2004, Frederik Vervaet wrote: Is there any chance these extensions will be added in the next (few) release(s) ? Its not tremendously likely, no. Adding sieve extensions makes the code worse and worse the more we add. Given the propensity of sieve extensions to never get locked to a single spec, supporting them can be somewhat of a nightmare -- especially supporting lots of them that might interact. So, unless a patch lands in our lap, its unlikely we'll approach the problem on our own for some time. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper --- 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
Simple Sieve question (vacation)
Hi, It is my understanding that message replied to by the vacation extension will still be delivered in the mailbox. Is it possible not to deliver when vacation match ? Thanks ! -- Etienne GoyerLinux Québec Technologies Inc. http://www.LinuxQuebec.com [EMAIL PROTECTED]
Re: Simple Sieve question (vacation)
On Thu, 9 Oct 2003, Etienne Goyer wrote: Hi, It is my understanding that message replied to by the vacation extension will still be delivered in the mailbox. Is it possible not to deliver when vacation match ? Thanks ! You could add an explicit discard; after the vacation to do this. The various actions in sieve can change the default action (if no sieve statements explicitly say what to do with the email). For example, if you redirect (forward) a message, the default action is to not keep a copy. You can add an explicit keep; to keep a copy of the message even if you redirect. The opposite is true for vacation. By default vacation will keep a copy of the message, but you can explicitly discard; it. Andy
Naive Sieve question
I'm still relatively new to Sieve (we've been using Exim filter files up to now), so I suspect I'm missing something obvious here. What is the recommended way to filter mail delivery reports? I'm the postmaster for a 25k user mail system, and really don't want all of the bounces in my primary INBOX. Neither of the two obvious approaches: if envelope :is from { fileinto bounces; stop; } or: if header :is return-path { fileinto bounces; stop; } seem to work. So far the best that I have come up with is: if not envelope :contains from @ { fileinto bounces; stop; } which works (at least in our environment), but isn't very pretty. -- David Carter Email: [EMAIL PROTECTED] University Computing Service,Phone: (01223) 334502 New Museums Site, Pembroke Street, Fax: (01223) 334679 Cambridge UK. CB2 3QH.
Quick sieve question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii Does sieve support filing incoming mail into two mailboxes? I have a user who want to file much of his mail into one backup folder and then process it with other filters later. However, I'm finding that later fileinto actions cause the first fileinto action to not take place. Is there any way to get a message to end up in two places? - -- Ted Cabeen http://www.pobox.com/~secabeen[EMAIL PROTECTED] Check Website or Keyserver for PGP/GPG Key BA0349D2 [EMAIL PROTECTED] I have taken all knowledge to be my province. -F. Bacon [EMAIL PROTECTED] Human kind cannot bear very much reality.-T.S.Eliot[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE9+TqpoayJfLoDSdIRAobiAKCue/+A0p3MARC/PVNnkfMaa2s75wCgwS0A jFWcK2NFVHwKDPmBkuZqR4Q= =GH/8 -END PGP SIGNATURE-
Sieve question -- BODY contains
Hi, In Sieve I saw a lot of header :contains I wonder, if a user needs to do some filtering when 'body contains test filter', is there some thing like body to replace header? So I can do: if body :contains From { discard; } Thanks, Su
Re: Sieve question -- BODY contains
Su Li wrote: Hi, In Sieve I saw a lot of header :contains I wonder, if a user needs to do some filtering when 'body contains test filter', is there some thing like body to replace header? No. There is an I-D for a body extension, but its not implemented in cmu-sieve. http://www.ietf.org/internet-drafts/draft-degener-sieve-body-00.txt -- 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
RE: Sieve question -- BODY contains
Thanks a lot Ken, So there is not way I can filter according to the content of the BODY. How about exits? Su -Original Message- From: Ken Murchison [mailto:[EMAIL PROTECTED]] Sent: November 26, 2002 2:51 PM To: Su Li Cc: [EMAIL PROTECTED] Subject: Re: Sieve question -- BODY contains Su Li wrote: Hi, In Sieve I saw a lot of header :contains I wonder, if a user needs to do some filtering when 'body contains test filter', is there some thing like body to replace header? No. There is an I-D for a body extension, but its not implemented in cmu-sieve. http://www.ietf.org/internet-drafts/draft-degener-sieve-body-00.txt -- 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
Re: Sieve question -- BODY contains
Su Li wrote: Thanks a lot Ken, So there is not way I can filter according to the content of the BODY. How about exits? This currently are no actions/tests in cmu-sieve that operate on the body of a message. In fact, AFAIK, there are only a couple of Sieve implementations which have a body test, and they are non-standard. -Original Message- From: Ken Murchison [mailto:[EMAIL PROTECTED]] Sent: November 26, 2002 2:51 PM To: Su Li Cc: [EMAIL PROTECTED] Subject: Re: Sieve question -- BODY contains Su Li wrote: Hi, In Sieve I saw a lot of header :contains I wonder, if a user needs to do some filtering when 'body contains test filter', is there some thing like body to replace header? No. There is an I-D for a body extension, but its not implemented in cmu-sieve. http://www.ietf.org/internet-drafts/draft-degener-sieve-body-00.txt -- 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 -- 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
Sieve Question
Greetings, This may be a stupid question, but I have seen enough mail about Sieve Vacation in the past few days, I had a thought... Can you specify wildcards for the vacation addresses? Over here, we have something like 6 different e-mail aliases that all point to the same account, and what I am finding is its an impossible task to explain to our unintelligent end users why they need to list all their addresses in order for the vacation to work. Is there a default setting, lets say *@* that will automatically send a vacation message to any incoming message to that Cyrus account? Just wondering... -John -- __ John C. Amodeo, Associate Director Information Technology and Computer Operations Faculty of Arts Sciences, Rutgers University 732.932.9455-voice 732.932.0013-fax
Re: Sieve Question
John C. Amodeo wrote: Greetings, This may be a stupid question, but I have seen enough mail about Sieve Vacation in the past few days, I had a thought... Can you specify wildcards for the vacation addresses? Over here, we have something like 6 different e-mail aliases that all point to the same account, and what I am finding is its an impossible task to explain to our unintelligent end users why they need to list all their addresses in order for the vacation to work. Is there a default setting, lets say *@* that will automatically send a vacation message to any incoming message to that Cyrus account? No. The sieve-vacation draft does not allow for wildcards or regex. Perhaps it would be possible to supply either a list of domains or a regex in imapd.conf that vacation can compare against the incoming address. This way, you would only have to specify aliases in the :addreses parameter. I'll investigate as time permits. Ken -- 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
SIEVE question
Hi, Is it possible to write a SIEVE filterrule that checks all mail headers for a specific string? Something like: if header :contains [*] "blahblah"{ discard; ^ }| | |___ What do I have do put here to test _all_ mail headers? -- regards, Ralf