Re: [linux] Using Thunderbird (or other email clients) with Office 365 servers

2019-02-26 Thread Brett Delmage

On Tue, 26 Feb 2019, J C Nash wrote:


But the msg from our IT crowd above suggests no go anyway.


Sucks.


the Hiri client can connect OK (This is $$ and the configuration appears
to be encrypted in the 7 day trial.)


from 
https://support.hiri.com/hc/en-us/articles/115001801625-Does-Hiri-support-POP-or-IMAP-protocols-


"Does Hiri support POP or IMAP protocols?

Sorry, POP3 and SMTP protocols are not supported.

We built Hiri for the Microsoft email ecosystem. Hiri uses Exchange Web 
Services (EWS) protocol to retrieve your emails."


Davmail supports EWS (which I understand a java lib is 
available for)

http://davmail.sourceforge.net/index.html

Here's one for Ian!:

Quick and Dirty UNIX Shell Scripting with EWS
https://blogs.msdn.microsoft.com/exchangedev/2009/02/05/quick-and-dirty-unix-shell-scripting-with-ews/

and of possible interest in this article, John:

"–ntlm allows me to specify that Curl should try ntlm auth (--anyauth 
doesn’t work)


But article is from 2009, so YMMV.

Run wireshark or tcpdump and see more clearly where things are breaking?

Brett


Re: [linux] Using Thunderbird (or other email clients) with Office 365 servers

2019-02-26 Thread J C Nash
There were some other suggestions, and some different port choices, but Ian!s
msg is most detailed. Some responses and queries below.

I believe that the issue will be resolvable with some appropriate settings,
since the Hiri client can connect OK (This is $$ and the configuration appears
to be encrypted in the 7 day trial.) As I indicated, I'll welcome some
shared attempts before next meeting on Mar 7, where someone may spot what
I'm missing.


On 2019-02-26 12:37 p.m., Ian! D. Allen wrote:
> On Tue, Feb 26, 2019 at 09:31:06AM -0500, J C Nash wrote:
>> I've been trying to get a connection from TBird to the uOttawa Office 365 
>> setup.
>> So far:
>> - tried IMAP -- after query have been told uOttawa has decided to block IMAP 
>> and POP.
> 
> I'm curious about the above statement, since I use submission/POP3 to
> Algonquin College for my "all...@algonquincollege.com" email and the
> domain name I use is a generic Microsoft domain both ways.  uOttawa can't
> block POP3/IMAP since they can't block the port on the Microsoft domain,
> but maybe they can disallow authentication once connected?  (But then
> how does "Exchange" authenticate?)

It is possible apparently to allow POP or IMAP as well as Exchange protocol.
Stanford and Colorado seem to allow this. From what you indicate below,
Algonquin has the POP port open. Indeed:

  " Unfortunately, IMAP (and POP) access is still disabled on our O365 tenant. 
I do not foresee that changing anytime
soon. Please let me know if I can assist you with any other IT related matter."


> 
> To send College email I (using postfix) connect to the "submission"
> port (597) at outlook.office365.com and log in using my Algonquin
> email address.  I gather uOttawa won't let you log in?  The "From:"
> field on any email I send has to match my Algonquin email address or
> else the message is rejected.  Whatever name text I use on the From:
> line is replaced with the College standard "Ian Allen".

uOttawa has been doing this to me too. A real pain. Which "From" do you
use from your local machine? I presume the account name, not the Ian.Allen
(at uOttawa nas...@uottawa.ca --> john.n...@uottawa.ca. This is supposed to
be by user action, but someone decided to make it default.)

> 
> To receive email (using fetchmail) I connect to the POP3 port at
> outlook.office365.com and log in using my Algonquin email address.
> I gather uOttawa won't let you log in?

Yes. It's the connection phase that I think is failing with either
DAVmail or TBsync to handle the protocol. DAVmail has some proxy
choices for username and password, which may give a way in. I'm afraid
my expertise here is not very advanced. There may be some tricks with
TBsync as well.

