[Postfix-br] Arquivamento

Julio Cesar Covolato julio em psi.com.br
Quarta Outubro 16 10:34:56 BRT 2013


Tenta esse:

require ["date", "variables", "fileinto"];
if currentdate :matches "month" "*" { set "month" "${1}"; }
if currentdate :matches "year"  "*" { set "year"  "${1}"; }
if currentdate :matches "day"   "*" { set "day"  "${1}"; }
fileinto "${year}-${month}-${day}";

Att

-----------------------------
     _    Engº Julio Cesar Covolato
    0v0   <julio at psi.com.br>
   /(_)\  F: 55-11-3129-3366
    ^ ^   PSI INTERNET
-----------------------------

Em 16/10/2013 10:15, Julio Cesar Covolato escreveu:
> Olá Taylor.
> Posta aí o teu script sieve, deve ter algum erro nele que está 
> duplicando...
>
> Att.
> -----------------------------
>      _    Engº Julio Cesar Covolato
>     0v0<julio at psi.com.br>
>    /(_)\  F: 55-11-3129-3366
>     ^ ^   PSI INTERNET
> -----------------------------
> Em 16/10/2013 09:02, Taylor M. escreveu:
>>
>> Bom dia amigos.
>>
>> Preciso implantar uma solução de arquivamento de e-mails p/ um 
>> cliente, onde ele quer guardar numa conta todos os e-mails enviados e 
>> recebidos.
>>
>> Isso é tranquilo, através do sender_bcc, e está funcionando.
>>
>> O que quero fazer é dividir por data, conforme imagem abaixo:
>>
>> https://www.dropbox.com/s/0h9u7r7kfbpqmqx/Arquivamento.png
>>
>> Tô tentando fazer através de script do Sieve, mas ele tá duplicando 
>> os e-mails.
>>
>> Alguém tem uma luz pra me dar?
>>
>> Taylor.
>>
>>
>>
>> _______________________________________________
>> Postfix-br mailing list
>> Postfix-br at listas.softwarelivre.org
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
>
>
> _______________________________________________
> Postfix-br mailing list
> Postfix-br at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/postfix-br/attachments/20131016/c8a3149f/attachment.html>


More information about the Postfix-br mailing list