Office 365

Bypass spam filter in your HQ

DNS records

To avoid getting email sent to junk folders, add/update this DNS TXT record:

v=spf1 ip4:myip include:spf.protection.outlook.com ~all
v=spf1 ip4:<IP 1> ip4:<IP 2> ip4:<IP 3> include:spf.protection.outlook.com -all

https://www.dmarcanalyzer.com/spf/how-to-create-an-spf-txt-record/

https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/how-office-365-uses-spf-to-prevent-spoofing?view=o365-worldwide#spf-basics-ip-addresses-allowed-to-send-from-your-custom-domain

Device setup

After setting those DNS records, from your HQ, these settings can be used:

  • SMTP server: company-com.mail.protection.outlook.com
  • From: myprinter@company.com
  • Port: 25
  • TLS/SSL: TLS
  • no SMTP authentication

Thunderbird

Set up a shared mailbox

Exchange Configuration:

USER EMAIL: user@maindomain.com
PASSWORD: password

SHARED MAILBOX: shared@anotherdomain.com (could also be @domain.com, of course)
SHARED MAILBOX ALIAS: shared-mailbox

Note: Please make sure to create the UNIQUE alias always with the mailbox, because it creates the user [alias]@maindomain.com. In this case shared-mailbox@maindomain.com

Settings for IMAP Configuration:

EMAIL ADDRESS: shared@anotherdomain.com (shared mailbox)

IMAP SERVER: outlook.office365.com
SMTP SERVER: smtp.office365.com

USERNAME: user@maindomain.com\shared-mailbox (user\shared mailbox alias)
PASSWORD: password (user’s password)

SMTP LOGIN IS DIFFERENT (!)

USERNAME: user@maindomain.com (users email)
PASSWORD: password (user’s password)