Skip to content

Instantly share code, notes, and snippets.

@benhartwich
Last active December 12, 2023 20:31
Show Gist options
  • Save benhartwich/5ee8dc551554b17cd2fb to your computer and use it in GitHub Desktop.
Save benhartwich/5ee8dc551554b17cd2fb to your computer and use it in GitHub Desktop.
Autoconfig / Autodiscover
<VirtualHost *:80>
ServerAdmin mail@benjaminhartwich.de
ServerName autoconfig.nichteinschalten.de
ServerAlias autoconfig.nichteinschalten.de
DocumentRoot "/var/www/autoconfig/"
<Directory "/var/www/autoconfig/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<?xml version="1.0" encoding="UTF-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<Account>
<AccountType>email</AccountType>
<Action>settings</Action>
<Protocol>
<Type>IMAP</Type>
<Server>mail.nichteinschalten.de</Server>
<Port>993</Port>
<DomainRequired>on</DomainRequired>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>SMTP</Type>
<Server>mail.nichteinschalten.de</Server>
<Port>465</Port>
<DomainRequired>on</DomainRequired>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
<UsePOPAuth>off</UsePOPAuth>
<SMTPLast>off</SMTPLast>
</Protocol>
</Account>
</Response>
</Autodiscover>
<?xml version="1.0"?>
<clientConfig version="1.1">
<emailProvider id="shitstorm.media">
<domain>nichteinschalten.de</domain>
<domain>benjaminhartwich.de</domain>
<domain>campuscruise.de</domain>
<domain>blank-passau.de</domain>
<domain>spaetschicht.tv</domain>
<domain>finaltable-show.de</domain>
<domain>currywursttest.com</domain>
<domain>nachgespraech.de</domain>
<domain>graecum.org</domain>
<domain>shitstorm.media</domain>
<domain>montagabendshow.de</domain>
<domain>selta-immo.de</domain>
<domain>welovecruisen.de</domain>
<domain>passaubloggt.de</domain>
<domain>campusumfrage.de</domain>
<domain>dieumfrage.com</domain>
<domain>wollwil.de</domain>
<domain>wordpress-kurse.de</domain>
<domain>zmk-live.de</domain>
<displayName>Mail</displayName>
<displayShortName>Mail</displayShortName>
<incomingServer type="imap">
<hostname>mail.shitstorm.media</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.shitstorm.media</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
<addThisServer>true</addThisServer>
<useGlobalPreferredServer>true</useGlobalPreferredServer>
</outgoingServer>
</emailProvider>
</clientConfig>
server {
server_name autoconfig.nichteinschalten.de;
listen 80;
listen [::]:80;
root /var/www/mail/autoconfig;
index config-v1.1.xml;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment