Assuming I have 2 messages - one with '*Subject: x*' and the other with
'*Subject: y*' - I tried

# test 1 # PASS
$ *rm -rfv /tmp/db1; dbmail-export -u db1 -m Inbox -s '1:* (header subject
y)' -b /tmp*


# test 2 # PASS
$ *rm -rfv /tmp/db1; dbmail-export -u db1 -m Inbox -s '1:* or (header
subject x) (header subject y)' -b /tmp*


# test 3 # HANGS
$ *rm -rfv /tmp/db1; dbmail-export -u db1 -m Inbox -s '1:* and (header
subject x) (header subject y)' -b /tmp*

*removed directory: `/tmp/db1'
Exporting [1] mailboxes for [db1]
 export mailbox INBOX -> /tmp/db1/INBOX.mbox
invalid search string*

# My search is purposely invalid. Since *dbmail-export* knows about the
'*invalid search string*' I propose it can and must self-terminate rather
than hang.



--
View this message in context: 
http://dbmail.10918.n7.nabble.com/DBmail-3-1-7-1-dbmail-export-hangs-with-some-pathological-cases-tp33563.html
Sent from the dbmail users mailing list archive at Nabble.com.
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to