Ajout des entrées SRV pour les services de mail

tags/ipasserelle-base-0.2.65-1
Daniel Berteaud 12 years ago
parent da062734a7
commit 43c10dc008
  1. 11
      root/etc/e-smith/templates/var/service/tinydns/root/data/80srvEmail

@ -0,0 +1,11 @@
{
return "" unless (-x '/usr/bin/make-srv');
$OUT .= "# SRV Records for Email services\n";
$OUT .= `/usr/bin/make-srv -service _imap._tcp.$DomainName -target $SystemName.$DomainName -port 143`;
$OUT .= `/usr/bin/make-srv -service _imaps._tcp.$DomainName -target $SystemName.$DomainName -port 993`;
$OUT .= `/usr/bin/make-srv -service _smtp._tcp.$DomainName -target $SystemName.$DomainName -port 25`;
$OUT .= `/usr/bin/make-srv -service _smtps._tcp.$DomainName -target $SystemName.$DomainName -port 465`;
}
Loading…
Cancel
Save