I'm Folling the Wiki, with say if put -8 , give the name in UTF-8, so i put it here too.
if was doing with doveadm it' be something like that:
root@brc:~ # doveadm mailbox list -8 -u alex@exemplo.com.br Emexis Emexis.Whitelist Emexis.Quarantine Emexis.Blacklist Trash Sent Archives Drafts root@brc:~ #
I was trying to import too , using the doveadm command line, but i can import exactly the same struct to my maildir in dovecot.
something like this:
doveadm -Dv import -u alex@exemplo.com.br maildir:/root/Maildir <FOLDER DEST> all
The <FOLDER DEST> can't be the Maildir root dir, to be the exactly copy from source Maildir.
This can be useful, when you want to pass every messages in a plugin....(like my case, to split header and body)
There is possible ?
Tks again !
2010/11/23 Timo Sirainen tss@iki.fi
the command that i use now is:
"VERSION\tdoveadm-server\t1\t0\nD\talex@exemplo.com.br\tmailbox
On Tue, 2010-11-23 at 09:07 -0200, Alex Baule wrote: list\t8\n"
the command is OK, and i think the parameters too, but this not return
the
mailbox list in unix socket.
What's the "8" parameter doing there? You're now asking a mailbox list of a mailbox named "8", and if there is none you won't get any matches.
how is the protocol flow to doveadm unix socket ?
something like.
write X Read Y shutdown socket
or have another order todo this ?
Looks like there were several bugs. I fixed them now in hg. Anyway, you can now do:
- Send VERSION
- Send command
- Read reply line (one for prints, one containing "+" or "-" = success/failure)
- Disconnect or goto 2.