This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| syno:dsm6inst [2021/03/28 14:48] – [Contacts] Bernard Condrau | syno:dsm6inst [2024/05/31 22:04] (current) – [MailPlus Server] Bernard Condrau | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| - To setup SSL, import __server.key__, | - To setup SSL, import __server.key__, | ||
| - Add Two-factor-authentication to your admin user. Select **Options -> Personal** on the top right of the DSM window. Settings are saved in< | - Add Two-factor-authentication to your admin user. Select **Options -> Personal** on the top right of the DSM window. Settings are saved in< | ||
| + | |||
| + | ===== DDNS over Namecheap ===== | ||
| + | - Add the host to be accessed with DDNS to your domain' | ||
| + | - Make sure you installed php-curl and php-xml in your [[deb11: | ||
| + | - Add the following script to your webserver:< | ||
| + | try { | ||
| + | $url = ' | ||
| + | |||
| + | // with allow_url_fopen enabled | ||
| + | $output = file_get_contents($url); | ||
| + | |||
| + | // with curl | ||
| + | //$req = curl_init(); | ||
| + | // | ||
| + | // | ||
| + | // | ||
| + | //$output = curl_exec($req); | ||
| + | // | ||
| + | |||
| + | $xml = new SimpleXMLElement(trim(str_replace(" | ||
| + | if ($xml-> | ||
| + | $error = $xml-> | ||
| + | if (strcmp($error, | ||
| + | echo " | ||
| + | } elseif (strcmp($error, | ||
| + | echo " | ||
| + | } elseif (strcmp($error, | ||
| + | echo " | ||
| + | } elseif (strcmp($error, | ||
| + | echo " | ||
| + | } else { | ||
| + | echo "911 [" | ||
| + | } | ||
| + | } else { | ||
| + | echo " | ||
| + | } | ||
| + | } catch (Exception $e) { | ||
| + | echo "911 [" | ||
| + | }</ | ||
| + | - Make sure the DDNS update call is allowed by your webserver. For apache, add this to the conf:< | ||
| + | Require expr " | ||
| + | Require forward-dns host.domain.tld # allow access from the DDNS domain name after updating the ip address | ||
| + | </ | ||
| + | - Create a custom DDNS updater in Synology DSM with the following //Query URL//:< | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| ===== Certificates ===== | ===== Certificates ===== | ||
| Line 102: | Line 148: | ||
| * [[https:// | * [[https:// | ||
| ]] | ]] | ||
| + | |||
| + | ===== Change hostname ===== | ||
| + | * Change //Server Name// in //Control Panel --> Network --> General// | ||
| + | * Update:< | ||
| + | custom_login_title=" | ||
| + | * Update:< | ||
| + | HOSTNAME=hostname</ | ||
| ===== MailPlus Server ===== | ===== MailPlus Server ===== | ||
| * Copy DKIM Settings following {{ : | * Copy DKIM Settings following {{ : | ||
| + | * [[syno: | ||
| + | |||
| + | ==== Links ==== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| ===== Contacts ===== | ===== Contacts ===== | ||
| Line 119: | Line 178: | ||
| - Click the **v** behind your calendar in the right pane, select //CalDAV Account//, and check the URL which you need for setting up DAVx< | - Click the **v** behind your calendar in the right pane, select //CalDAV Account//, and check the URL which you need for setting up DAVx< | ||
| - Install DAVx< | - Install DAVx< | ||
| + | - Make sure you select the correct calendar as default for new appointments on your Android device | ||
| https:// | https:// | ||
| - | * Note: CalendarSync for Android is another CalDAV client, it is not freee, but has an automated setup for Synology DSM. | + | * Note: CalendarSync for Android is another CalDAV client, it is not free, but has an automated setup for Synology DSM. |
| * [[https:// | * [[https:// | ||
| Line 168: | Line 228: | ||
| sudo chmod 600 authorized_keys</ | sudo chmod 600 authorized_keys</ | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| ===== Rsync ===== | ===== Rsync ===== | ||
| Line 203: | Line 264: | ||
| * [[: | * [[: | ||
| * [[: | * [[: | ||
| + | * [[syno: | ||