diff --git a/root/etc/e-smith/templates/var/service/tinydns/root/data/80srvEmail b/root/etc/e-smith/templates/var/service/tinydns/root/data/80srvEmail new file mode 100644 index 0000000..b41cf16 --- /dev/null +++ b/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`; + +}