CSSCurrent en:Microsoft Exchange Online on Cryptshare Appliances
Introduction
The Cryptshare Appliance sends notification emails when updates to the underlying OpenSuse components are available. For this, a local postfix is installed that is usually configured by the Cryptshare Server. However, this is only automatically done, when a regular SMTP server is used as a target for the local postfix. In case, Microsoft Exchange Online is used together with OAuth 2.0 authentication, then the configuration of postfix has to be done manually.
Set-up
Installing Postfix
apt install Postfix
echo "your-company.com" > /etc/mailname
add-apt-repository ppa:sasl-xoauth2/stable
apt install sasl-xoauth2
Configuring Postfix
TBD
(Optional) Automate Certificate Copy with systemd
TBD
Generate an OAuth Token
TBD
Test and Debug
Test the Email Relay with sendmail
Your relay should now be operational. To test the setup from the relay host, you can use the sendmail command directly from the terminal.
- Create a test message file:
From: <sender-mail>To: <recipient-mail>Subject: Test message
Does it work?
- Send the email using
sendmail:root@host:~# cat /tmp/test.txt | sendmail -F <sender-mail> <recipient-mail>