search for: currentd

Displaying 20 results from an estimated 23 matches for "currentd".

Did you mean: current
2012 Apr 10
1
sieve replace dot string for foldername
Hi, i am playing about mail archive this is what allready works for me require ["variables","date","fileinto","mailbox","envelope","subaddress","regex"]; # Extract date info if currentdate :matches "year" "*" { set "year" "${1}"; } if currentdate :matches "month" "*" { set "month" "${1}"; } if currentdate :matches "day" "*" { set "day" "${1}"; } if envelope :deta...
2007 May 28
1
[1.2.18] Wrong steps in extensions.conf?
...ri_escape($cidname); my $browser = LWP::UserAgent->new; my $url = "http://www.acme.com/input.php?"; $url .= "name=" . $safe_cidname . "&"; $url .= "number=" . $cidnum . "&"; ($min, $hrs, $day, $month, $year) = (localtime) [1,2,3,4,5]; $currentdate = sprintf("%02d/%02d/%02d", $day, $month+1, $year % 100); $currenttime = sprintf("%02d:%02d", $hrs,$min); $url .= "date=" . $currentdate . "&"; $url .= "time=" . $currenttime; #print $url . "\n"; my $response = $browser->get( $u...
2019 Jan 24
4
Discard mail with from date older than xxxx
...t occurrence). >> spam: error: validation failed. >> sievec(root): Fatal: failed to compile sieve script 'spam.sieve' >> >> Does anyone have any advice on how to get this working? > Hi Trever > > here is a snippet I use occasionally: > > if allof( > currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00", > currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00" > ) > > > HTH > Per Please, correct me if I am wrong....
2010 Jan 19
1
Auto discard sieve vacation messages
I have deploy an environment with pigeon sieve, managesieve, dovecot, squirrelmail and avelsieve plugin. The vacation messages are working fine. I am looking for a method to discard vacation messages in some date, when the user returns. Has somebody looked in this feature? Thanks a lot, -- Andr?s Fernando Yacopino Infraestructura - Dpto Sistemas AcaSalud Cooperativa de Prestaciones M?dico
2017 Oct 01
1
sieve script not executed?
...dsieve to set up the new filter and to my understanding it works correctly and it creates in the user's home the link .dovecot.sieve that points to sieve/managesieve.sieve ~$ cat .dovecot.sieve require ["date","relational","vacation"]; # rule:[Vacanza] if allof (currentdate :zone "+0200" :value "ge" "date" "2017-09-29", currentdate :zone "+0200" :value "le" "date" "2017-10-09") { vacation :days 7 :addresses ["robi at hidden1","robi at hiden2"] "eccoci...
2012 Mar 28
3
Sieve fileinto and year/month folders.
Hi there, I am trying to move from lmtpd (lmtpd.sf.net) to dovecot sieve. One thing used by some of powerusers are archiving mail automatically with autocreated folders based on year + month. Is there any good way to make that with sieve... One example require "fileinto"; if address :is ["From", "To"] "dovecot at dovecot.org" { fileinto
2019 Jan 23
2
Discard mail with from date older than xxxx
I know that sieve doesn't do math. The file would be created externally. Based on examples in section 4.4 of https://tools.ietf.org/html/rfc5260#section-4 I figured something like this would work. if date :value "le" :originalzone "date" "date" "2018-10-25" { ??????? fileinto "SPAM"; ??????? stop; } However, I get the following. spam: line
2012 Apr 04
0
crosstabs and histograms with flexible binning of dates
...and more elegant approaches. Any pointers would be appreciated. import(foreign) # LOAD FILE #parcels=read.dbf() #depending on source file parcels=read.delim("~/Projects/GIS_DATA/Parcels_NSP_BlockGroup.txt") attach(parcels) # DEFINE BINNING basedate=as.Date("2011/05/11") currentdate=basedate interval=3 #width of interval in months. 3 = quarterly num_intervals=5 #how many intervals to include after basedate for (i in c(1:num_intervals)) { startdate=currentdate enddate=seq(startdate,by="month",length=interval)[interval] #create a sequence of months of length &...
2018 Dec 03
2
vacation script issue
...=mail, \ > =home=/var/mail/%d/%n, \ > =quota_rule=*:bytes=%{ldap:departmentNumber} > > > pass_attrs= mailRoutingAddress=user > > tls = yes > My vacation script: require ["date","relational","vacation"]; > # rule:[Vacation] > if allof (currentdate :zone "+0100" :value "ge" "iso8601" > "2018-12-02T02:00:00+01:00", currentdate :zone "+0100" :value "le" > "iso8601" "2018-12-24T04:00:00+01:00") > { > vacation :addresses "test at example.com&qu...
2017 Jun 23
1
sieve vacation message if ....
...ates > that to customers who send us emails on the weekend. Right now I have > to do it manually. Is there another way to do it? > > Thanks! > > Look at the ?date? extension: > https://tools.ietf.org/html/rfc5260#section-4 Specifically, use the "currentdate" test described in Section 5. Regards, Stephan.
2019 Jan 05
2
Sieve "OOO" configuration
I am able to get sieve issuing an "out of office"message correctly. However, I want to configure it to send an "OOO" message only during certain dates, say on weekends, or only between certain hours. I can do that manually; however, was wondering if there is any automatic method available that could handle this chore. Thanks! -- Jerry
2019 Jan 24
0
Discard mail with from date older than xxxx
...date > test (reported only once at first occurrence). > spam: error: validation failed. > sievec(root): Fatal: failed to compile sieve script 'spam.sieve' > > Does anyone have any advice on how to get this working? Hi Trever here is a snippet I use occasionally: if allof( currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00", currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00" ) HTH Per -- Per Jessen, Z?rich (-1.6?C) http://www.dns24.ch/ - free d...
2019 Jan 24
0
Discard mail with from date older than xxxx
...validation failed. >>> sievec(root): Fatal: failed to compile sieve script 'spam.sieve' >>> >>> Does anyone have any advice on how to get this working? >> Hi Trever >> >> here is a snippet I use occasionally: >> >> if allof( >> currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00", >> currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00" >> ) >> >> >> HTH >> Per > >...
2011 Jul 01
1
defining new variable
...t;) Then DaysBetween(<transplant date> ,<Faildate>) Else If IsNull(<Faildate>) And Not IsNull(<Death date>) Then DaysBetween(<transplant date> ,<Death date>) Else If IsNull(<Faildate>) And IsNull(<Death date>) Then DaysBetween(<transplant date> ,CurrentDate()) Thank you very much!! Laura [[alternative HTML version deleted]]
2011 Apr 01
2
Sieve: unknown tagged argument ':create' for the fileinto command
...sage I receive is: error: unknown tagged argument ':create' for the fileinto command (reported only once at first occurence). My sieve script: require ["date", "variables", "fileinto"]; if header :contains "subject" "Bacula:" { if currentdate :matches "month" "*" { set "month" "${1}"; } if currentdate :matches "year" "*" { set "year" "${1}"; } fileinto :create "INBOX.Bacula.${month}-${year}"; } else { # The rest goes into INBOX...
2014 Jul 17
3
Sieve: adding Date: header when missing
Hello, there is a way with a sieve rule to add a Date: header when it is missing? Adding one with the time of reception of the message or using the date from the the first Received: header would be good options. Unfortunately I'm receiving some useful automated messages that lack a Date header and this screws up the sorting in my imap clients. I have a script to fix those acting on the
2015 Oct 28
2
sieve vacation - 2 questions
Hello, still trying to move from procmail to sieve, but there are new problems. Currently we use procmail for autoresponder and let user choose timerange, in which responder should work. May be you set up today your responder for 2 weeks in future where responder start and stop automatically without further manuell intervention. In procmail this is done by simple scripting and comparison of
2018 Dec 04
0
vacation script issue
...ule=*:bytes=%{ldap:departmentNumber} >> >> >> pass_attrs= mailRoutingAddress=user >> >> tls = yes >> > > My vacation script: > > > require ["date","relational","vacation"]; >> # rule:[Vacation] >> if allof (currentdate :zone "+0100" :value "ge" "iso8601" >> "2018-12-02T02:00:00+01:00", currentdate :zone "+0100" :value "le" >> "iso8601" "2018-12-24T04:00:00+01:00") >> { >> vacation :addresses "test a...
2015 Oct 28
0
sieve vacation - 2 questions
...r should work. May be you set up today > your responder for 2 weeks in future where responder start and stop > automatically without further manuell intervention. > In procmail this is done by simple scripting and comparison of > timestamps. How to do this in sieve? You need to use the currentdate test, as provided by the date extension (http://tools.ietf.org/html/rfc5260). A useful example is here: http://tools.ietf.org/html/rfc5260#section-5.1 > 2nd questions concerns to used From-Address in responding mail. > Header of a sieve-responder shows a minimal From-Address: > From:...
2019 Jan 05
0
Sieve "OOO" configuration
Look at the currentdate test https://tools.ietf.org/html/rfc5260#section-5 V/r, James Cassell On Sat, Jan 5, 2019, at 11:26 AM, Jerry wrote: > I am able to get sieve issuing an "out of office"message correctly. > However, I want to configure it to send an "OOO" message only during > cer...