initial commit of file from CVS for smeserver-autodiscover on Sat Sep 7 20:08:09 AEST 2024
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
$OUT=<<'string_ending_delimiter';
|
||||
<Protocol>
|
||||
<Type>SMTP</Type>
|
||||
<Server><?php echo $_SERVER['SERVER_NAME']; ?></Server>
|
||||
<Port>25</Port>
|
||||
<SPA>off</SPA>
|
||||
<Encryption>TLS</Encryption>
|
||||
<SSL>on</SSL>
|
||||
<AuthRequired>on</AuthRequired>
|
||||
<?php echo $LoginName; ?>
|
||||
|
||||
</Protocol>
|
||||
string_ending_delimiter
|
||||
|
||||
#if we start support for port 587 submisison we would need to alter this
|
||||
return $OUT unless $sqpsmtpd{'status'} eq "enabled";
|
||||
$OUT=<<'string_ending_delimiter';
|
||||
<Protocol>
|
||||
<Type>SMTP</Type>
|
||||
<Server><?php echo $_SERVER['SERVER_NAME']; ?></Server>
|
||||
<Port>465</Port>
|
||||
<SPA>off</SPA>
|
||||
<SSL>on</SSL>
|
||||
<AuthRequired>on</AuthRequired>
|
||||
<?php echo $LoginName; ?>
|
||||
|
||||
</Protocol>
|
||||
string_ending_delimiter
|
||||
}
|
Reference in New Issue
Block a user