similar to: Sieve regex never matches

Displaying 20 results from an estimated 10000 matches similar to: "Sieve regex never matches"

2008 Jan 29
2
sa learning from an imap spam folder
Hello, I am sorry if I am writing to a wrong list because honestly I do not know where to write but I would like to be able to set up sa-learn via cron to learn from spam folder of a particular email account (via IMAP). Can anyone share how to do it? Is dovecot involved in it? I am using: Exim 4.69 Dovecot 1.0.10 p5-Mail-SpamAssassin-3.2.1 Thanks a lot for helping. Zbigniew Szalbot
2007 Nov 24
1
Questions about deliver log files
Hi, I upgraded from Courier to dovecot, and now I try to rebuild some of the features I used to have. One was a monthly per user log of maildrop's work. I used this code in maildroprc: DATE=`date +%m` logfile "$MAILDIR/maildrop-$DATE.log" This created a monthly log in the each user's Maildir. I find it easier to have a log per user than having to filter the log entries
2010 Jun 18
1
strange regex sieve filter error
Hi all, ok, I'm getting an error produced by the following sieve file : require ["fileinto","copy"]; # rule:[SPAM-TAG] if allof ( header :regex "Subject" "^\\[SPAM-TAG\\]") { fileinto "SPAM-TAG"; stop; } and I'm getting the following error in the dovecot delivery log : main_script: line 3: error: unknown tagged
2011 Jun 14
2
Dovecot 2.0.13 and sieve
Hello all, I am testing Dovecot 2.0.13, with sieve for the vacation. I have some problems with the :regex as i can see... An example: # Sieve Filter # Generato da Ingo (http://www.horde.org/ingo/) (10/06/2011, 04:45:07) require ["vacation", "regex"]; # Vacanze if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe",
2009 Jan 21
1
Sieve regex match problem
I'm trying to make a regex to match common mailing list addresses and file messages to corresponding folders. I'm using sieve-test to try and understand what is happening. The sieve script is: require [ "fileinto", "regex", "variables" ]; if header :regex ["Sender"] ["(.*>[ \\t]*,?[ \\t]*)?([^-@]*)-([^-@]*)(-bounces)?@antlr.org"] {
2018 May 07
2
[sieve][regex] Matching multiple strings in the "Received" header
Hi, I'm trying to use this expression in Sieve, but for some reason the filter doesn't work: require ["fileinto","regex"]; # rule:[gmail-outlook-yahoo-aol-friends] if header :regex "received" ".from.*(outbound.protection.outlook.com|.google.com|.yahoo.com|mx.aol.com)." { fileinto "INBOX.gmail-hotmail-yahoo-aol-friends";
2018 Sep 19
0
[Sieve] Matches on body content - looking for working example
> On 19 September 2018, at 12:54, Adam Raszkiewicz <araszkiewicz at medallies.com> wrote: > > I have tried to do something like > > if body :content ["multipart"] :matches ["Original-Message-ID" ?*?] { set "Original_Message_ID" "${0}"; } > > but instead getting Original Message ID I?m getting value from previous match which
2020 Jan 24
0
sieve size match with multiple of 4GB not matching (BUG?)
Hi, I have noticed a strange behaviour when using size matches with GB in sieve. If I use filter that matches mails smaller then 4, or 8GB it does not match in any case. same filter matches with 3,5,6,7 GB example filter: require "vnd.dovecot.debug"; if allof (size :under 4G) { debug_log "MATCH"; } else { debug_log "NO MATCH"; } # sieve-filter
2019 Jul 15
1
Sieve problem with duplicate and fileinto in the same set of rules
Hi there, on my mail server (postfix, dovecot 2.2.27 in Debian 9) I have an automatic forwarding (with sender_bcc_maps in Postfix) for all the emails sent in smtp from the same server, that are then put in the Sent folder with a sieve rule. In this way, however, when a user sends an e-mail to himself, both copies end up in the Sent folder and it's not good. To resolve, I tried using
2007 Aug 02
1
dovecot 1.0.2, sieve 1.0.2 and regex
I've just ported a largeish procmail script across to sieve and want to get to use wildcards in filing mail and can't seem to get regex to work. The script starts nicely with: > require ["fileinto","regex","envelope","vacation","regex"]; and a bit down these few lines comes into play: > elsif header :regex "From"
2009 May 11
1
Sieve & Regex
Hi all I'm trying to create a new sieve rule. What I would like to do is catch "From" addresses that are equal to the rightpart (hostname) of a message-id. For example: Message-ID: <000d01c9d23a$941a7db0$6400a8c0 at upwabm> From: "Leanne Crabtree" <upwabm at blomberg-co.com> I would like to catch this mail, because it has "upwabm" on the right part
2009 Feb 02
1
sieve 0.1.2 problem with address and :regex
I'm getting a core dump with the following script: require [ "fileinto", "regex", "variables" ]; if address :domain :regex ["Reply-To", "Sender", "To", "Cc"] "antlr.org|mailman.unixodbc.org|research.att.com|wireshark.org" { if address :regex ["Reply-To", "Sender", "To",
2007 Nov 06
1
UTF-8 in dovecot-sieve ?
Hi, Reading http://tools.ietf.org/html/rfc3028#section-2.7.2 I thought that out-of-the-box dovecot can filter messages by matching header in UTF-8. But when I tested it, it failed : (I'm using 1.0.5 with sieve plugin) Here is my .dovecot.sieve file : ---------- require ["fileinto", "imapflags"]; if allof(header :contains "subject" "filtre") {
2019 Jan 15
0
Solved: Sieve: reject certain mime-types and notify recipient
I case someone is interesed too, why it was not working: Am 14.01.19 um 20:22 schrieb Ralf Becker: > I have to reject office files for a certain domain plus notifying the > original recipient about the rejection too. > > require ["fileinto","reject","body","enotify","variables"]; > > if allof (address :contains
2019 May 29
1
Changes in sieve Dovecot 2.2
Hi People, I'm use dovecot in my mailbox system, until last month i used the dovecot version 2.0 and now i use version 2.2, version 2.2 works well for me, but i have one small problem, in sieve. In version 2.0 i had rules in sieve similiar to rule bellow: if allof (true){ keep; fileinto "INBOX"; redirect "xxxxxx"xxxxxx.com.br"; stop; } In the new version
2019 Jan 14
2
Sieve: reject certain mime-types and notify recipient
I have to reject office files for a certain domain plus notifying the original recipient about the rejection too. require ["fileinto","reject","body","enotify","variables"]; if allof (address :contains ["To","TO","Cc","CC"] "@example.org", body :content? "application/msword" :contains
2020 Jul 19
3
Sieve and handling multiple addresses
On 18 Jul 2020, at 11:23, Stephan Bosch <stephan at rename-it.nl> wrote: > On 12/07/2020 22:47, @lbutlr wrote: >> On 12 Jul 2020, at 10:17, Benny Pedersen <me at junc.eu> wrote: >>> @lbutlr skrev den 2020-07-12 16:43: >>>> I an trying to write a sieve action that will take mail that is >>>> addressed to a user only it is filed in a mailbox
2007 Jan 03
1
Dovecot Sieve capabilties - regex
Hi Does the Dovecot Sieve implementation support the regex capability? I get the following error when I try to add it: Jan 3 16:07:30 absinthe deliver(james): sieve parse error: line 1: Unsupported features in require line The line is: require "regex"; Thanks James Turnbull -- James Turnbull <james at lovedthanlost.net> --- Author of Pro Nagios 2.0
2020 Jul 12
2
Sieve and handling multiple addresses
On 12 Jul 2020, at 10:17, Benny Pedersen <me at junc.eu> wrote: > @lbutlr skrev den 2020-07-12 16:43: >> I an trying to write a sieve action that will take mail that is >> addressed to a user only it is filed in a mailbox (e.g. "Direct") if >> it is to the email AND to any other email address, then file it in a >> mailbox named, e.g. "Cc". And
2008 Jan 07
3
Problem with passwords surrounded by curly braces
Hello, one of my users set his password to something surrounded by curly braces, and promptly all access to his mailbox was refused. After looking through the logs I found an entry "Unknown password scheme xxxx", where "xxxx" is the user's password, but without the curly braces. I then browsed through the documentation and there was explained that it is possible to prefix