diff options
Diffstat (limited to 'roles/wiki/files')
-rw-r--r-- | roles/wiki/files/etc/nginx/sites-available/website | 3 | ||||
-rw-r--r-- | roles/wiki/files/var/www/fripost.org/autoconfig/mail/config-v1.1.xml | 39 |
2 files changed, 42 insertions, 0 deletions
diff --git a/roles/wiki/files/etc/nginx/sites-available/website b/roles/wiki/files/etc/nginx/sites-available/website index 0c25f4e..3513510 100644 --- a/roles/wiki/files/etc/nginx/sites-available/website +++ b/roles/wiki/files/etc/nginx/sites-available/website @@ -42,6 +42,9 @@ server { location /minutes/ { alias /var/www/fripost.org/minutes/; } + location /.well-known/autoconfig/ { + alias /var/www/fripost.org/autoconfig/; + } location = /ikiwiki.cgi { return 403; diff --git a/roles/wiki/files/var/www/fripost.org/autoconfig/mail/config-v1.1.xml b/roles/wiki/files/var/www/fripost.org/autoconfig/mail/config-v1.1.xml new file mode 100644 index 0000000..e70b0be --- /dev/null +++ b/roles/wiki/files/var/www/fripost.org/autoconfig/mail/config-v1.1.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<clientConfig version="1.1"> + <emailProvider id="fripost.org"> + <domain>fripost.org</domain> + + <displayName>Fripost &endash; demokratisk e-post</displayName> + <displayShortName>Fripost</displayShortName> + + <incomingServer type="imap"> + <hostname>imap.fripost.org</hostname> + <port>993</port> + <socketType>SSL</socketType> + <username>%EMAILADDRESS%</username> + <authentication>password-cleartext</authentication> + </incomingServer> + + <outgoingServer type="smtp"> + <hostname>smtp.fripost.org</hostname> + <port>587</port> + <socketType>STARTTLS</socketType> + <username>%EMAILADDRESS%</username> + <authentication>password-cleartext</authentication> + </outgoingServer> + + <documentation url="http://wiki.fripost.org/konfigurera/"> + <descr lang="en">Configure your email client for Fripost</descr> + <descr lang="sv">Konfigurerar din e-postklient för Fripost</descr> + </documentation> + </emailProvider> + + <webMail> + <loginPage url="https://mail.fripost.org/" /> + <loginPageInfo url="https://mail.fripost.org/"> + <username>%EMAILADDRESS%</username> + <usernameField id="rcmloginuser" name="_user" /> + <passwordField id="rcmloginpwd" name="_pass" /> + </loginPageInfo> + </webMail> +</clientConfig> |