Re: [MlMt] Gmail source is unavailable

2016-05-09 Thread Gary Hull

On 10 May 2016, at 4:10, Adam Liter wrote:

Since getting home and since connecting to a few other networks, I 
have continued to be unable to get MailMate to access Gmail via IMAP. 
It continually says that it is unavailable.


You can use telnet via a terminal window or telnet app to test IMAP. For 
instance:


https://technet.microsoft.com/en-us/library/dd789687(v=exchg.80).aspx

That will at least eliminate one possibility.
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Gmail source is unavailable

2016-05-09 Thread Adam Liter
Hmm, doing openssl s_client -connect imap.gmail.com:imaps seems to work
just fine.

I did also try your suggestion of explicitly specifying port 993, and that
seems to fix the problem. I'm not sure why I now need to specify it since
I've never had to do so in the past.

Thanks for the suggestion!

-Adam

On Mon, May 9, 2016 at 10:15 PM, Steven M. Bellovin 
wrote:

> If you're doing 'telnet imap.gmail.com imap' you're trying for the
> unencrypted IMAP port. I don't think Google supports that. Asking
> for 993 or the imaps protocol gets the encrypted version -- but you
> can't comprehensibly talk to that port via telnet. Try
> openssl s_client -connect imap.gmail.com:imaps
> instead.
> For your underlying problem, you may want to go to "Edit IMAP Account"
> and explicitly specify port 993. You shouldn't have to, but...
> On 9 May 2016, at 21:55, Adam Liter wrote:
>
> Sorry for sending a couple of emails in a row, but it seems that this is
> actually the behavior that I'm seeing:
>
> $ telnet imap.gmail.com 993
> Trying 2607:f8b0:4001:c08::6c...
> Connected to gmail-imap.l.google.com.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> So, unlike I said in the previous email, telnet imap.gmail.com 993 does
> not seem to be working either.
>
> Running telnet imap.gmail.com imap still just seems to hang and never
> gets to a point where a foreign host can close the connection.
>
> Thanks.
>
> -Adam Liter
>
>
> On Mon, May 9, 2016 at 9:44 PM, Adam Liter  wrote:
>
>> Actually, it seems that telnet imap.gmail.com 993 actually works for me
>> to connect, whereas telnet imap.gmail.com imap just hangs. So perhaps
>> the port forwarding on my laptop has somehow been messed up for just Gmail?
>>
>> I don't know much about this, so I'd appreciate any suggestions.
>>
>> Thanks again!
>>
>> -Adam Liter
>>
>> On Mon, May 9, 2016 at 9:41 PM, Adam Liter  wrote:
>>
>>> Hmm, interesting. With telnet imap.gmail.com imap everything just seems
>>> to hang, but when I try, for example, telnet mail.riseup.net imap
>>> everything seems to work fine.
>>>
>>> Thanks for this initial suggestion for help with debugging. Do you have
>>> any further idea what the problem might be?
>>>
>>> -Adam Liter
>>>
>>> On Mon, May 9, 2016 at 9:34 PM, Gary Hull  wrote:
>>>
 On 10 May 2016, at 4:10, Adam Liter wrote:

 Since getting home and since connecting to a few other networks, I have
> continued to be unable to get MailMate to access Gmail via IMAP. It
> continually says that it is unavailable.
>

 You can use telnet via a terminal window or telnet app to test IMAP.
 For instance:

 https://technet.microsoft.com/en-us/library/dd789687(v=exchg.80).aspx

 That will at least eliminate one possibility.
 ___
 mailmate mailing list
 mailmate@lists.freron.com
 https://lists.freron.com/listinfo/mailmate

>>>
>>>
>>
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> https://lists.freron.com/listinfo/mailmate
>
> --Steve Bellovin, https://www.cs.columbia.edu/~smb
>
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> https://lists.freron.com/listinfo/mailmate
>
>
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Gmail source is unavailable

2016-05-09 Thread Steven M. Bellovin
If you're doing 'telnet imap.gmail.com imap' you're trying for the
unencrypted IMAP port.  I don't think Google supports that.  Asking
for 993 or the imaps protocol gets the encrypted version -- but you
can't comprehensibly talk to that port via telnet.  Try

openssl s_client -connect imap.gmail.com:imaps

instead.

For your underlying problem, you may want to go to "Edit IMAP Account"
and explicitly specify port 993.  You shouldn't have to, but...

On 9 May 2016, at 21:55, Adam Liter wrote:

