Nextcloud: Difference between revisions

imported>Onny
m Too many whitespaces
imported>Onny
Notes about mail delivery
Line 63: Line 63:


If you would like to setup Nextcloud with Let's Encrypt TLS certificates (or certs from any other certificate authority) make sure to set <code>services.nextcloud.https = true;</code>.  
If you would like to setup Nextcloud with Let's Encrypt TLS certificates (or certs from any other certificate authority) make sure to set <code>services.nextcloud.https = true;</code>.  
=== Mail delivery ===
Besides various mail delivery options and settings, mail clients like [[Msmtp]] can be used to configure mail delivery for Nextcloud. This can be useful for sending registration mails or system notifications etc. To configure Nextcloud to use a local mail delivery daemon, we configure <code>mail_smtpmode</code> to <code>sendmail</code> and a further sending mode.
<syntaxHighlight lang="nix">
services.nextcloud = {
  [...]
  extraOptions = {
    mail_smtpmode = "sendmail";
    mail_sendmailmode = "pipe";
  };
};
</syntaxHighlight>
Test mails can be send via administration interface in the menu section "Basic settings".


== Maintenance ==
== Maintenance ==