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 [EMAIL PROTECTED]"
> 
> 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
[EMAIL PROTECTED])(HEADER FROM [EMAIL PROTECTED])"

> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to