> Sorry for sending a couple of emails in a row, but it seems that this is
> actually the behavior that I'm seeing:
>
> $ telnet imap.gmail.com 993
> Trying 2607:f8b0:4001:c08::6c...
> Connected to gmail-imap.l.google.com.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> So, unlike I said in the previous email, telnet imap.gmail.com 993 does not
> seem to be working either.
>
> Running telnet imap.gmail.com imap still just seems to hang and never gets
> to a point where a foreign host can close the connection.
>
> Thanks.
>
> -Adam Liter
>
>
> On Mon, May 9, 2016 at 9:44 PM, Adam Liter  wrote:
>
>> Actually, it seems that telnet imap.gmail.com 993 actually works for me
>> to connect, whereas telnet imap.gmail.com imap just hangs. So perhaps the
>> port forwarding on my laptop has somehow been messed up for just Gmail?
>>
>> I don't know much about this, so I'd appreciate any suggestions.
>>
>> Thanks again!
>>
>> -Adam Liter
>>
>> On Mon, May 9, 2016 at 9:41 PM, Adam Liter  wrote:
>>
>>> Hmm, interesting. With telnet imap.gmail.com imap everything just seems
>>> to hang, but when I try, for example, telnet mail.riseup.net imap
>>> everything seems to work fine.
>>>
>>> Thanks for this initial suggestion for help with debugging. Do you have
>>> any further idea what the problem might be?
>>>
>>> -Adam Liter
>>>
>>> On Mon, May 9, 2016 at 9:34 PM, Gary Hull  wrote:
>>>
 On 10 May 2016, at 4:10, Adam Liter wrote:

 Since getting home and since connecting to a few other networks, I have
> continued to be unable to get MailMate to access Gmail via IMAP. It
> continually says that it is unavailable.
>

 You can use telnet via a terminal window or telnet app to test IMAP. For
 instance:

 https://technet.microsoft.com/en-us/library/dd789687(v=exchg.80).aspx

 That will at least eliminate one possibility.
 ___
 mailmate mailing list
 mailmate@lists.freron.com
 https://lists.freron.com/listinfo/mailmate

>>>
>>>
>>


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



--Steve Bellovin, https://www.cs.columbia.edu/~smb

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


Re: [MlMt] Gmail source is unavailable

2016-05-09 Thread Adam Liter
Sorry for sending a couple of emails in a row, but it seems that this is
actually the behavior that I'm seeing:

$ telnet imap.gmail.com 993
Trying 2607:f8b0:4001:c08::6c...
Connected to gmail-imap.l.google.com.
Escape character is '^]'.
Connection closed by foreign host.

So, unlike I said in the previous email, telnet imap.gmail.com 993 does not
seem to be working either.

Running telnet imap.gmail.com imap still just seems to hang and never gets
to a point where a foreign host can close the connection.

Thanks.

-Adam Liter


On Mon, May 9, 2016 at 9:44 PM, Adam Liter  wrote:

> Actually, it seems that telnet imap.gmail.com 993 actually works for me
> to connect, whereas telnet imap.gmail.com imap just hangs. So perhaps the
> port forwarding on my laptop has somehow been messed up for just Gmail?
>
> I don't know much about this, so I'd appreciate any suggestions.
>
> Thanks again!
>
> -Adam Liter
>
> On Mon, May 9, 2016 at 9:41 PM, Adam Liter  wrote:
>
>> Hmm, interesting. With telnet imap.gmail.com imap everything just seems
>> to hang, but when I try, for example, telnet mail.riseup.net imap
>> everything seems to work fine.
>>
>> Thanks for this initial suggestion for help with debugging. Do you have
>> any further idea what the problem might be?
>>
>> -Adam Liter
>>
>> On Mon, May 9, 2016 at 9:34 PM, Gary Hull  wrote:
>>
>>> On 10 May 2016, at 4:10, Adam Liter wrote:
>>>
>>> Since getting home and since connecting to a few other networks, I have
 continued to be unable to get MailMate to access Gmail via IMAP. It
 continually says that it is unavailable.

>>>
>>> You can use telnet via a terminal window or telnet app to test IMAP. For
>>> instance:
>>>
>>> https://technet.microsoft.com/en-us/library/dd789687(v=exchg.80).aspx
>>>
>>> That will at least eliminate one possibility.
>>> ___
>>> mailmate mailing list
>>> mailmate@lists.freron.com
>>> https://lists.freron.com/listinfo/mailmate
>>>
>>
>>
>
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Error message

2016-05-09 Thread Howard Wettstein
Relining does not help. Here’s the situation and the sequence of 
steps:


I have lots of folders and subfolders; it’s a gmail account but 
through my university and the address is ho...@ucr.edu
I had been using Apple Mail, but I much prefer your program. I’m just 
learning as I go.


