Re: [Dovecot] mailutil?

2009-03-26 Thread Asbjørn Sannes
Timo Sirainen wrote:
> dbox format needs at least two tools:
>
> 1. Expunging only marks the message having refcount=0. The actual disk
> space is freed only after calling a tool pointing to the user's dbox
> dir.
>
> 2. Ability to force index resync/rebuild in case it doesn't figure out
> itself that there's something wrong.
>
> I'm starting to think about building a more generic mailutil tool, maybe
> something similar to what UW-IMAP has. So two questions:
>
>  - What should the tool be called? Probably not mailutil to avoid
> confusion. doveutil? dovemail? dovetool? mailtool?
>
>  - Is there any functionality you'd like it to do?
>
>   
Sounds like dbox is what the tool is mainly used for, I know dbox format
is only used by dovecot, but still:

dboxutils:
1: dboxclean or dboxexpunge
2: dboxrebuild/dboxresync/dboxrepair

:P

--
Asbjørn Sannes



Re: [Dovecot] Using namespaces to duplicate mailboxes (Doable?)

2008-12-02 Thread Asbjørn Sannes

Charles Marcus wrote:

On 12/2/2008 7:54 AM, Julio C. Ortega wrote:
  

Greetings.

As part of a new installation of dovecot, we are exploring backup
options, and wondered if it's at all possible to define a couple of
namespaces where messages get duplicated to be saved in another disk for
fast recovery.



It sounds like you are asking for a Feature Request for the dovecot
Deliver Agent? Having it capable of 'dual delivering' messages to a
'mirrored' maildir would be cool...

Of course, it would have to be smart enough not to bounce anything if
the mirror was down (just log the failure)...

  

Why not just run deliver twice with two different config files?

--
Asbjørn Sannes



Re: [Dovecot] sieve vacation

2008-01-25 Thread Asbjørn Sannes
mouss wrote:
> Asbjørn Sannes wrote:
>> I think sieve vacation is cutting off the last line of the vacation
>> message, is this a known problem?
>>
>> vacation addresses: "[EMAIL PROTECTED]" "not here now"
>> Would return an empty message, changing it to:
>> vacation addresses: "[EMAIL PROTECTED]" "not here now
>> have a nice day"
>> And it would send a message with only "not here now" in it, but not
>> "have a nice day".
>>
>>   
>
> does your file end with a newline? text files should end with a new
> line, otherwise many line oriented utilities will break. emacs has a
> setting to ask you if you forget one.
>
It certainly does end with a newline, I doubt that it is intended that
one would have to put a newline inside a variable. Hm, running sendmail
(ssmtp) manually gives me some weird results, could be that it is ssmtp
eating that last line ..

If I put "one\ntwo\nthree\n" into a text file and cat texfile | sendmail
myaddr it sends a mail without three in it, guess I have to look further
into this.

--
Asbjørn Sannes



[Dovecot] sieve vacation

2008-01-24 Thread Asbjørn Sannes

I think sieve vacation is cutting off the last line of the vacation
message, is this a known problem?

vacation addresses: "[EMAIL PROTECTED]" "not here now"
Would return an empty message, changing it to:
vacation addresses: "[EMAIL PROTECTED]" "not here now
have a nice day"
And it would send a message with only "not here now" in it, but not
"have a nice day".

For the record using:
http://dovecot.org/releases/sieve/dovecot-sieve-1.0.2.tar.gz

Mvh,
Asbjørn Sannes