Current time: 07-11-2020, 01:16 AM Hello There, Guest! (LoginRegister)


Post Reply 
DNS entries for using smtp, pop3 and webmail on ispcp
Author Message
dzchimp Offline


Posts: 1
Joined: Jan 2013
Reputation: 0
Post: #1
DNS entries for using smtp, pop3 and webmail on ispcp
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.
01-16-2013 01:32 PM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #2
RE: DNS entries for using smtp, pop3 and webmail on ispcp
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
01-16-2013 09:32 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)