Sequence of steps: for some reason, a first level folder (with lots of 
subfolders) got moved and I found this first level folder and all it’s 
contents as a subfolder of another folder. So I tried to move the whole 
thing to be where it belongs, as a first level folder. I did it by drag 
and drop and the stuff (all or certainly most of it) did move, but I 
can’t delete what remains as an extensive sub-folder. I can’t 
imagine that this is clear. Anyway, I’m happy to explain further.

Howie



On 7 May 2016, at 0:33, Benny Kjær Nielsen wrote:


On 6 May 2016, at 22:48, Howard Wettstein wrote:

MailMate encountered the following error: “Server response: “N5 
NO [NONEXISTENT] Unknown folder. (Failure) [THROTTLED]”. Command 
attempted: “N5 DELETE "Philosophy: People/Professional/OLD"”.”.

Mailbox: “Philosophy: People/Professional/OLD”.

I’m trying to move a misplaced folder to a better location. It’s 
mostly done but the old one won’t delete. The above is the error 
message.


It looks like it's already deleted, but for some reason MailMate does 
not know this. Relaunching might clear this up, but if it doesn't then 
I'd like to debug the issue. (Ideally, I'd like a sequence of steps 
which reproduces the issue, but that might be tricky since I suspect 
race conditions could be involved.)


There's a (possibly) separate issue. The `[THROTTLED]` part of the 
response means that there has been more traffic between you and the 
server than Google allows. This should only happen when initially 
synchronizing a large account. Otherwise, it's a sign that something 
is “looping”. Is it a large account in terms of the number of 
messages and/or an account with a large number of mailboxes?


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


Re: [MlMt] Gmail source is unavailable

2016-05-09 Thread Adam Liter
Actually, it seems that telnet imap.gmail.com 993 actually works for me to
connect, whereas telnet imap.gmail.com imap just hangs. So perhaps the port
forwarding on my laptop has somehow been messed up for just Gmail?

I don't know much about this, so I'd appreciate any suggestions.

Thanks again!

-Adam Liter

On Mon, May 9, 2016 at 9:41 PM, Adam Liter  wrote:

> Hmm, interesting. With telnet imap.gmail.com imap everything just seems
> to hang, but when I try, for example, telnet mail.riseup.net imap
> everything seems to work fine.
>
> Thanks for this initial suggestion for help with debugging. Do you have
> any further idea what the problem might be?
>
> -Adam Liter
>
> On Mon, May 9, 2016 at 9:34 PM, Gary Hull  wrote:
>
>> On 10 May 2016, at 4:10, Adam Liter wrote:
>>
>> Since getting home and since connecting to a few other networks, I have
>>> continued to be unable to get MailMate to access Gmail via IMAP. It
>>> continually says that it is unavailable.
>>>
>>
>> You can use telnet via a terminal window or telnet app to test IMAP. For
>> instance:
>>
>> https://technet.microsoft.com/en-us/library/dd789687(v=exchg.80).aspx
>>
>> That will at least eliminate one possibility.
>> ___
>> mailmate mailing list
>> mailmate@lists.freron.com
>> https://lists.freron.com/listinfo/mailmate
>>
>
>
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Gmail source is unavailable

2016-05-09 Thread Adam Liter
Hmm, interesting. With telnet imap.gmail.com imap everything just seems to
hang, but when I try, for example, telnet mail.riseup.net imap everything
seems to work fine.

Thanks for this initial suggestion for help with debugging. Do you have any
further idea what the problem might be?

-Adam Liter

On Mon, May 9, 2016 at 9:34 PM, Gary Hull  wrote:

> On 10 May 2016, at 4:10, Adam Liter wrote:
>
> Since getting home and since connecting to a few other networks, I have
>> continued to be unable to get MailMate to access Gmail via IMAP. It
>> continually says that it is unavailable.
>>
>
> You can use telnet via a terminal window or telnet app to test IMAP. For
> instance:
>
> https://technet.microsoft.com/en-us/library/dd789687(v=exchg.80).aspx
>
> That will at least eliminate one possibility.
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> https://lists.freron.com/listinfo/mailmate
>
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Gmail source is unavailable

2016-05-09 Thread Adam Liter
Hello,

I was recently out of the country, and the hotel that I was at had a very
restrictive internet connection. They more or less blocked everything
except HTTP(S), so I was not able to  use MailMate with IMAP.

Since getting home and since connecting to a few other networks, I have
continued to be unable to get MailMate to access Gmail via IMAP. It
continually says that it is unavailable.

Nonetheless, MailMate on my (other) desktop computer with my Gmail account
still works just fine. It's just MailMate on my laptop, and this has only
been a problem since connecting to that wifi network at the hotel that I
was at.

