maybe something like:

dbmail-users -l | grep domain.com | cut -d ':' -f 1 | while read a; do
dbmail-export -u $a -o $a.mbox; done




On Thu, Feb 24, 2011 at 12:35 PM, Anatoly <[email protected]> wrote:

> fp wrote:
>
>> On 24.02.2011 11:21, Anatoly wrote:
>>
>>> admin wrote:
>>>
>>>> Hello!
>>>>
>>>> I wonder if there is some posibility to transfer all mail for, say, one
>>>> domain from one dbmail host to another. Any thoughts are welcome!
>>>> _______________________________________________
>>>> DBmail mailing list
>>>> [email protected]
>>>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>>>>
>>>>
>>>>  Very vaguely, can you concretize?
>>> _______________________________________________
>>> DBmail mailing list
>>> [email protected]
>>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>>>
>> Yes. I want to take one mail user and all his letters and transfer it into
>> another dbmail server. I found that I can use imapsync, but it seems it's a
>> bit slow.
>> _______________________________________________
>> DBmail mailing list
>> [email protected]
>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>>
>>
>>  may be
>
> dbmail-export -u <username>
> export <username>s mailboxes.
>
> move files to another server
>
> dbmail-users -a <username> [options]
> mailbox2dbmail --user <user> --box <Inbox,Inbox.Sent etc>
>
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to