From 08fb05d30a875adea1954e5a38f60e8ad1bb35fe Mon Sep 17 00:00:00 2001 From: bwaegeneire Date: Fri, 2 Dec 2022 12:07:55 +0100 Subject: [PATCH] =?UTF-8?q?Cr=C3=A9ation=20page=20HowtoMail/Autoconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoMail/Autoconfig.md | 75 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 HowtoMail/Autoconfig.md diff --git a/HowtoMail/Autoconfig.md b/HowtoMail/Autoconfig.md new file mode 100644 index 00000000..ef3a9c8c --- /dev/null +++ b/HowtoMail/Autoconfig.md @@ -0,0 +1,75 @@ + +## Apple + +Pour générer une fichier d'autoconfiguration pour les clients mails d'Apple : +~~~ sh +hostname=mail00.example.com +hostname_reverse=$(echo "$hostname" | tr . '\n' | tac | tr '\n' . | sed 's/.$//') +imap_server=imap.example.com +imap_port=993 +smtp_server=smtp.example.com +smtp_port=597 + +cat < + + + PayloadContent + + + EmailAccountType + EmailTypeIMAP + IncomingMailServerAuthentication + EmailAuthPassword + IncomingMailServerHostName + ${imap_server} + IncomingMailServerPortNumber + ${imap_port} + IncomingMailServerUseSSL + + + OutgoingMailServerAuthentication + EmailAuthPassword + OutgoingMailServerHostName + ${smtp_server} + OutgoingMailServerPortNumber + ${smtp_port} + OutgoingMailServerUseSSL + + OutgoingPasswordSameAsIncomingPassword + + + PayloadDisplayName + Email autoconfiguration profile + PayloadIdentifier + ${hostname_reverse} + PayloadType + com.apple.mail.managed + PayloadUUID + $(uuidgen) + PayloadVersion + 1 + SMIMEEnablePerMessageSwitch + + SMIMEEnabled + + disableMailRecentsSyncing + + + + PayloadDisplayName + Email autoconfiguration + PayloadIdentifier + ${hostname_reverse} + PayloadRemovalDisallowed + + PayloadType + Configuration + PayloadUUID + $(uuidgen) + PayloadVersion + 1 + + +EOF +~~~ \ No newline at end of file