> 
>> Note that my fallback is to reset on NCF, with uottawa forwarding.
> 
> Yes, when Algonquin used in-house email and blocked POP3/IMAP, I used
> to forward all Algonquin email to another machine that did allow POP3.
> Once Algonquin moved to Office 365, POP3 came with it, so I stopped
> forwarding.  Have you tried POP3 to outlook.office365.com ?

Because of multiple machines, I really avoid POP/POP3. But the msg from
our IT crowd above suggests no go anyway.


> 
> I used to send official College email from my usual mail host, but with
> the "From:" line set to my College email address and the "Reply-to:"
> line set to idal...@idallen.ca.  That started going into spam folders
> this month, so I started using the College "submission" port instead.
> 
> I use a "mutt" send-hook to rewrite my "From:" address whenever any
> recipients are at the College, and a postfix transport map to send any
> email destined to the College into the College submission port.
> 

I'm hoping to avoid too much of the "special script" work, as I want
to prepare a "how to" for more general use. This is part of my
ongoing effort to encourage open source software, rather than let
the proprietary predators take over completely. Has anyone noticed that
proprietary software companies take money but call open-source folk
pirates? Who's the thief?

Best, JN

To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org



Re: [linux] Using Thunderbird (or other email clients) with Office 365 servers

2019-02-26 Thread James Lockie

I don't think pop and imap have to be enabled on the MS software.
They don't need to block the port, the software might not listen.

On February 26, 2019 12:37:56 PM "Ian! D. Allen"  wrote:


On Tue, Feb 26, 2019 at 09:31:06AM -0500, J C Nash wrote:
I've been trying to get a connection from TBird to the uOttawa Office 365 
setup.

So far:
- tried IMAP -- after query have been told uOttawa has decided to block 
IMAP and POP.


I'm curious about the above statement, since I use submission/POP3 to
Algonquin College for my "all...@algonquincollege.com" email and the
domain name I use is a generic Microsoft domain both ways.  uOttawa can't
block POP3/IMAP since they can't block the port on the Microsoft domain,
but maybe they can disallow authentication once connected?  (But then
how does "Exchange" authenticate?)

To send College email I (using postfix) connect to the "submission"
port (597) at outlook.office365.com and log in using my Algonquin
email address.  I gather uOttawa won't let you log in?  The "From:"
field on any email I send has to match my Algonquin email address or
else the message is rejected.  Whatever name text I use on the From:
line is replaced with the College standard "Ian Allen".

To receive email (using fetchmail) I connect to the POP3 port at
outlook.office365.com and log in using my Algonquin email address.
I gather uOttawa won't let you log in?


Note that my fallback is to reset on NCF, with uottawa forwarding.


Yes, when Algonquin used in-house email and blocked POP3/IMAP, I used
to forward all Algonquin email to another machine that did allow POP3.
Once Algonquin moved to Office 365, POP3 came with it, so I stopped
forwarding.  Have you tried POP3 to outlook.office365.com ?

I used to send official College email from my usual mail host, but with
the "From:" line set to my College email address and the "Reply-to:"
line set to idal...@idallen.ca.  That started going into spam folders
this month, so I started using the College "submission" port instead.

I use a "mutt" send-hook to rewrite my "From:" address whenever any
recipients are at the College, and a postfix transport map to send any
email destined to the College into the College submission port.

--
| Ian! D. Allen, BA, MMath  -  idal...@idallen.ca - Ottawa, Ontario, Canada
| Home: www.idallen.com   Contact Improvisation Dance: www.contactimprov.ca
| Former college professor (Free/Libre GNU+Linux) at:  teaching.idallen.com
| Defend digital freedom:  http://eff.org/  and have fun:  http://fools.ca/

To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org





To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org



Re: [linux] Using Thunderbird (or other email clients) with Office 365 servers

2019-02-26 Thread Ian! D. Allen
On Tue, Feb 26, 2019 at 09:31:06AM -0500, J C Nash wrote:
> I've been trying to get a connection from TBird to the uOttawa Office 365 
> setup.
> So far:
> - tried IMAP -- after query have been told uOttawa has decided to block IMAP 
> and POP.

