Re: [MlMt] Workaround for sending a link from Safari via MailMate

2016-01-29 Thread Vlad Ghitulescu

Hello!


On 28 Jan 2016, at 21:02, Vlad Ghitulescu wrote:


On 28 Jan 2016, at 9:27, Benny Kjær Nielsen wrote:


On 28 Jan 2016, at 7:18, Vlad Ghitulescu wrote:


I changed the defaultmailer to mailmate yesterday and went to bed. 
The first thing in the morning was to check what the defaultmailer 
is and… it was mail again! :-(



In my experience it only takes a few seconds to revert -- and then 
some times it suddenly sticks.


I'm still trying… it reverts after a while to mail, even when 
nothing happens in between.


After a couple of time setting the default-mail-client to MailMate via 
Terminal I've got the attached message from MailMate.


After clicking on OK (what else?! ;-) **the mail-client didn't change 
back anymore to mail!**


It looks like we have a solution! ;-)


Regards,
Vlad


___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Workaround for sending a link from Safari via MailMate

2016-01-29 Thread Benny Kjær Nielsen

On 28 Jan 2016, at 21:58, David Shepherdson wrote:


On 27 Jan 2016, at 19.32, Benny Kjær Nielsen wrote:

I don't think there is a better way and this is also why I dislike 
the “digest” option for anything but read-only usage.


I was going to write that there is no formal digest format, but it 
appears an [RFC](https://tools.ietf.org/html/rfc1153) actually 
describes a somewhat standard format. If the `Message-ID` is provided 
for each message then the problem appears to be that MailMate is not 
smart enough to handle these digest messages. When replying to a 
digest message then MailMate should identify its subparts and ask the 
user which one to reply to. It should then setup the correct subject 
line, in-reply-to header, skip the subject-warning, etc.


It turns out, there *is* actually a way to do this in MailMate, I’ve 
found: the All Messages folder has an All Message Subparts sub-folder, 
in which each individual message from a digest appears. This seems to 
be a ‘special’ folder (in that I can’t see any setting in the 
Edit Mailbox view that makes it work like this, or a way to set up one 
of these in the Mailing Lists smart folder, for example), but it works 
— I can select an individual message and reply to it (like I am with 
this one!).


Oh, I actually thought the digest format was one single body part. In 
this case, MailMate could also make it easier by providing more options 
in the context sensitive menu of an embedded message. I'll keep that in 
mind.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] different font-type for From/To/Subject in the message-list?

2016-01-29 Thread Benny Kjær Nielsen

On 29 Jan 2016, at 6:13, Vlad Ghitulescu wrote:

Is there any way to choose a different type / type-size for different 
parts of the message-list, like a smaller type for the subject etc.?


No, there's no way to do that. I'm assuming what you primarily want is a 
more horizontally compact message list as seen in many other email 
clients. I don't oppose such a feature and it's on my list, but I cannot 
provide a time frame. It's a major feature.


Your only option is to decrease the font size of the entire message 
list.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Workaround for sending a link from Safari via MailMate

2016-01-29 Thread Benny Kjær Nielsen

On 29 Jan 2016, at 11:01, Vlad Ghitulescu wrote:

After a couple of time setting the default-mail-client to MailMate via 
Terminal I've got the attached message from MailMate.


That's a sign that the change finally stuck.

After clicking on OK (what else?! ;-) **the mail-client didn't change 
back anymore to mail!**


It looks like we have a solution! ;-)


Well, the “solution” was to be persistent. The message shown by 
MailMate is just a side effect (and it wouldn't have happened if 
MailMate itself had been used to switch email client).


Let's hope you don't need to switch back ;-)

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] different font-type for From/To/Subject in the message-list?

2016-01-29 Thread Vlad Ghitulescu

On 29 Jan 2016, at 11:21, Benny Kjær Nielsen wrote:


On 29 Jan 2016, at 6:13, Vlad Ghitulescu wrote:

Is there any way to choose a different type / type-size for different 
parts of the message-list, like a smaller type for the subject etc.?


No, there's no way to do that. I'm assuming what you primarily want is 
a more horizontally compact message list as seen in many other email 
clients.


Something like that, yes. I would like to squeeze more of the 
subject-line in the message-list by letting the other fields (From, To, 
Date etc.) unchanged.



