Setting up a Canon iR-ADV C5550 with Scan to Email with Office 365 for Business.
Microsoft has recently released “High Volume Email for Microsoft 365 (HVE)” which supports sending SMTP email without doing an ‘OAuth dance’, as they phase out simple Login support. At the time of writing, there is no pricing information other than ‘stay under the daily limits’. Also this tool is in ‘preview’ so they might change / remove it at any point.
At the time of writing the limit for HVE during the Preview is 100,000 recipients per day per tenant (and will be expanded at GA). For most office scanners this shouldn’t be a problem (unless you’re also using HVE for some sort of high volume transactional email). Currently you can only have 20 HVE accounts per tenant.
Setup
Note: The majority of this setup can be done using the Web UI, however setting the SMTP port must be done while physically in front of the machine.
Step 1) Create a printer@yourdomain / scanner@yourdomain Hight Volume Email Account (HVE) within the Office 365 Admin / Exchange portal. Go to: https://admin.exchange.microsoft.com/#/mailboxes and then in the left nav:
'Mail Flow' > 'High Volume Email (Preview)'
Note: I had issues creating an account when the name was something basic like ‘Printer’, and instead opted to add a second word with a space. So now it’s ‘Printer Scanner’.
Step 2) Login to the Web UI of the Canon Photocopier. Navigate to:
Step 3) Complete the following info: Unless specified untick all checkboxes and leave all inputs blank.
SMTP Server: smtp-hve.office365.com
E-Mail Address: [what you created into Step 1]
[x] Allow TLS (SMTP TX)
[x] Use SMTP Authentication (SMTP AUTH)
User Name: [what you created into Step 1]
[x] Change Password
Password: [your password from step 1]
Confirm: [your password from step 1]
Allow TLX (SMTP RX): 'Always TLS'
[OK] (top right hand of screen)
*Note about ‘Confirm TLS Certificate for SMTP TX’, ideally you’d want this on, but older machines might not have the required certificate chains. Those paying attention will notice the lack of ability to set a port number on this screen. Sadly they appear to have left it out, but we can set it locally.
Step 4) Set the port to 587. Physically at the machine, bring up the settings / registration menu and login. Navigate to:
'Function Settings' > 'Send' > 'E-Mail/I-Fax Settings'. Tap 'Specify Port Number for SMTP TX/POP RX'
Sometimes it’s a challenge to find which folder is taking up all the disk space on your machine. Here are a collection of tools I keep coming back to (although I can never remember the name of ncdu – which is why I’m writing it down in a easy to access place).
Guess what, the latest Microsoft Surface Pro X, isn’t all that ‘Pro’ friendly with it’s ARM based processor that it seems, nobody has a printer driver for. Who knows why Microsoft haven’t been able to add a 4G chip without having to replace the entire processor with a ARM chip. Lenovo and Dell (and probably HP) have been offering 3G/4G connectivity in their business ranges for years.
Rant over, thankfully a handful of generic priter drivers come in the box which might get you out in a pinch.
1) Go to ‘Printers & Scanners’ under Settings.
2) Click on Add a new Printer and wait, after a while a little message pops up saying ‘The printer that I want isn’t listed’
3) The old Add Printer dialogue appears. Select the last option ‘Add a local printer….’
4) Create a new port – Standard TCP/IP port
5) Use the Machines IP address. Untick the ‘Query the printer’ box.
6) Select the ‘Microsoft PCL6’ driver from the list.7) Print off a test page. It seems to work.
Obviously, you lose all the amazing extra bits from the driver, but for basic stuff, it’s good.
The information you’re about to submit is not secure
Because the site is using a connection that’s not completely secure, your information will be visible to others.
Chrome v86 started warning users about insecure forms. An odd configuration where Nginx was sitting in front of an IIS box was throwing the warning to users, seemingly because IIS wasn’t aware of the SSL layer that Nginx was putting on.
The solution. Adding the following line into the location block in Nginx.
proxy_redirect http://$host/ https://$host/;
No more warnings and now the browser stays inside of https land. Excellent.
By using the $host variable, instead of the actual hostname it allows this to be used inside of a snippet and used across multiple websites without having to change anything.
At the office we needed a list of Postcodes of suburbs affected by the second lockdown of Melbourne, Victoria.
Below is the list. While I believe that this is accurate, assume it’s released under the MIT license. It could have gaps. (Technically it’s licensed under the ‘Creative Commons Attribution 4.0 International (CC BY 4.0)’ license)
UPDATE 16/7/2020 – As pointed out by Michael the list below is missing 3135 & 3136. I’ve included them in the list below.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Background: I was asked to compile a list of postcodes in lockdown in Melbourne, I started by first going through the list of Local Government Area, I got to the second one and decided that their had to be a better way. Thank goodness for the DATA VIC site.