Mail trouble

Discussion in 'Installation/Configuration' started by web-worlds, Jan 17, 2007.

  1. web-worlds

    web-worlds New Member

    Falko?, Till?... anybody ???
     
  2. falko

    falko Super Moderator ISPConfig Developer

    The real MX record is like this:

    Code:
    mh1:~# dig mx seventh-scent.com
    
    ; <<>> DiG 9.2.1 <<>> mx seventh-scent.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46864
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;seventh-scent.com.             IN      MX
    
    ;; ANSWER SECTION:
    seventh-scent.com.      7200    IN      MX      0 mail4.zoneedit.com.
    seventh-scent.com.      7200    IN      MX      0 mail5.zoneedit.com.
    
    ;; ADDITIONAL SECTION:
    mail5.zoneedit.com.     906     IN      A       216.55.181.47
    mail4.zoneedit.com.     9       IN      A       66.223.51.72
    
    ;; Query time: 343 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Thu Jan 25 19:17:57 2007
    ;; MSG SIZE  rcvd: 120
    So mails for seventh-scent.com are handled by mail4.zoneedit.com and mail5.zoneedit.com.
     
  3. web-worlds

    web-worlds New Member

    Maybe a stupid question but should it be pointing to my server "server1.web-worlds.com" or not?

    Thanks
     
  4. web-worlds

    web-worlds New Member

    How come that when I do a dig mx seventh-scent.com I get a different outcome:

    Code:
    server1:~ # dig mx seventh-scent.com
    
    ; <<>> DiG 9.2.4 <<>> mx seventh-scent.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44969
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;seventh-scent.com.             IN      MX
    
    ;; ANSWER SECTION:
    seventh-scent.com.      86400   IN      MX      10 web-worlds.com.
    
    ;; AUTHORITY SECTION:
    seventh-scent.com.      86400   IN      NS      web-worlds.com.
    
    ;; ADDITIONAL SECTION:
    web-worlds.com.         86400   IN      A       87.66.12.16
    
    ;; Query time: 3 msec
    ;; SERVER: 192.168.123.1#53(192.168.123.1)
    ;; WHEN: Fri Jan 26 10:31:52 2007
    ;; MSG SIZE  rcvd: 92
    
    server1:~ #
    This is getting me so confused :confused:
     
  5. falko

    falko Super Moderator ISPConfig Developer

    If you want server1.web-worlds.com to handle the mails, then yes. But make sure that server1.web-worlds.com exists in DNS.

    I guess in /etc/resolv.conf you have listed nameservers that hold zones for web-worlds.com but aren't authoritative for the domain.
     
  6. web-worlds

    web-worlds New Member

    Hi,

    Been toying arround a bit but I still cant get it right, my setup is the domain is registered via godaddy, and there point to DNS server of Zoneedit, and then Zoneedit points it to my server web-worlds.com.

    So now I set in Zoneedit a MX record for seventh-scent.com to web-worlds.com, is that right, or should I allready do it with Godaddy DNS info???

    And second, is this also related to outgoing mails ??? cuz I presume not, so why is my PHP form mails not coming trough and more?

    Thanks,
    Web-worlds
     
  7. shady.1

    shady.1 New Member

    Ok, so I sent you an e-mail, but in case you dont get it, I hope this will do. Check your e-mail, you have my contact info.
    That's my server doing the scanning that got your mess caught. I typically try and avoid business connections since the people in control have something real to lose by getting listed. I feel bad, so I'll help you secure it, or if nothing else add you to a blocklist for my software. E-mail me, we'll talk.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Your MX record is looking good now:

    Code:
    mh1:~# dig mx seventh-scent.com
    
    ; <<>> DiG 9.2.1 <<>> mx seventh-scent.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32127
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;seventh-scent.com.             IN      MX
    
    ;; ANSWER SECTION:
    seventh-scent.com.      7200    IN      MX      0 web-worlds.com.
    
    ;; Query time: 353 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Thu Feb  1 18:21:45 2007
    ;; MSG SIZE  rcvd: 62
    
    mh1:~# dig web-worlds.com
    
    ; <<>> DiG 9.2.1 <<>> web-worlds.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37156
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;web-worlds.com.                        IN      A
    
    ;; ANSWER SECTION:
    web-worlds.com.         300     IN      A       87.66.12.16
    
    ;; Query time: 205 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Thu Feb  1 18:21:53 2007
    ;; MSG SIZE  rcvd: 48
    but there seems to be a problem with your mail server. It hangs at the telnet prompt:

    Code:
    mh1:~# telnet web-worlds.com 25
    Trying 87.66.12.16...
    
    so you should check the mail log for errors. Also make sure your firewall doesn't block port 25.
     

Share This Page