powermail-discuss Digest #2832 - Tuesday, March 23, 2010 Problem with regex match by "Ben Kennedy" <b...@zygoat.ca> Re: Problem with regex match by "PowerMail Engineering" <jer...@ctmdev.com> Re: Problem with regex match by "Ben Kennedy" <b...@zygoat.ca> Re: Problem with regex match by "MB" <digital.disc...@gmail.com> Re: Problem with regex match by "Ben Kennedy" <b...@zygoat.ca> Re: trying to fix pop gmail problems - report, amount of messages by "MB" <digital.disc...@gmail.com> search index: account not searchable by "MB" <digital.disc...@gmail.com> Re: trying to fix pop gmail problems - report, amount of messages by "MB" <digital.disc...@gmail.com> Bug track list by "MB" <digital.disc...@gmail.com> Bug track list by "MB" <digital.disc...@gmail.com> Re: search index: account not searchable by "PowerMail Engineering" <jer...@ctmdev.com> Re: search index: account not searchable by "MB" <digital.disc...@gmail.com>
---------------------------------------------------------------------- Subject: Problem with regex match From: "Ben Kennedy" <b...@zygoat.ca> Date: Mon, 22 Mar 2010 13:00:46 -0700 Hey all, I am trying to auto-junk attachments whose names are like "image 123.jpg". I have a filter with criterion "[attachment name] [matches the search pattern]" and this pattern: image [0-9]+\.(png|gif|jpg) However, it is not triggering. Any hints? Is my regex bad, or is PM's idea of a regex botched somehow? cheers, -ben -- Ben Kennedy (chief magician) zygoat creative technical services http://www.zygoat.ca ---------------------------------------------------------------------- Subject: Re: Problem with regex match From: "PowerMail Engineering" <jer...@ctmdev.com> Date: Mon, 22 Mar 2010 22:01:46 +0100 Ben Kennedy wrote: >I am trying to auto-junk attachments whose names are like "image >123.jpg". I have a filter with criterion "[attachment name] [matches >the search pattern]" and this pattern: > >image [0-9]+\.(png|gif|jpg) "search pattern" here is not a grep regexp, but a FoxTrot search pattern: <http://www.ctmdev.com/powermail/manual/foxtrot_search_patterns.html> Jérôme - CTM Engineering --------------------------------------------------------------------- "Wow, this is an amazing application. I have been looking for a fast local search tool that provides live previews and FoxTrot does the trick. I often have to search thousands of pages of developer references to find answers and this is the only search program I have found that is worth keeping open on my desktop." FoxTrot Personal Search user comment on www.macupdate.com Download a demo version from www.foxtrot.ch --------------------------------------------------------------------- ---------------------------------------------------------------------- Subject: Re: Problem with regex match From: "Ben Kennedy" <b...@zygoat.ca> Date: Mon, 22 Mar 2010 15:22:53 -0700 PowerMail Engineering wrote at 10:01 PM (+0100) on 3/22/10: >"search pattern" here is not a grep regexp, but a FoxTrot search pattern: ><http://www.ctmdev.com/powermail/manual/foxtrot_search_patterns.html> Damn. Ok, thanks for the clarification. I guess there is no easy way to do this without invoking an applescript or something then. PCRE support would be awesome in a future version... :) b -- Ben Kennedy (chief magician) zygoat creative technical services http://www.zygoat.ca ---------------------------------------------------------------------- Subject: Re: Problem with regex match From: "MB" <digital.disc...@gmail.com> Date: Mon, 22 Mar 2010 23:23:03 +0100 Ben Kennedy asked: >Any hints? Is my regex bad, or is PM's idea of a regex botched somehow? You can do regex with PowerMail Mail filters? Where did this expectation come from? You can read more about the search pattern possibilities used in PowerMail and Foxtrot here: <http://www.ctmdev.com/powermail/manual/ foxtrot_search_patterns.html> MB Technoids: PM 6.0.3 build 4609 sv | OS X 10.5.8 | PowerMac G5 Dual 2.0 | 4GB / 1TB ---------------------------------------------------------------------- Subject: Re: Problem with regex match From: "Ben Kennedy" <b...@zygoat.ca> Date: Mon, 22 Mar 2010 15:35:36 -0700 MB wrote at 11:23 PM (+0100) on 3/22/10: >You can do regex with PowerMail Mail filters? Where did this expectation >come from? I was modifying a previous search pattern I had for months/years which very much resembled a regex (in fact, I think it was valid regex, though by coincidence only); that, and the phrase "search pattern", plus the fact I've been doing a lot of regex searching in BBEdit lately, led me to make that false assumption. (Especially since we're talking in the context of a simple string match and not a database search) -b -- Ben Kennedy (chief magician) zygoat creative technical services http://www.zygoat.ca ---------------------------------------------------------------------- Subject: Re: trying to fix pop gmail problems - report, amount of messages From: "MB" <digital.disc...@gmail.com> Date: Mon, 22 Mar 2010 23:50:04 +0100 I seem to have forgot that Gmail is counting conversations and not messages. I didn't find a way in the web interface of gmail to count the messages, so I let PM connect via IMAP. PM says I have 11.053 messages under "All Mail". I also connected via Mails IMAP. The Mail interface says that I have 11.719. The local messages that received via POP in PowerMail was (is?) about 4.000 as reported earlier. The question mark now is that after I rebuilt the search index, when I search for my main gmail account and "status is incoming" in "all local mail folders" then PM finds nothing. Also a long standing problem. So if initial numbers were correct, then I have about 7.000 messages missing. Or if this is the search index refusing to be repaired or what ever this is, then I can't know for sure. I suppose I have to redownload everything again to a new fresh environment after I have reset POP at gmails server. Again. ---------------------------------------------------------------------- Subject: search index: account not searchable From: "MB" <digital.disc...@gmail.com> Date: Tue, 23 Mar 2010 00:00:08 +0100 After I rebuilt the search index during startup, when I search for my main gmail account and "status is incoming" in "all local mail folders" then PM finds nothing. I can search for words in the subject line or "to/ from" or similar, so the index isn't empty. I can search for "account is not [any account name]". In the search results, the "account" column is empty. In the regular interface accounts are visible. So "account" doesn't seem to be a part of the search index. How can I verify that the search index is healthy? MB Technoids: PM 6.0.3 build 4609 sv | OS X 10.5.8 | PowerMac G5 Dual 2.0 | 4GB / 1TB ---------------------------------------------------------------------- Subject: Re: trying to fix pop gmail problems - report, amount of messages From: "MB" <digital.disc...@gmail.com> Date: Tue, 23 Mar 2010 00:31:44 +0100 I said earlier: >PM says I have 11.053 messages under "All Mail". I also connected via >Mails IMAP. The Mail interface says that I have 11.719. Whooray! Mail hung and I force-quitted. After reconnection also Mail says that I have 11.053 messages on my problem-ridden gmail account. Finally something that adds up. MB Technoids: PM 6.0.3 build 4609 sv | OS X 10.5.8 | PowerMac G5 Dual 2.0 | 4GB / 1TB ---------------------------------------------------------------------- Subject: Bug track list From: "MB" <digital.disc...@gmail.com> Date: Tue, 23 Mar 2010 04:08:56 +0100 As I haven't heard of an official bug list, here's my list of known PowerMail bugs in *no particular order*. The list is offered as a tracking device only to be built upon and be verified by you, the user. It's not a wish list for fixes, just a description of the bugs and info on how to reproduce, if available. Please, do verify if you can reproduce these in your set up and report to the list (and to CTM if you want. Remember to include reproducable steps and OS and PM version). Feel free to add bugs, if you know of any. Discussions on which is a bug or not or further discussions on a specific bug, in a new individual subject please. PowerMail Bug Track List Unwanted or reasonably unexpected behaviour in PowerMail (note that some have been fixed): # 1 When searching from the dialog "Search Messages" in a specific folder or a selection of folders with at least one of these *not* displaying read messages ( as set from the view menu), the results should include those read messages that was visibly hidden. As of now read messages are not included in the resulting set even as those do meet the search criteria. It's like having an invisible criteria 'status is "unread" ' added to your search unbeknown to the user. This includes when you have selected the folder in question in the "Folder List" window, where you cannot set "view unread". Searches in "all local mail folders" do not display this behaviour and include also read messages, even if the folder in question containing the messages has been set to "view unread" only. The same goes for the function "view thread". #2- ? fixed? - messages sent from Microsofts Entourage application will display certain characters wrongly like " ' ", "", showing these like numbers instead: "It1s looking like a 2bug3" (instead of ' It's looking like a "bug" '). #3 When Powermail prematurely loses a connection while downloading new messages, PM can't keep track of what messages actually have been downloaded and will attempt to re-download some of these, resulting in duplicate messages. This may be the result of certain mailserver interactions, but it's not limited to one specific type of server. #4 under some circumstances some messages may never be downloaded for whatever reasons. This bug may or may not be related to the feature of partially downloaded messages. This may be the result of certain mailserver interactions. This bug may be rare and intermittent. #5- ? fixed - inactivation of active message window when a connection is made in the background. Gone now isn't it? #6 Option-Shift + arrow-key doesn't select words in the subject field as is expected Mac behaviour and is what PM properly do in the message body. #7 If reading messages with HTML-display set to always on in preferences, when deleting with option-click on the next message arrow the HTML should display on the next message as well and not as it do now, default back to non-HTML display. #8 - Fixed? -A click on the toolbar reply icon when having a selection of multiple messages in some windows should not cause a crash. This is an intermittent problem, however. I'm not sure how to reproduce it. #9 Some HTML messages will only print the headers and not the content. Messages made with the software "Roving Constant Contact 2009" seem to be able to cause this. Comment: Most HTML messages do seem to be able to print properly, but it would have been nice to be able to exclude the header, for when that's not needed. #10 When a message have been a draft for some time; and optionally have been edited; and/or having its status changed to "waiting"; and the SMTP server have been changed in the "Mail Scheduling and Connections" since the creation of the draft, the old SMTP server of the MSC-settings will be used in addition to the current server set in the email account, even as the old SMTP server is not set in the current location in the settings of "Mail Scheduling and Connections" nor is it the one in the email account SMTP settings. MB ---------------------------------------------------------------------- Subject: Bug track list From: "MB" <digital.disc...@gmail.com> Date: Tue, 23 Mar 2010 04:08:56 +0100 As I haven't heard of an official bug list, here's my list of known PowerMail bugs in *no particular order*. The list is offered as a tracking device only to be built upon and be verified by you, the user. It's not a wish list for fixes, just a description of the bugs and info on how to reproduce, if available. Please, do verify if you can reproduce these in your set up and report to the list (and to CTM if you want. Remember to include reproducable steps and OS and PM version). Feel free to add bugs, if you know of any. Discussions on which is a bug or not or further discussions on a specific bug, in a new individual subject please. PowerMail Bug Track List Unwanted or reasonably unexpected behaviour in PowerMail (note that some have been fixed): # 1 When searching from the dialog "Search Messages" in a specific folder or a selection of folders with at least one of these *not* displaying read messages ( as set from the view menu), the results should include those read messages that was visibly hidden. As of now read messages are not included in the resulting set even as those do meet the search criteria. It's like having an invisible criteria 'status is "unread" ' added to your search unbeknown to the user. This includes when you have selected the folder in question in the "Folder List" window, where you cannot set "view unread". Searches in "all local mail folders" do not display this behaviour and include also read messages, even if the folder in question containing the messages has been set to "view unread" only. The same goes for the function "view thread". #2- ? fixed? - messages sent from Microsofts Entourage application will display certain characters wrongly like " ' ", "", showing these like numbers instead: "It1s looking like a 2bug3" (instead of ' It's looking like a "bug" '). #3 When Powermail prematurely loses a connection while downloading new messages, PM can't keep track of what messages actually have been downloaded and will attempt to re-download some of these, resulting in duplicate messages. This may be the result of certain mailserver interactions, but it's not limited to one specific type of server. #4 under some circumstances some messages may never be downloaded for whatever reasons. This bug may or may not be related to the feature of partially downloaded messages. This may be the result of certain mailserver interactions. This bug may be rare and intermittent. #5- ? fixed - inactivation of active message window when a connection is made in the background. Gone now isn't it? #6 Option-Shift + arrow-key doesn't select words in the subject field as is expected Mac behaviour and is what PM properly do in the message body. #7 If reading messages with HTML-display set to always on in preferences, when deleting with option-click on the next message arrow the HTML should display on the next message as well and not as it do now, default back to non-HTML display. #8 - Fixed? -A click on the toolbar reply icon when having a selection of multiple messages in some windows should not cause a crash. This is an intermittent problem, however. I'm not sure how to reproduce it. #9 Some HTML messages will only print the headers and not the content. Messages made with the software "Roving Constant Contact 2009" seem to be able to cause this. Comment: Most HTML messages do seem to be able to print properly, but it would have been nice to be able to exclude the header, for when that's not needed. #10 When a message have been a draft for some time; and optionally have been edited; and/or having its status changed to "waiting"; and the SMTP server have been changed in the "Mail Scheduling and Connections" since the creation of the draft, the old SMTP server of the MSC-settings will be used in addition to the current server set in the email account, even as the old SMTP server is not set in the current location in the settings of "Mail Scheduling and Connections" nor is it the one in the email account SMTP settings. MB ---------------------------------------------------------------------- Subject: Re: search index: account not searchable From: "PowerMail Engineering" <jer...@ctmdev.com> Date: Tue, 23 Mar 2010 09:35:38 +0100 MB wrote: >After I rebuilt the search index during startup, when I search for my >main gmail account and "status is incoming" in "all local mail folders" >then PM finds nothing. I can search for words in the subject line or "to/ >from" or similar, so the index isn't empty. > >I can search for "account is not [any account name]". In the search >results, the "account" column is empty. In the regular interface >accounts are visible. So "account" doesn't seem to be a part of the >search index. > >How can I verify that the search index is healthy? Try to "verify the consistency" of the database by pressing the command and option key during PM startup. Also, if you have deleted then re- created a mail account, messages retrieved with the old account are no longer associated with a mail account. Jérôme - CTM Engineering --------------------------------------------------------------------- "Incredibly powerful and useful. If you're thinking "Yeah, I have Spotlight, and it was free" then think again. FoxTrot is instantaneous. It lets you do those good boolean searches that Spotlight makes impossible to do (or to remember how to do). I can't believe how fast it finds Mail messages, and then shows me the subject line, mailbox location, and the full text of the message in preview." FoxTrot Personal Search user comment on www.macupdate.com Download a demo version from www.foxtrot.ch --------------------------------------------------------------------- ---------------------------------------------------------------------- Subject: Re: search index: account not searchable From: "MB" <digital.disc...@gmail.com> Date: Tue, 23 Mar 2010 18:30:39 +0100 PowerMail Engineering suggested: >Try to "verify the consistency" of the database by pressing the command >and option key during PM startup. I thought I did that the first time around, but doing this again corrected the problem. I can now search for a specific account or "is not" with the expected results. Thanks! MB Technoids: PM 6.0.3 build 4609 sv | OS X 10.5.8 | PowerMac G5 Dual 2.0 | 4GB / 1TB ---------------------------------------------------------------------- End of powermail-discuss Digest