Email delivery problem - Ubuntu Karmic Koala (Ubuntu 9.10) [ISPConfig 2]

Discussion in 'General' started by qiubosu, Jan 18, 2010.

  1. falko

    falko Super Moderator ISPConfig Developer

    Does your router forward port 81 to your ISPConfig server? Any errors in your mail log?
     
  2. qiubosu

    qiubosu New Member

    dear falko,

    login to the squirrelmail is ok now. i can send an email from squirrelmail to my personal email address, e.g. qiubosu@gmail.com, but have problem when reply from the receiver, e.g. qiubosu@gmail.com, to the sender, i.e. web1_admin@smartracksolutions.info. i think the configuration/setup for the whole system isn't right yet. do you have any idea on this?

    thanks.
     
  3. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log when you reply?
     
  4. qiubosu

    qiubosu New Member

    thanks, falko. there is nothing in the /var/log/mail.log when replying from my personal email address.
     
  5. qiubosu

    qiubosu New Member

    Hello Falko,

    the above is your reply for one of my previous questions.

    if i want to host my own email server, do i need to use the nameservers run by my registrar for my server domain smartracksolutions.info? if not, what nameservers should i use?

    thanks
     
  6. qiubosu

    qiubosu New Member

    hello falko,

    do you mean to create an A record for ispconfig.smartracksolutions.info when login to my registrar account or through the ispconfig2 web hosting system installed in my ispconfig2 server?

    thanks.
     
  7. qiubosu

    qiubosu New Member

    hello falko,

    i'm re asking some questions i asked you before, which i didn't fully understand them then. to resolve the accumulated confused questions will help to understand the whole system better.

    if i want to create mail.smartracksolutions.info server under my ispconfig2 server, ispconfig.smartracksolutions.info, where should i create the subdomain mail.smartracksolutions.info? in the /etc/hosts file? or through my ispconfig2 web hosting system? or through my smartracksolutions.info domain registrar?

    thanks.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    That depends on who is running the authoritative nameservers for smartracksolutions.info. What's the output of
    Code:
    dig ns smartracksolutions.info
    ?
     
  9. qiubosu

    qiubosu New Member

    hello falko,

    the output of "dig ns1 smartracksolutions.info" is as below:

    ; <<>> DiG 9.6.1-P2 <<>> ns1 smartracksolutions.info
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 60328
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;ns1. IN A

    ;; AUTHORITY SECTION:
    . 10760 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2010040601 1800 900 604800 86400

    ;; Query time: 55 msec
    ;; SERVER: 192.168.35.1#53(192.168.35.1)
    ;; WHEN: Tue Apr 6 16:16:38 2010
    ;; MSG SIZE rcvd: 96

    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44712
    ;; flags: qr ra; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;; WARNING: Messages has 1 extra bytes at end

    ;; Query time: 4630 msec
    ;; SERVER: 192.168.35.1#53(192.168.35.1)
    ;; WHEN: Tue Apr 6 16:16:43 2010
    ;; MSG SIZE rcvd: 13
     
  10. falko

    falko Super Moderator ISPConfig Developer

    It's
    Code:
    dig ns smartracksolutions.info
    not
    Code:
    dig ns[COLOR="Red"]1[/COLOR] smartracksolutions.info
     
  11. qiubosu

    qiubosu New Member

    hello falko,

    the output of "dig ns smartracksolutions.info" is as below:

    ; <<>> DiG 9.6.1-P2 <<>> ns smartracksolutions.info
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21461
    ;; flags: qr ra; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;; WARNING: Messages has 1 extra bytes at end

    ;; Query time: 1 msec
    ;; SERVER: 192.168.35.1#53(192.168.35.1)
    ;; WHEN: Wed Apr 7 19:34:32 2010
    ;; MSG SIZE rcvd: 13
     
  12. falko

    falko Super Moderator ISPConfig Developer

    This is what I get:
    Code:
    mh1:~# dig ns smartracksolutions.info
    
    ; <<>> DiG 9.3.4 <<>> ns smartracksolutions.info
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12909
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;smartracksolutions.info.       IN      NS
    
    ;; ANSWER SECTION:
    smartracksolutions.info. 86393  IN      NS      [COLOR="Red"]ns1.smartracksolutions.info[/COLOR].
    smartracksolutions.info. 86393  IN      NS      [COLOR="Red"]ns2.smartracksolutions.info[/COLOR].
    
    ;; Query time: 21 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Thu Apr  8 14:48:51 2010
    ;; MSG SIZE  rcvd: 77
    
    mh1:~#
    I guess ns1.smartracksolutions.info and ns2.smartracksolutions.info are your own servers (with ISPConfig on them), so you must create the A record for your subdomain in ISPConfig.
     
  13. qiubosu

    qiubosu New Member

    hello falko,

    thanks so much. but why the output i got is so different from yours? confused.

    in my ispconfig.smartracksolutions.info server (for ISPConfig2), the content of /etc/hosts file is as below:

    127.0.0.1 localhost.localdomain localhost
    192.168.123.102 ispconfig.smartracksolutions.info ispconfig
    192.168.123.102 webmail.smartracksolutions.com webmail
    192.168.123.102 ns1.smartracksolutions.info ns1
    192.168.123.102 ns2.smartracksolutions.info ns2

    in /etc/hostname, there is only one line "ispconfig.smartracksolutions.info"

    I only have one server (ispconfigl.smartracksolutions.info for ISPConfig2) at the moment and both ns1.smartracksolutions.info and ns2.smartracksolutions.info are on this server (as shown in above /etc/hosts file). Is this ok? Otherwise, what should it do?

    In ISPConfig2 web interface system, I create A record for webmail.smartracksolutions.com (webmail subdomain for smartracksolutions.com website domain) under DNS Manager. Is this what you mean? Otherwise, what should it be?

    thanks.
     
  14. falko

    falko Super Moderator ISPConfig Developer

    I'm getting no answer for webmail.smartracksolutions.com:
    Code:
    mh1:~# dig webmail.smartracksolutions.com
    
    ; <<>> DiG 9.3.4 <<>> webmail.smartracksolutions.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3281
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;webmail.smartracksolutions.com.        IN      A
    
    ;; Query time: 10 msec
    ;; SERVER: 213.133.100.100#53(213.133.100.100)
    ;; WHEN: Sun Apr 11 01:58:47 2010
    ;; MSG SIZE  rcvd: 48
    
    mh1:~#
     
  15. qiubosu

    qiubosu New Member

    dear falko,

    the MX records created under DNS Manager in ISPConfig2 web interface system are similar as below:

    MX 10 ispconfig.smartracksolutions.info.
    webmail MX 20 ispconfig.smartracksolutions.info.
    MX 30 webmail.smartracksolutions.com.

    i just changed other settings as well, e.g. ns1.smartracksolutions.info -> ispconfig.smartracksolutions.info, ns2.smartracksolutions.info -> ns0.smartracksolutions.info. you can test "dig webmail.smartracksolutions.com" later to see any difference.

    thanks.
     
  16. falko

    falko Super Moderator ISPConfig Developer

    Did you create an A record for webmail.smartracksolutions.com?
     
  17. qiubosu

    qiubosu New Member

    hello falko,

    just added A record for webmail.smartracksolutions.com, but not before. sorry.
     
  18. qiubosu

    qiubosu New Member

    dear falko,

    i registered two domains smartracksolutions.com and smartracksolutions.info in Godaddy. in Godaddy system, for smartracksolutions.info, i added host summary "ispconfig.smartracksolutions.info" and "ns0.smartracksolutions.info" and add them as name server1 and name server 2 for both smartracksolutions.com and smartracksolutions.info. but under their Total DNS, there is nothing.

    they look like as below:

    Nameservers: (Last Update 4/11/2010)
    ISPCONFIG.SMARTRACKSOLUTIONS.INFO
    NS0.SMARTRACKSOLUTIONS.INFO

    Total DNS: (Not hosted here)

    as you know, the "ispconfig.smartracksolutions.info" and "ns0.smartracksolutions.info" are created under my own web hosting server, ispconfig.smartracksolutions.info. the web server and email server
    etc. are all in the same server as well. but in Godaddy there is nothing under Total DNS, as stated in above.

    i followed several Howtoforge documentations to setup/configure my ISPConfig2 web interface system for the domains, sites, user and email etc. at the moment, the email sending out is ok, but receiving doesn't work. from your experience/knowledge, how could i get this resolved?

    your help is much appreciated.

    thanks kindly.
     
  19. qiubosu

    qiubosu New Member

    hello falko,

    for the smartracksolutions.com site created under ISPConfig2 web interface system, creat a User & Mail as below
    ......

    Email Address: qiubosu@smartracksolutions.com
    Username: web2_admin
    Password: xxxxxxxx

    ......

    login into squirrelmail with the login info of the above user & mail, sent an email from squirrlemail to my personal email qiubosu@gmail.com. in my qiubosu@gmail.com inbox, the received email is sent from web2_admin@smartracksolutions.info. but it is unsuccessful when reply from qiubosu@gmail.com to web2_admin@smartracksolutions.info.

    the /etc/hostname has only one line "ispconfig.smartracksolutions.info".

    why there are 2 email addresses created (but with different domains - smartracksolutions.com and smartracksolutions.info) for one user & mail? how to solve the problem?

    thanks,
    david su
     

Share This Page