ispCP - Board - Support
DNS entries for using smtp, pop3 and webmail on ispcp - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: DNS entries for using smtp, pop3 and webmail on ispcp (/thread-16469.html)



DNS entries for using smtp, pop3 and webmail on ispcp - dzchimp - 01-16-2013 01:32 PM

I have been granted space on a private home server. My admin has also activated email access and told me that pop3, smtp, imap and webmail is available on the server. I need some help setting up the DNS entries on my registrar to the correct entries for ispcp.


RE: DNS entries for using smtp, pop3 and webmail on ispcp - FeG - 01-16-2013 09:32 PM

Hi,

I don't know exactly what you mean by setting up the "correct entries for ispcp", but you might want to take a look at the BIND DNS zone files for domains:

Code:
/etc/ispcp/bind/parts/db_e.tpl
$TTL 12H
$ORIGIN {DMN_NAME}.
@               IN              SOA             ns1.{DMN_NAME}. postmaster.{DMN_NAME}. (
; dmn [{DMN_NAME}] timestamp entry BEGIN.
                {TIMESTAMP}     ; Serial
; dmn [{DMN_NAME}] timestamp entry END.
                8H              ; Refresh
                2H              ; Retry
                7D              ; Expire
                1D              ; Minimum TTL
)
                IN              NS              ns1.{DMN_NAME}.
                IN              NS              ns2.{DMN_NAME}.
                IN              MX      10      mail.{DMN_NAME}.

{DMN_NAME}.     IN              A               {DMN_IP}
www             IN              A               {DMN_IP}
{DMN_NAME}.     IN              TXT             "v=spf1 a mx ip4:{DMN_IP} ip4:{BASE_SERVER_IP} ~all"
localhost       IN              A               127.0.0.1
mail            IN              A               {DMN_IP}
ns1             IN              A               {BASE_SERVER_IP}
ns2             IN              A               {SECONDARY_DNS_IP}
; CNAME for VHCS compatibility
ns              IN              CNAME           ns1
; CNAME for mail transfer
imap            IN              CNAME           mail
pop             IN              CNAME           mail
pop3            IN              CNAME           mail
relay           IN              CNAME           mail
smtp            IN              CNAME           mail
; CNAME for web transfer
ftp             IN              CNAME           www

; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.

; dns [{MANUAL_DNS_ID}] entry BEGIN.
; dns [{MANUAL_DNS_ID}] entry END.

DMN_NAME is the domain name, DMN_IP its IP address. I think the rest is quite self-explanatory (if you're familiar with DNS zone files).

Best regards,
FeG