At work we were just migrated to o365 (‘M365’ as they call it), and :
* they’ve disabled forwarding (so can’t automatically forward my mail to e.g. a gmail account)
* they’ve disabled access for all email clients other than Outlook
This happened half a year ago to the students at Umeå, and here’s the solution Mats Wahlberg (Physics and Applied Mathematics) sent me:
1. Get evolution-ews
— on thunderbird you have the non-free (as in beer) options of OWL for exchange and ExQuilla
— DAVmail may also be a solution, but I haven’t managed to get it to work. It will act as a layer between your mail client (e.g. thunderbird) and the EWS server, allowing you to continue using e.g. thunderbird without having to install anything.
2. Create a ‘New Mail Account’:
Identity: do whatever is appropriate for your identity. Disable ‘Look up mail server …’
Receiving Email: Add the appropriate username (format: firstname.lastname@example.org) for connecting to the mail server.
Host URL: use https://outlook.office365.com/EWS/Exchange.asmx
In my group we use linux exclusively. This is done for a number of reasons, chief of which are that it works best with the best tools for our work, and because I can provide you with limited IT support if you are using Linux. Any other OS and you’re on your own.
So here’s a list of tools that we use on linux and what we use them for:
Writing — latex when possible, libreoffice when not, and WPS when we must deal with office documents.
Spreadsheets — gnumeric (always ask yourself whether a spreadsheet is a good idea — often sed/gawk is better)
Plotting and fitting — gnuplot
Simulation/general maths — Octave
Programming — Python (2.7)
Computational chemistry framework — ECCE
CAS — Maxima
File sharing — UMU has 1 Tb storage for each staff member on One Drive via Office 365, so while it’s not great on linux, this is what we use.
If you can’t rely on your local network being firewalled the onus is on you to make sure that you have a firewall running on your computer. On linux you have iptables, which is remarkably easy to use if you have at least a basic understanding of how networking works (and/or google). Without going into details, you REALLY, REALLY. REALLY need to have your OWN firewall running if you are based at Umeå University.
Your needs may vary, but here’s a script that you can put in e.g. /etc/firewall_rules.sh
Have it called from /etc/rc.local so that it starts during boot.
sudo iptables -F #FLUSH
sudo iptables -A INPUT -m conntrack –ctstate ESTABLISHED,RELATED -j ACCEPT #allows network
sudo iptables -A INPUT -i lo -j ACCEPT #127.0.0.1
sudo iptables -A INPUT -s 127.0.0.1 -j ACCEPT
sudo iptables -A INPUT -p tcp –dport ssh -j ACCEPT #ssh -world!
sudo iptables -A INPUT -p icmp –icmp-type 8 -j ACCEPT -s 192.168.1.0/24 #ping
sudo iptables -A INPUT -d 255.255.255.255 -j ACCEPT #broadcast traffic
sudo iptables -A INPUT -m limit –limit 15/minute -j LOG –log-level 7 –log-prefix ” Dropped by firewall ”
sudo iptables -A INPUT -m limit –limit 15/minute -j LOG –log-level 4 –log-prefix “[netfilter]”
sudo iptables -A INPUT -j DROP #drop all else
sudo iptables -A OUTPUT -o lo -j ACCEPT #127.0.0.1
sudo iptables -A OUTPUT -j ACCEPT #all outgoing ok
sudo iptables -A FORWARD -p icmp –icmp-type 8 -j ACCEPT
sudo iptables -P INPUT DROP
sudo iptables -P OUTPUT DROP
sudo iptables -P FORWARD DROP
The PNNL developed a Linux code called ECCE (Extensible Computational Chemistry Environment; http://ecce.emsl.pnl.gov/) in the 90s and 00s. Unfortunately, no more resources seem to be made available to maintain the code.
This is a shame since it has some interesting functionality:
can be used to prepare input files for gaussian and nwchem
can submit jobs either directly or to queue managers (SGE, Slurm)
can open and visualise the output
And on top of this it’s open source and runs on Linux.
Now to go to Events and Tasks/Calendar in Thunderbird, go to File/New/Calendar, pick On the Network, Next. Pick Microsoft Exchange, Next. Call it whatever you want, and pick the email address associated with it (your UMU email).
Selected Hosted Exchange, Use Exchange’s autodiscovery function, and click Perform autodiscovery. Select https://webmail.ad.umu.se/EWS/Exchange.asmx
Put your CAS ID (along the lines of abcd01234) in the Username box, and click on Check Server and Mailbox
Go to Print Settings, Unlock and then +Add/Printer
Select Network Printer/Windows Printer via SAMBA
Use smb://kbc-origo.ad.umu.se/kbc-print and make sure to set authentication details. Username should written along the lines of ad.umu.se/abcd0123
Don’t verify, but hit forward.
Under Choose Driver, pick Provide PPD file, and use the file you downloaded in step 1.
Accept the defaults.
Due to a new (21/6/2017) and idiotic ‘feature’ of the printing system at UMU (i.e. not linux related) you need to submit the job from a computer account that has the same value as your CAS ID. In plain English: if your linux username is different from your CAS — and it should/will be — you can’t print. To fix this, create /etc/cups/client.conf and put your CAS there, e.g. User abcd1234