Displaying 7 results from an estimated 7 matches for "year_last_month".
2019 Apr 15
6
SOLR/Index?
On 15/04/2019 10:59, Larry Rosenman via dovecot wrote:
> I'll run a full test when I'm back in front of areal computer vs. My
> phone.(in a few hours)
>
> Get Outlook for Android <https://aka.ms/ghei36>
>
> ------------------------------------------------------------------------
> *From:* dovecot <dovecot-bounces at dovecot.org> on behalf of John
>
2019 Apr 15
1
Fwd: SOLR/Index?
...#!/bin/sh
>> PATH=$PATH:/usr/local/bin
>> #Expects to be run after midnight on the first of the month
>> #? to archive all the previous months mail
>> #Date Run:
>> TODAY=`date "+%Y-%m-%d"`
>> #last month in YYYY/MM
>> YEAR_LAST_MONTH=`date -v-1d "+%Y/%m"`
>> #1st of last month as 01-Mon-YYYY
>> FIRST_LAST_MONTH=`date -v-1d "+01-%b-%Y"`
>> echo 'TODAY=' ${TODAY}
>> echo 'YEAR_LAST_MONTH=' ${YEAR_LAST_MONTH}
>> echo 'FIRST_LAST_MONTH=' $...
2019 Apr 15
0
Fwd: SOLR/Index?
...t thebighonker.lerctr.org:~] $ cat bin/archive-mail
> #!/bin/sh
> PATH=$PATH:/usr/local/bin
> #Expects to be run after midnight on the first of the month
> # to archive all the previous months mail
> #Date Run:
> TODAY=`date "+%Y-%m-%d"`
> #last month in YYYY/MM
> YEAR_LAST_MONTH=`date -v-1d "+%Y/%m"`
> #1st of last month as 01-Mon-YYYY
> FIRST_LAST_MONTH=`date -v-1d "+01-%b-%Y"`
> echo 'TODAY=' ${TODAY}
> echo 'YEAR_LAST_MONTH=' ${YEAR_LAST_MONTH}
> echo 'FIRST_LAST_MONTH=' ${FIRST_LAST_MONTH}
> # get a list of...
2019 Apr 15
0
SOLR/Index?
...ar issues in that namespace:
?67% [ler at thebighonker.lerctr.org:~] $ cat bin/archive-mail
#!/bin/sh
PATH=$PATH:/usr/local/bin
#Expects to be run after midnight on the first of the month
# to archive all the previous months mail
#Date Run:
TODAY=`date "+%Y-%m-%d"`
#last month in YYYY/MM
YEAR_LAST_MONTH=`date -v-1d "+%Y/%m"`
#1st of last month as 01-Mon-YYYY
FIRST_LAST_MONTH=`date -v-1d "+01-%b-%Y"`
echo 'TODAY=' ${TODAY}
echo 'YEAR_LAST_MONTH=' ${YEAR_LAST_MONTH}
echo 'FIRST_LAST_MONTH=' ${FIRST_LAST_MONTH}
# get a list of all the mailboxes with at leas...
2015 Sep 10
2
Is it a bug when you move mail between namespaces....
It works for me. I don't know why it wouldn't work for you. Looking at the autoindexing code I don't see how it could be possible that it works for saving but not copying.
> On 10 Sep 2015, at 21:05, Larry Rosenman <larryrtx at gmail.com> wrote:
>
> Is there a fix coming for this, Timo? Or is it a longer term issue?
>
> On Mon, Sep 7, 2015 at 5:23 PM, Larry
2015 Sep 10
0
Is it a bug when you move mail between namespaces....
my monthly archive script does:
echo `date` start ${i}
doveadm mailbox create \#ARCHIVE/${YEAR_LAST_MONTH}/${i}
doveadm -f tab mailbox status messages ${i}
doveadm move \#ARCHIVE/${YEAR_LAST_MONTH}/${i} mailbox \
${i} BEFORE ${TODAY} SINCE ${FIRST_LAST_MONTH}
doveadm -f tab mailbox status messages ${i}
echo `date` done ${i}
for each mailbox that has >= 1 message in it.
so...
2014 Jul 01
1
indexer failure: lucene: while doing doveadm commands
I have the following script:
#!/bin/sh
PATH=$PATH:/usr/local/bin
#Expects to be run after midnight on the first of the month
# to archive all the previous months mail
#Date Run:
TODAY=`date "+%Y-%m-%d"`
#last month in YYYY/MM
YEAR_LAST_MONTH=`date -v-1d "+%Y/%m"`
#1st of last month as 01-Mon-YYYY
FIRST_LAST_MONTH=`date -v-1d "+01-%b-%Y"`
echo 'TODAY=' ${TODAY}
echo 'YEAR_LAST_MONTH=' ${YEAR_LAST_MONTH}
echo 'FIRST_LAST_MONTH=' ${FIRST_LAST_MONTH}
# get a list of all the mailboxes with at leas...