2013-07-22 15:27:13 +00:00
|
|
|
<?php
|
2013-07-22 16:44:29 +00:00
|
|
|
require_once("../class/config_nochk.php");
|
|
|
|
|
2013-07-22 15:27:13 +00:00
|
|
|
header ("Content-Type:text/xml");
|
|
|
|
$emailDomain = explode('@', rawurldecode($_GET['emailaddress']));
|
|
|
|
?>
|
|
|
|
<clientConfig version="1.1">
|
2013-07-22 16:44:29 +00:00
|
|
|
<emailProvider id="<?php echo $L_FQDN ?>">
|
2013-07-22 15:27:13 +00:00
|
|
|
<domain><?php echo $emailDomain;?></domain>
|
2013-07-22 16:44:29 +00:00
|
|
|
<displayName><?php echo $L_FQDN ?></displayName>
|
|
|
|
<displayShortName><?php echo $L_FQDN ?></displayShortName>
|
2013-07-22 15:27:13 +00:00
|
|
|
<incomingServer type="imap">
|
2013-07-22 16:44:29 +00:00
|
|
|
<hostname><?php echo $mail->srv_imap ;?></hostname>
|
2013-07-22 15:27:13 +00:00
|
|
|
<port>993</port>
|
|
|
|
<socketType>SSL</socketType>
|
|
|
|
<authentication>password-cleartext</authentication>
|
|
|
|
<username>%EMAILADDRESS%</username>
|
|
|
|
</incomingServer>
|
|
|
|
<incomingServer type="pop3">
|
2013-07-22 16:44:29 +00:00
|
|
|
<hostname><?php echo $mail->srv_imaps;?></hostname>
|
2013-07-22 15:27:13 +00:00
|
|
|
<port>995</port>
|
|
|
|
<socketType>SSL</socketType>
|
|
|
|
<authentication>password-cleartext</authentication>
|
|
|
|
<username>%EMAILADDRESS%</username>
|
|
|
|
</incomingServer>
|
|
|
|
<outgoingServer type="smtp">
|
2013-07-22 16:44:29 +00:00
|
|
|
<hostname><?php echo $mail->srv_smtp;?></hostname>
|
2013-07-22 15:27:13 +00:00
|
|
|
<port>587</port>
|
|
|
|
<socketType>STARTTLS</socketType>
|
|
|
|
<username>%EMAILADDRESS%</username>
|
|
|
|
<authentication>password-cleartext</authentication>
|
|
|
|
</outgoingServer>
|
|
|
|
<outgoingServer type="smtp">
|
2013-07-22 16:44:29 +00:00
|
|
|
<hostname><?php echo $mail->srv_smtps;?></hostname>
|
2013-07-22 15:27:13 +00:00
|
|
|
<port>465</port>
|
|
|
|
<socketType>SSL</socketType>
|
|
|
|
<authentication>password-cleartext</authentication>
|
|
|
|
<username>%EMAILADDRESS%</username>
|
|
|
|
</outgoingServer>
|
|
|
|
</emailProvider>
|
|
|
|
</clientConfig>
|