I don't oppose such a feature and it's on my list, but I cannot 
provide a time frame. It's a major feature.


It's good to know that's on your list.


Your only option is to decrease the font size of the entire message 
list.


Yes, I already done this.

Thanks!


Regards,
Vlad


___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Workaround for sending a link from Safari via MailMate

2016-01-29 Thread Vlad Ghitulescu
On 29 Jan 2016, at 11:24, Benny Kjær Nielsen wrote:

> Let's hope you don't need to switch back ;-)

I think we both know this by now, don't we?! ;-)
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


[MlMt] Filters

2016-01-29 Thread PhilDobbin

Hi, all.

I'm evaluating MailMate & am seriously impressed.

One thing however I found odd is the inability to filter messages from 
the Inbox to selected folders.


Is there anyway to filter messages from the Inbox into designated folders?

I'm using Gmail, OS X 10.10.5 & the demo version of MailMate.

Any help appreciated.

Cheers,

Phil...

--
GnuGPG Key : http://phildobbin.org/publickey.asc

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Filters

2016-01-29 Thread Thomas Eckhold
Go to the General preferences pane and enable the 2.0 experimental 
features. Then double-click the mailbox for which you need to add rules 
(Inbox) and notice the Rules pane. Is it that what you are looking for?


--Thomas

On 29 Jan 2016, at 12:08, PhilDobbin wrote:


Hi, all.

I'm evaluating MailMate & am seriously impressed.

One thing however I found odd is the inability to filter messages from 
the Inbox to selected folders.


Is there anyway to filter messages from the Inbox into designated 
folders?


I'm using Gmail, OS X 10.10.5 & the demo version of MailMate.

Any help appreciated.

Cheers,

 Phil...

--
GnuGPG Key : http://phildobbin.org/publickey.asc

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] starting with an active row - bug or feature?

2016-01-29 Thread Vlad Ghitulescu

On 28 Jan 2016, at 22:10, David Shepherdson wrote:


On 29 Jan 2016, at 07.10, Vlad Ghitulescu wrote:

As I mentioned in the previous thread, I'm using the BBEdit-command 
in MailMate.


One thing that's a bit annoying is that after the tab BBEdit starts 
with the cursor in the first row **and the whole row active** (as 
after CMD-L in BBEdit respectively CMD-left arrow & CMD-SHIFT-right 
arrow in every other OS X text editor).


I’m also using the BBEdit command (but not automatically — I use a 
keyboard shortcut when I want to edit a particular message using 
BBEdit), and I also see this behaviour. I think it is a feature, so 
that you are taken to the same line in BBEdit as the cursor was on in 
MailMate; it’s just that BBEdit selects the line, rather than simply 
moving to it.


One way to stop this would be to edit the file:

~/Library/Application 
Support/MailMate/Managed/Bundles/BBEdit.mmbundle/Support/bin/edit


…and remove the ‘+${MM_LINE_NUMBER}’ part.


That was it (again! ;-)
Thanks!


Otherwise, it’s probably a feature request to Bare Bones Software 
for a way to go to a line from the bbedit tool without selecting it 
(like the built-in Go To Line command does).


I'll do this too, why not?!



David


Thanks again!
Vlad
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Filters

2016-01-29 Thread Fredrik Jonsson

PhilDobbin 2016-01-29 20:08 wrote:

One thing however I found odd is the inability to filter messages from 
the Inbox to selected folders.


Others have talked how rules works in MailMate.

I used to have a lot of rules in clients I had before MailMate. With 
MailMate that have changed.


Since the smart folders are really smart and flexible I now just archive 
all my mails in "Archive". I then use smart folders to group messages I 
want quick access to.


With smart folders a messages can "appear" in any number of "folders", a 
person folder, a company folder and a project folder. This was always a 
problem when I used rules to move messages to real folders.


I have set up my own key bindings so “i” will select the inbox, 
“a” will archive mail, “d” will delete them, “f” flag them 
and “r” for making a reply. This takes care of most of my mail 
interaction and leave my inbox empty and nice.


Fredrik
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Filters

2016-01-29 Thread Benny Kjær Nielsen

On 29 Jan 2016, at 12:17, Thomas Eckhold wrote:

Go to the General preferences pane and enable the 2.0 experimental 
features.


Just to clarify. It's actually no longer necessary to do this to get the 
Rules pane. (This setting is currently almost meaningless.)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Is Security.plist broken in r5187?

2016-01-29 Thread Philip Paeps

On 2016-01-27 09:12:24 (+0100), Philip Paeps  wrote:
On 2015-11-28 09:25:50 (+0100), Philip Paeps  
wrote:
On 2015-11-28 12:59:18 (+0530), Benny Kjær Nielsen 
 wrote:

On 28 Nov 2015, at 8:17, Philip Paeps wrote:
I just noticed that MailMate r5187 is not respecting my PGP 
uid->keyid mappings in Security.plist.

It was working for me last week.  Did something break? :)


I noticed today that this is still broken.  Actually, I'm not sure if 
it's "still" or "again".  I haven't been exchanging much email relying 
on the configuration in Security.plist.


This turned out to be my fault.  I introduced a syntax error in my 
Security.plist around the same time as r5187 came out.  Thanks for 
helping me debug this, Benny!


If anyone else runs into this sort of thing: don't use #-comments in 
your Security.plist and run `plutil -lint` on it if in doubt!


Philip

--
Philip Paeps
Senior Reality Engineer
Ministry of Information
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Any way to reload MmMessagesWebView/stylesheet.css at runtime?

2016-01-29 Thread Benny Kjær Nielsen

On 27 Jan 2016, at 23:56, Philip Paeps wrote:

While tinkering with my PGP-mystery earlier today, I discovered that 
my hacked up stylesheet.css has left me with a bright yellow box / 
frame on a cream background in some cases (partially signed messages).


How would I go about changing the style of partially signed messages?  
I am guessing it's something like this but with different `type=` and 
`subtype=` parameters.


div.bodypart[type=message][subtype=rfc822] { }


No, that would target embedded emails (“Forward as Attachment”).

I think you can target a signed part like this:

div.bodypart[type=multipart][subtype=signed] { }

But the yellow border is currently hardcoded as can be seen in this part 
of the generated HTML:



		subtype="mixed" disposition="inline">
			
subtype="signed" disposition="inline">


It was a quick hack to make sure that MailMate clearly indicates if 
someone has taken a signed email and extended its content with unsigned 
body part(s). This is essentially what often happens on the mailing list 
when the footer is added.


I've now changed it such that you can style it with a custom stylesheet. 
Look for `div.security` in the default stylesheet. I haven't changed how 
it looks (which is pretty ugly). You are welcome to share it if you come 
up with something better.


Off topic related security fact:

Last time I checked, Apple Mail handled this incorrectly for S/MIME 
messages. I reported it 3 years ago and it was marked as a duplicate, 
but it's still an open bug. I guess that means they don't think it's 
important and that I can share this information publicly...


Checking again I can see that this is still a problem on El Capitan. My 
example message was an email from an Apple employee sent to a mailing 
list. I extended it with some additional text and an attachment. These 
parts are naturally unsigned, but Apple Mail displays it like everything 
is signed.


At least it appears it's not possible to put the unsigned content before 
the signed content. It doesn't trigger a warning, but Apple Mail then 
simply ignores that the message has signed parts at all. I just realized 
that it *is* possible to make the signed part appear as an attachment. 
By providing a filename then it's even possible to make it appear as if 
it's some kind of failed logo. It looks like this:


![](cid:B0EE9917-CB68-45C8-A59E-FBC72771415A@freron.com 
"apple_mail_example.png")


There are no limits with regard to the text or attachments added to this 
message.


I haven't checked any other email clients, but I doubt it's a common 
issue. I'm guessing most email clients would just ignore that the email 
is signed and/or encrypted. Also don't interpret it as me stating that 
MailMate is more secure than Apple Mail. MailMate has its own issues and 
I know Apple has plenty of security experts much more capable than I am. 
(I do think one of them should fix this bug though.)


Note that the Apple employee used in my example is completely unrelated 
to the issue itself. He's not to blame. I just needed a publicly 
available email to construct a convincing example.


I have attached the example email if anyone wants to try it out in Apple 
Mail or other email clients. That should also test how MailMate handles 
it...