I've tried restarting MailMate, restarting my computer, and taking the
Gmail account offline and back online again, but nothing has fixed the
problem.

Does anybody have any ideas about what might be going on? This only seems
to be a problem with Gmail. A different IMAP account is working with
MailMate on my laptop.

Thanks!

-Adam Liter
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Column customization works intermittantly

2016-05-09 Thread Benjamin Coddington

Hi list, I'm new here.

I'm using MailMate 1.9.4 (5234), and it is very helpful for me to be 
able view a column that shows either a message's list-id header, or a 
concatenation of some headers from bugzilla.  I do that with the 
following file:


~/Library/Application 
Support/MailMate/Resources/MmMessagesOutlineView/outlineColumns.plist:

{
columns = {
"identifier" = {
title = "List-Id";
sortKey = "list-id.identifier";
formatting = {
formatString = "${list-id.identifier}";
placeholderString = "";
};
minimumWidth = 10;
};

"bugzilla-status" = {
title = "BZ Status";
sortKey = "X-Bugzilla-Status";
formatting = {
formatString = 
"${X-Bugzilla-Status:+${X-Bugzilla-Status} }";

placeholderString = "";
};
};

"bugzilla-assigned" = {
title = "BZ Assigned";
sortKey = "X-Bugzilla-Assigned-To";
formatting = {
formatString = 
"${X-Bugzilla-Assigned-To:+${X-Bugzilla-Assigned-To} }";

placeholderString = "";
};
};

"list_bz_meta" = {
title = "List-Id or BZ Info";
sortKey = "list_bz_meta";
formatting = {
formatString = 
"${list-id.identifier}${X-Bugzilla-Status:+${X-Bugzilla-Status} for 
${X-Bugzilla-Assigned-To}}";

placeholderString = "";
};
};
};
}

The list_bz_meta is the column I'd like to use.  This column always 
functions as expected for some period of time after starting MailMate 
(an hour or so), however at some point it will transition to a state 
where it will not show any text for newly arriving messages.  Restarting 
MailMate fixes it up again.


I've turned up the logging, nothing seems relevant other than: "Warning: 
Unknown field parser 'list-id.body'" at startup or when viewing an 
outline for a mailbox for the first time.  That message is still output 
even if I remove my outlineColumns.plist file entirely.


Any tips about how I might get this column to work reliably?

Thanks for any help,
Ben
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] 3 (little?) setup errors

2016-05-09 Thread Benny Kjær Nielsen

On 7 May 2016, at 5:17, Bill Cole wrote:

As far as I know (and I manage multiple multi-tenant mail systems) no 
other mailer in existence sends event invites/updates like that, 
however it does make a certain logical sense, unlike most of the ways 
Microsoft has sent events around in the past. All MM would have to do 
to handle text/calendar as an alternative part is to extract and 
display the DESCRIPTION field


You make that sound easy :) I found a couple of examples and it appears 
the HTML alternative already contains the description. I probably 
shouldn't do anything unless I'm willing to read the RFCs starting 
[here](https://tools.ietf.org/html/rfc6047).


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


Re: [MlMt] 3 (little?) setup errors

2016-05-09 Thread Benny Kjær Nielsen

On 6 May 2016, at 20:03, Mike Petonic wrote:

I'm getting little errors when I run MailMate from iTerm. I'm 
wondering if there are quick fixes or if I have something elementary 
wrong with my setup.


Worst case, would I have to blow away my ~/Library/Application 
Support/MailMail library and start creating my customizations from 
new?  I'd hate to do that, but I'll do it if I can.


Don't do that. We'll figure it out. I'm pretty sure it's related to you 
also having run the private beta. This enables a preference which also 
affects the behavior of 1.9.4. The easiest for me to do is probably to 
fix the issue you have with the private beta (reported off list). I'll 
look into that.


Also, when I receive calendar events from my colleagues using Outlook 
on Windows, I get the following:


	Warning: Unable to handle alternative in multipart of MIME type: 
'text/calendar'


Thanks to Bill for already explaining the essence of this issue. The 
warning is generic and just pops up whenever MailMate sees an 
“alternative” it cannot “handle” (MailMate only handles 
`text/html`, `text/plain` and some really old ones nobody uses anymore).


And finally, I'm not able to use the GAL from Windows in MailMate.  I 
can see the GAL (Global Address List) in my Contacts.app and I can 
search for names from there, but I can't use it in the "Address 
Lookup" button at the top of a compose window.


Any quick tips?


I've checked the API for the address lookup panel and as far as I can 
see there is nothing I can enable for this to work. Does it also not 
work when completing addresses in the text field?


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