List Info

Thread: RE: Dbmail-export search options




RE: Dbmail-export search options
country flaguser name
United States
2007-07-20 14:33:55
On Fri, Jul 20, 2007, List Receiver <listreceivermastermindpro.com> said:

>> -----Original Message-----
>> From: dbmail-bouncesdbmail.org
[mailto:dbmail-bouncesdbmail.org] On
>> Behalf Of Paul J Stevens
>> Sent: Friday, July 20, 2007 11:38 AM
>> To: DBMail mailinglist
>> Subject: Re: [Dbmail] Dbmail-export search options
>>
>> List Receiver wrote:
>> > I'm trying to use the dbmail-export feature
from 2.2.5 to create an
>> mbox file from a mailbox that only has certain
addresses in the To or
>> From fields.  I'm unfamiliar with how to format
that, and the man page
>> and example from -h hasn't been enough to get me
going.  I've tried
>> this:
>> >
>> > dbmail-export -u user -m "my box" -s
"1
FROM asdfasdf.com"
>> >
>> > That didn't work, however.  It produced a 0
byte file and no error
>> code.  How do I format an IMAP search string to
select To and From? As
>> well, is there a way to do search strings for
multiple To/From
>> addresses?  I guess I just need to know how to do
search strings in
>> IMAP land.  :^)
>>
>> dbmail-export -u user -m 'mailbox' -s "OR
(HEADER FROM
>> asdfasdf.com)(HEADER FROM sdfgsdfg.com)"
>>
> 
> Thanks.  This doesn't seem to be working on my machine.
 I have even tried a simpler:
> 
> dbmail-export -u user -m "mailbox" -s
"HEADER FROM asdfasdf.com"
> 
> ..but the result is an empty file when I am staring
right at an e-mail in that mailbox from asdfasdf.com.
 I'm perplexed.  What should I try next?

The mailbox name might be case sensitive in dbmail-export
< 2.2.6rc1. See
if that resolves the problem for you. Do you get output on
stderr like:

Exporting [1] mailboxes for [user]
 export mailbox INBOX -> ./user/INBOX.mbox

or...

Exporting [0] mailboxes for [user]

..the latter of which means that the mailbox is not being
found, rather
than indicating a problem with the IMAP search query.

Aaron
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

RE: Dbmail-export search options
user name
2007-07-20 14:40:35
> -----Original Message-----
> From: dbmail-bouncesdbmail.org
[mailto:dbmail-bouncesdbmail.org] On
> Behalf Of Aaron Stone
> Sent: Friday, July 20, 2007 12:34 PM
> To: DBMail mailinglist
> Subject: RE: [Dbmail] Dbmail-export search options
>
> On Fri, Jul 20, 2007, List Receiver
<listreceivermastermindpro.com>
> said:
>
> >> -----Original Message-----
> >> From: dbmail-bouncesdbmail.org
[mailto:dbmail-bouncesdbmail.org]
> On
> >> Behalf Of Paul J Stevens
> >> Sent: Friday, July 20, 2007 11:38 AM
> >> To: DBMail mailinglist
> >> Subject: Re: [Dbmail] Dbmail-export search
options
> >>
> >> List Receiver wrote:
> >> > I'm trying to use the dbmail-export
feature from 2.2.5 to create
> an
> >> mbox file from a mailbox that only has certain
addresses in the To
> or
> >> From fields.  I'm unfamiliar with how to
format that, and the man
> page
> >> and example from -h hasn't been enough to get
me going.  I've tried
> >> this:
> >> >
> >> > dbmail-export -u user -m "my
box" -s "1 FROM
asdfasdf.com"
> >> >
> >> > That didn't work, however.  It produced a
0 byte file and no error
> >> code.  How do I format an IMAP search string
to select To and From?
> As
> >> well, is there a way to do search strings for
multiple To/From
> >> addresses?  I guess I just need to know how to
do search strings in
> >> IMAP land.  :^)
> >>
> >> dbmail-export -u user -m 'mailbox' -s "OR
(HEADER FROM
> >> asdfasdf.com)(HEADER FROM sdfgsdfg.com)"
> >>
> >
> > Thanks.  This doesn't seem to be working on my
machine.  I have even
> tried a simpler:
> >
> > dbmail-export -u user -m "mailbox" -s
"HEADER FROM asdfasdf.com"
> >
> > ..but the result is an empty file when I am
staring right at an e-
> mail in that mailbox from asdfasdf.com.  I'm perplexed. 
What should I
> try next?
>
> The mailbox name might be case sensitive in
dbmail-export < 2.2.6rc1.
> See
> if that resolves the problem for you. Do you get output
on stderr like:
>
> Exporting [1] mailboxes for [user]
>  export mailbox INBOX -> ./user/INBOX.mbox
>
> or...
>
> Exporting [0] mailboxes for [user]
>
> ..the latter of which means that the mailbox is not
being found, rather
> than indicating a problem with the IMAP search query.
>
> Aaron

I get:

export mailbox /user/mailbox -> user/mailbox

...so it appears to be similar to the correct example you
cite above.



> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )