vn-autoconfig/autoconfig.xml

35 lines
1.3 KiB
XML

<?='<?xml version="1.0" encoding="UTF-8"?>'?>
<clientConfig version="1.1">
<emailProvider id="<?=$domain?>">
<domain><?=$domain?></domain>
<displayName><?=$displayName?></displayName>
<displayShortName><?=$displayShortName?></displayShortName>
<incomingServer type="imap">
<hostname><?=$imapServer?></hostname>
<port><?=$imapPort?></port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username><?=$user?></username>
</incomingServer>
<outgoingServer type="smtp">
<hostname><?=$smtpServer?></hostname>
<port><?=$smtpPort?></port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username><?=$user?></username>
</outgoingServer>
<webMail>
<loginPage url="https://webmail.<?=$domain?>/" />
<!-- Configuration for Roundcube -->
<loginPageInfo url="https://webmail.<?=$domain?>/">
<username><?=$user?></username>
<usernameField id="rcmloginuser"/>
<passwordField id="rcmloginpwd"/>
<loginButton id="rcmloginsubmit"/>
</loginPageInfo>
</webMail>
<documentation url="https://wiki.<?=$domain?>">
<descr lang="en">Wiki page</descr>
</documentation>
</emailProvider>
</clientConfig>