I'm curious about the above statement, since I use submission/POP3 to
Algonquin College for my "all...@algonquincollege.com" email and the
domain name I use is a generic Microsoft domain both ways.  uOttawa can't
block POP3/IMAP since they can't block the port on the Microsoft domain,
but maybe they can disallow authentication once connected?  (But then
how does "Exchange" authenticate?)

To send College email I (using postfix) connect to the "submission"
port (597) at outlook.office365.com and log in using my Algonquin
email address.  I gather uOttawa won't let you log in?  The "From:"
field on any email I send has to match my Algonquin email address or
else the message is rejected.  Whatever name text I use on the From:
line is replaced with the College standard "Ian Allen".

To receive email (using fetchmail) I connect to the POP3 port at
outlook.office365.com and log in using my Algonquin email address.
I gather uOttawa won't let you log in?

> Note that my fallback is to reset on NCF, with uottawa forwarding.

Yes, when Algonquin used in-house email and blocked POP3/IMAP, I used
to forward all Algonquin email to another machine that did allow POP3.
Once Algonquin moved to Office 365, POP3 came with it, so I stopped
forwarding.  Have you tried POP3 to outlook.office365.com ?

I used to send official College email from my usual mail host, but with
the "From:" line set to my College email address and the "Reply-to:"
line set to idal...@idallen.ca.  That started going into spam folders
this month, so I started using the College "submission" port instead.

I use a "mutt" send-hook to rewrite my "From:" address whenever any
recipients are at the College, and a postfix transport map to send any
email destined to the College into the College submission port.

-- 
| Ian! D. Allen, BA, MMath  -  idal...@idallen.ca - Ottawa, Ontario, Canada
| Home: www.idallen.com   Contact Improvisation Dance: www.contactimprov.ca
| Former college professor (Free/Libre GNU+Linux) at:  teaching.idallen.com
| Defend digital freedom:  http://eff.org/  and have fun:  http://fools.ca/

To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org



[linux] Using Thunderbird (or other email clients) with Office 365 servers

2019-02-26 Thread J C Nash
About a day after I left for Florida, uOttawa switched to Office 365 from 
Exchange.
The Exchange server was bad enough -- took me a while to get DAVmail to provide 
a
suitable middleware to allow me to use Thunderbird.

Background:

I use uOttawa as my "professional" email. My handle there has been published 
with lots
of articles etc., so I cannot totally drop it.

I use gmail for mailing lists, including this one. I've noticed that sometimes 
I mention
something in an email, and seem to get "promotions" later. Sigh. So I don't 
want to use
gmail for personal stuff.

I use NCF increasingly for personal mail.

Thunderbird lets me:

- move messages around
- share a calendar (unfortunately google) with my wife. I don't use the
uOttawa calendar, which in any case would let administrative minions
schedule me for meetings I don't wish to attend.
- apply filters to sort incoming emails to appropriate folders

I can connect to uOttawa via web, and am forwarding everything to NCF, but there
is, naturally, a delay.

I've been trying to get a connection from TBird to the uOttawa Office 365 setup.
So far:
- tried IMAP -- after query have been told uOttawa has decided to block IMAP 
and POP.
- tried suggestions on various sites about using DAVMAIL. No joy, but I could 
be doing
things wrongly.
- tried TBsync similarly.

My questions:
1) has anyone succeeded in such a connection? If so, I'll suggest offline 
communication
and then a report when/if we succeed.
2) I plan to come early to next meeting (week Thurs) and could try there. I'll 
try to
prepare by making some notes and having various tools downloaded. Suggestions 
welcome.

Note that my fallback is to reset on NCF, with uottawa forwarding. However, 
that rather
seems like yielding the field to the barbarians.

I got a suggestion to try the hiri email client. It does work for Office 365 in 
the trial.
I'm not sure about my other accounts. However, it costs, and I suspect would be 
prohibitive
for me to use on the multiple machines I use. I tried to access the config 
files of this,
but the sqlite db is encrypted and I could find no files with signs of 
connection info
in cleartext.

Best, JN

To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org