HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   config pop and smtp for external mail (http://www.howtoforge.com/forums/showthread.php?t=19121)

chua_jose 7th January 2008 15:01

config pop and smtp for external mail
 
Hi

Since I can config ispconfig in order that the server pop is pop.xxxx.com and the smtp is smtp.xxxxx.com
Just now only it me works if so much in him pop as in the smtp, I write xxxxxx.com.

Is it possible to do in order that all the domains that I give of discharge, could use as server pop his name of domain type pop.newdomain.com and smtp.newdomain.com?


ex: xxxxxxxxxxxxxx.com

I want use pop.xxxxxxxxxxx.com and smtp.xxxxxxxxxxxxxx.com
Of automatic form, I would not like to have to give of discharge a record To mx for every new domain

if i user www.xxxxxx.com for pop and smtp protocol Everything works well.
The same thing happens to me with the ftp, if in filezilla i write in addres www.xxx.com Everything works well, but if i write ftp.xxxx.com, doesnīt connect.

Thanks

till 7th January 2008 17:49

Create DNS A-Records for pop.xxxx.com and smtp.xxxxx.com pointing to your server.

chua_jose 7th January 2008 19:36

Thanks till
Where I have to create the dns-A Record in order that it is applied automatic to all the domains??
In named.cf??
ex :
for xxxxx.com
smtp.xxxx.com and pop.xxxxx.com
for yyyyy.com
smtp.yyyy.com and pop.yyyy.com

Thanks for all

falko 8th January 2008 18:59

Code:

backup:/home/admin# dig ns videopubli.com

; <<>> DiG 9.3.4 <<>> ns videopubli.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54909
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;videopubli.com.                        IN      NS

;; ANSWER SECTION:
videopubli.com.        172800  IN      NS      ns1.hostingacela.com.
videopubli.com.        172800  IN      NS      ns2.hostingacela.com.

;; Query time: 117 msec
;; SERVER: 213.133.98.98#53(213.133.98.98)
;; WHEN: Tue Jan  8 17:58:53 2008
;; MSG SIZE  rcvd: 81

backup:/home/admin#

Are these your own DNS servers, or are they managed by someone else (e.g. your domain registrar)?

chua_jose 9th January 2008 01:14

Hi Falko,
Thanks for your help.
I have a server (xxxxxxxxxxxxxx.com) and in this server i have somethings domain (ex yyyyyyyy.com).
I tolken with my domain register for created my dns and point to my server. Then i create that DNS in my ispconfig.
Itīs my ns xxxxxxxxxxxxxxx:
Code:

[root@xxxxxxxxxxxxxxweb]# dig ns xxxxxxxxxxxxxx.com

; <<>> DiG 9.5.0a7 <<>> ns xxxxxxxxxxxxxx.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6599
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;xxxxxxxxxxxxxx.com.              IN      NS

;; ANSWER SECTION:
xxxxxxxxxxxxxx.com.      86400  IN      NS      ns1.xxxxxxxxxxxxxx.com.
xxxxxxxxxxxxxx.com.      86400  IN      NS      ns2.xxxxxxxxxxxxxx.com.

;; Query time: 204 msec
;; SERVER: 212.51.33.73#53(212.51.33.73)
;; WHEN: Wed Jan  9 09:01:47 2008
;; MSG SIZE  rcvd: 70

Itīs my mx xxxxxxxxxxxxxx:
Code:

[root@xxxxxxxxxxx~]# dig mx  xxxxxxxxxxxxxx.com

; <<>> DiG 9.5.0a7 <<>> mx xxxxxxxxxxxxxx.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18612
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;xxxxxxxxxxxxxx.com.              IN      MX

;; ANSWER SECTION:
xxxxxxxxxxxxxx.com.      86400  IN      MX      10 www.xxxxxxxxxxxxxx.com.

;; AUTHORITY SECTION:
xxxxxxxxxxxxxx.com.      32098  IN      NS      ns2.xxxxxxxxxxxxxx.com.
xxxxxxxxxxxxxx.com.      32098  IN      NS      ns1.xxxxxxxxxxxxxx.com.

;; ADDITIONAL SECTION:
www.xxxxxxxxxxxxxx.com.  50193  IN      A      213.60.254.125

;; Query time: 13 msec
;; SERVER: 212.51.33.73#53(212.51.33.73)
;; WHEN: Wed Jan  9 00:04:55 2008
;; MSG SIZE  rcvd: 106

I want to all my domain use for protocol pop pop.xxxxxxxxxx.com and for my smtp, smtp.xxxxxxxxxxxx.com.
And use for ftp, ftp.xxxxxxxxxxxx.com
Where xxxxxxxxx is a name of domain

I would like that it was done of automatic form, and not to have to create it for every domain.

Rockdrala 9th January 2008 12:34

When creating a site check the Create MX and Create DNS MX option.

chua_jose 9th January 2008 15:05

Hi Rockdrala
Thanks
But i checked Create DNS and Create DNS-MX option in Basis of ISP Site
And it me creates a few dns mx of the type:
Code:

Dig mx xxxxxxxxxxxxxx.com

xxxxxxxxxxxxxx.com.        86400  IN      MX      10 www.xxxxxxxxxxxxxx.com.

And

Code:

dig mx xxxxxxxxxxxxxx.com

xxxxxxxxxxxxxx.com.        86400  IN      MX      10 www.xxxxxxxxxxxxxx.com.

How change
MX 10 www.xxxxxxxxxxxxxx.com.

to

MX 10 mail.xxxxxxxxxxxxxx.com.
for all domains??

Rockdrala 9th January 2008 15:10

create the A record mail.yourdomain.com
and mx record mail.yourdomain.com in your ISPconfig Manager

chua_jose 9th January 2008 16:05

ok, i have created the A record mail.xxxxxxxxxxxxxx.com
and mx record mail.xxxxxxxxxxxxxxxxx.com
Too i create ftp.xxxxxxxxxxx.com
How many time are changes realized?

A couple of hours??

In xxxxxxxxxxxxxx.com, all ok,, but in the rest of domains does not work.

I have deleted the rest of domains and have turned them to creating.
Thanks

Rockdrala 9th January 2008 16:51

Yes it can take a couple of hours for your new DNS records to delegate Pubicly all over the world.

Make sure your port 25 / 110 / ssl ports / 587 <-- Smtp workaround port are all enabled.

Remember your clients may have ISPs that block port 25 as well. So make sure you have 587 enabled for them too while your waiting on your records to delegate.

Most IPgateways have port range enable settings for True Static IP management.

This is what i use to make sure all traffic from the ISP gateway is sent to those servers requesting those ports.

Also this is not requried but you should do it. Call your ISP and tell them to setup your reverse dns for IP 213.60.254.125 to mail.hostingacela.com as a PTR record.


All times are GMT +2. The time now is 06:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.