CSSCurrent en:Microsoft Exchange Online on Cryptshare Appliances: Unterschied zwischen den Versionen
(Leere Seite erstellt) |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
== 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 === | |||
<code>apt install Postfix</code> | |||
<code>echo "your-company.com" > /etc/mailname</code> | |||
<code>add-apt-repository ppa:sasl-xoauth2/stable</code> | |||
<code>apt install sasl-xoauth2</code> | |||
=== 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 <code>sendmail</code> command directly from the terminal. | |||
* Create a test message file: | |||
<code>From: <sender-mail></code><code>To: <recipient-mail></code><code>Subject: Test message</code> | |||
<code>Does it work?</code> | |||
* Send the email using <code>sendmail</code>: <code>root@host:~# cat /tmp/test.txt | sendmail -F <sender-mail> <recipient-mail></code> | |||
Version vom 16. Februar 2026, 12:51 Uhr
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>