In some of my maildrop filters I have rules with weighted scoring[1], but only to count headers (for example to count "Received:" header) ie. all these rules are of form "/pattern/:h,1" Can dovecot sieve do this? KJ [1] http://www.courier-mta.org/maildrop/maildropfilter.html -- http://blogdebart.pl/2012/06/24/hiena/ Wiesz, tryb tekstowy w Linuksie ma si? tak do DOSu jak F-117A do paralotni. (c) Dawid Kuroczko
Kamil Jo?ca wrote:> In some of my maildrop filters I have rules with weighted scoring[1], > but only to count headers (for example to count "Received:" header) > ie. all these rules are of form "/pattern/:h,1" > > Can dovecot sieve do this?http://tools.ietf.org/rfc/rfc5231.txt To check the number of received fields in the header, the following test may be used: header :count "ge" :comparator "i;ascii-numeric" ["received"] ["3"] Regards Daniel -- https://plus.google.com/103021802792276734820