If we don't have a wildcard - domain and no special - MX - hosts, we add the three special - subdomains imap, smtp and pop3, fixes #82
This commit is contained in:
@@ -207,7 +207,14 @@ class bind
|
|||||||
|
|
||||||
if(count($this->mxservers) == 0)
|
if(count($this->mxservers) == 0)
|
||||||
{
|
{
|
||||||
$zonefile.= '@ IN MX 10 mail' . "\n" . 'mail IN ' . $ip_a_record . "\n";
|
$zonefile.= '@ IN MX 10 mail' . "\n";
|
||||||
|
$zonefile.= 'mail IN ' . $ip_a_record . "\n";
|
||||||
|
if($domain['iswildcarddomain'] != '1')
|
||||||
|
{
|
||||||
|
$zonefile.= 'imap IN ' . $ip_a_record . "\n";
|
||||||
|
$zonefile.= 'smtp IN ' . $ip_a_record . "\n";
|
||||||
|
$zonefile.= 'pop3 IN ' . $ip_a_record . "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user