[Web] Remove file

master
andryyy 2019-05-26 09:24:50 +02:00
parent d5612cf60f
commit 6fffda5def
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 0 additions and 18 deletions

View File

@ -1,18 +0,0 @@
<?php
error_reporting(0);
header('Content-Type: text/plain');
echo $_SERVER['HTTP_HOST'];
foreach (dns_get_record('mailcow.email', DNS_MX) as $mx_r) {
$mx_s[] = $mx_r['target'];
}
!empty($mx_s) ?: exit();
echo 'version: STSv1' . PHP_EOL;
echo 'mode: enforce' . PHP_EOL;
foreach ($mx_s as $mx_r) {
printf('mx: %s' . PHP_EOL, $mx_r);
}
echo 'max_age: 86400' . PHP_EOL;