...and this shows that MailMate does not like the `attachment` 
disposition of the `multipart/signed` body part. It is shown both inline 
(as it should) and as an attachment (which is shouldn't). Worse, 
clicking “Quick Look” shows the wrong attachment.


I've fixed these bugs and I've added a new feature: The context 
sensitive menu now includes a “Detach Message” menu item. This 
extracts the attached email and puts it in the same mailbox. It is also 
automatically selected. This is also useful for the “digest message” 
issue discussed recently on the mailing list.


Hold down ⌥ when clicking “Check Now” in the Software Update 
preferences pane to get the test release.



A few more comments in stylesheet.css would be helpful. :)


Apparently I'm too busy ranting on the mailing list :-)

--
Benny
--- Begin Message ---
I’ve noticed that in some systems when you send a message via SMTP, it will put 
a copy in the user’s Sent mailbox.  Most of them don’t however, necessitating 
that I do an IMAP APPEND to get the message in Sent.  Is there a good/any way 
to tell when the APPEND is necessary?  Right now I’m doing it all the time 
which is resulting in double copies in the Sent mailbox for systems that do it 
automatically.

Ian

smime.p7s
Description: S/MIME cryptographic signature


This text is unsigned. It's really bad if it appears as signed by the email 
client...
The same goes for attachments.
--- End Message ---
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Any way to reload MmMessagesWebView/stylesheet.css at runtime?

2016-01-29 Thread Philip Paeps
On 2016-01-29 16:08:33 (+0100), Benny Kjær Nielsen 
 wrote:

On 27 Jan 2016, at 23:56, Philip Paeps wrote:
How would I go about changing the style of partially signed messages? 
 I am guessing it's something like this but with different `type=` 
and `subtype=` parameters.


div.bodypart[type=message][subtype=rfc822] { }


No, that would target embedded emails (“Forward as Attachment”).

[...]

It was a quick hack to make sure that MailMate clearly indicates if 
someone has taken a signed email and extended its content with 
unsigned body part(s). This is essentially what often happens on the 
mailing list when the footer is added.


I really like this feature, quick hack or no!  It's nice to be able to 
distinguish in a message with some parts signed and some parts not, 
which parts and signed (and whether I can trust them).  The 
green/yellow/red borders around different parts of the message are 
great.  Except with my stylesheet.css tinkering I got very low-contrast 
bright yellow on dim yellow.


Note that this message is actually a good example: the Apple security 
mail you included was signed and MailMate shows exactly which parts are 
signed and which parts aren't.  Excellent.


I've now changed it such that you can style it with a custom 
stylesheet. Look for `div.security` in the default stylesheet. I 
haven't changed how it looks (which is pretty ugly). You are welcome 
to share it if you come up with something better.


Thanks!  I'll tinker with this some more (see if I can make the yellow 
on yellow go away) and share my diff against stylesheet.css in case 
anyone wants it.


At least it appears it's not possible to put the unsigned content 
before the signed content. It doesn't trigger a warning, but Apple 
Mail then simply ignores that the message has signed parts at all.


Arguably, being able to prepend or append data without clear indication 
that this has been done is equally bad.  Imagine an email with a signed 
invoice which has been intercepted and mangled by an attacker to include 
"please pay XXX to our account " below the invoice.  Contrived 
example perhaps, but it's Friday afternoon, I couldn't think of anything 
better.


I just realized that it *is* possible to make the signed part appear 
as an attachment. By providing a filename then it's even possible to 
make it appear as if it's some kind of failed logo. [...]


Oops.  That is terrible.  That makes it look like the whole message has 
been signed.  If all you need to make a whole message look like it's 
signed by a trustworthy sender, is any trusted message from such a 
sender, you can cause a lot of trouble.


I haven't checked any other email clients, but I doubt it's a common 
issue. I'm guessing most email clients would just ignore that the 
email is signed and/or encrypted.


The only other client I have significant experience with is Mutt, which 
like MailMate tells you the status of each part of multipart messages.  
Something like:


[-- Attachment #1 --]
[-- Type: multipart/signed, Encoding: 7bit, Size: 1.5K --]

[-- PGP output follows (current time: Fri Jan 29 16:30:28 2016) --]
This is the literal output from gpg --verify.  Mutt allows you to
highlight based on regular expressions so it's easy to highlight
whether the signature is good or bad and what's wrong with it if
it's bad.
[-- End of PGP output --]

[-- The following data is signed --]

The signed part is here.  If there are multiple signed parts, they
are individually delimited with [-- --] markers like this.

[-- End of signed data --]

[-- Attachment #2 --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.1K --]

This would be a mailing list footer for instance.

Mutt displays OpenPGP and S/MIME signed messages identically (only with 
the output from OpenSSL rather than GnuPG, obviously).  It's pretty 
clear to identify which parts are signed and which parts aren't.


Also don't interpret it as me stating that MailMate is more secure 
than Apple Mail.


As far as PGP and S/MIME go, I think you're doing a much better job than 
Mail.app.  It's very important to be able to tell which parts are signed 
and which parts aren't in a complex multipart message.  Being able to 
make a whole message appear to be signed by including a signed 
attachment is simply terrible.


I have attached the example email if anyone wants to try it out in 
Apple Mail or other email clients. That should also test how MailMate 
handles it...


I've looked at this message in Mutt.  It's pretty clear which part is 
signed and which part isn't.  My Mutt doesn't have access to root 
certificates (I get very little S/MIME mail, and those people I get it 
from, are explicitly trusted) so it can't tell me anything about how 
trustworthy the signed part is, but it tells me which part it is.


[-- Attachment #3: The world is going under tomorrow.eml --]
[-- Type: message/rfc822, Encoding: 7bit, Size: 7.3K --]

Date: Sun,

[MlMt] How I use keybindings to make it easier for me to handle email

2016-01-29 Thread Jan Erik Moström
I like an empty inbox and I finally figured out how I can take advantage of
keybindings to make it easier to get there.

I wrote up a description in case someone else needs some help with doing
the same thing.

http://mostrom.eu/2016/01/29/using-keybindings-in-mailmate/

- jem
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] How I use keybindings to make it easier for me to handle email

2016-01-29 Thread Barton Lipman
Very nice.  Thanks for posting this.

Bart


On 29 Jan 2016, at 13:00, Jan Erik Moström wrote:

> I like an empty inbox and I finally figured out how I can take advantage of
> keybindings to make it easier to get there.
>
> I wrote up a description in case someone else needs some help with doing
> the same thing.
>
> http://mostrom.eu/2016/01/29/using-keybindings-in-mailmate/
>
> - jem
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> http://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Any way to reload MmMessagesWebView/stylesheet.css at runtime?

2016-01-29 Thread David Shepherdson

On 30 Jan 2016, at 02.08, Benny Kjær Nielsen wrote:

I've fixed these bugs and I've added a new feature: The context 
sensitive menu now includes a “Detach Message” menu item. This 
extracts the attached email and puts it in the same mailbox. It is 
also automatically selected. This is also useful for the “digest 
message” issue discussed recently on the mailing list.


Excellent, thanks Benny — just tried this and it works really well!

David
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


[MlMt] Update to Visualize bundle

2016-01-29 Thread Sherif Soliman

Hello MailMate users,

I pushed an update to the Visualize bundle today and thanks to Benny it 
is now available through the Bundles tab in MailMate Preferences.


Visualize lets you, well, visualize your email history. You can select a 
few messages (or a lot, I've tested it with up to 20,000 emails**), and 
plot those emails by sender or over time. You can also save those plots 
to pngs for archiving or sharing.


The update adds a line plot of daily totals to the Emails by Time page. 
You can choose the color for the scatterplot and line plot, and can also 
apply a moving mean to the line plot if the graph covers a large section 
of time.


https://github.com/sheriferson/Visualize.mmBundle/blob/master/screenshots/by_time_scatterplot.png

https://github.com/sheriferson/Visualize.mmBundle/blob/master/screenshots/by_time_scatterplot_pink_movmean.png

Next up on my list is creating a statistics page that gives you 
different summaries/notes about the emails you selected, plotting by 
month and by year in Emails by Time (if the emails span more than one 
year), and visualizing recipient of emails, which is a bit trickier than 
visualizing the senders because each email has only one sender, but 
potentially many recipients.


Let me know if you have any feedback. You can report any issues on the 
bundle's GitHub issues page:

https://github.com/sheriferson/Visualize.mmBundle/issues

Cheers,

Sherif

** I've actually tested it with over 100,000 messages, but it starts to 
take a few seconds longer to process and render at that point. Your 
mileage will vary depending on your machine.

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate