dig MX results

Discussion in 'Installation/Configuration' started by cruz, Nov 4, 2007.

  1. cruz

    cruz New Member

    I tried a dig affter reconfiguring my domain records and I get this.
    HTML:
    ; <<>> DiG 9.3.4 <<>> mx stocktongoodsamaritan.org
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39474
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;stocktongoodsamaritan.org.     IN      MX
    
    ;; ANSWER SECTION:
    stocktongoodsamaritan.org. 3600 IN      MX      0 mail.stocktongoodsamaritan.org                                             .
    
    ;; AUTHORITY SECTION:
    stocktongoodsamaritan.org. 3600 IN      NS      ns05.domaincontrol.com.
    stocktongoodsamaritan.org. 3600 IN      NS      ns06.domaincontrol.com.
    
    ;; ADDITIONAL SECTION:
    ns05.domaincontrol.com. 122109  IN      A       64.202.165.110
    ns06.domaincontrol.com. 158783  IN      A       208.109.80.54
    
    ;; Query time: 57 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Sat Nov  3 20:28:07 2007
    ;; MSG SIZE  rcvd: 151
    
    
    I am not getting my ip address like I do when I dig my other domain.
    HTML:
    ; <<>> DiG 9.3.4 <<>> mx apostolichearts.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43873
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
    
    ;; QUESTION SECTION:
    ;apostolichearts.com.           IN      MX
    
    ;; ANSWER SECTION:
    apostolichearts.com.    60      IN      MX      5 mail.apostolichearts.com.
    
    ;; AUTHORITY SECTION:
    apostolichearts.com.    46417   IN      NS      ns1.no-ip.com.
    apostolichearts.com.    46417   IN      NS      ns2.no-ip.com.
    apostolichearts.com.    46417   IN      NS      ns4.no-ip.com.
    apostolichearts.com.    46417   IN      NS      ns3.no-ip.com.
    apostolichearts.com.    46417   IN      NS      ns5.no-ip.com.
    
    ;; ADDITIONAL SECTION:
    mail.apostolichearts.com. 60    IN      A       76.255.160.38
    ns4.no-ip.com.          18387   IN      A       198.65.102.15
    ns5.no-ip.com.          18387   IN      A       212.100.249.200
    ns1.no-ip.com.          18387   IN      A       216.66.37.13
    ns2.no-ip.com.          18387   IN      A       204.16.252.6
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have a A-Record for mail.stocktongoodsamaritan.org created that points to your IP address.
     
  3. cruz

    cruz New Member

    I think I have it set up corect now. Thank you for your imput
     
  4. cruz

    cruz New Member

    new dig for server

    Is this corect? Is it not supose to say mail.stocktongoodsamaritan.org and then the ip address of the server?
    HTML:
    server1:~# dig mail.stocktongoodsamaritan.org
    
    ; <<>> DiG 9.3.4 <<>> mail.stocktongoodsamaritan.org
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55308
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;mail.stocktongoodsamaritan.org.        IN      A
    
    ;; ANSWER SECTION:
    mail.stocktongoodsamaritan.org. 3600 IN CNAME   stocktongoodsamaritan.org.
    stocktongoodsamaritan.org. 3600 IN      A       76.255.160.38
    
    ;; AUTHORITY SECTION:
    stocktongoodsamaritan.org. 3600 IN      NS      ns06.domaincontrol.com.
    stocktongoodsamaritan.org. 3600 IN      NS      ns05.domaincontrol.com.
    
    ;; ADDITIONAL SECTION:
    ns05.domaincontrol.com. 145719  IN      A       64.202.165.110
    
    ;; Query time: 84 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Sun Nov  4 14:03:51 2007
    ;; MSG SIZE  rcvd: 149
    
    Every person there tells me a diffrent way to set it up. It is not like noip site. noip is easy to setup. The name server shows one server, then when I run dig again, ther are two. I run it again and there is one. Strange hu?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Almost good, but an MX record must point to an A record, not to a CNAME. Currently mail.stocktongoodsamaritan.org is a CNAME; make it an A record instead that points to 76.255.160.38.
     
  6. cruz

    cruz New Member

    Dose this look right?

    HTML:
    [; <<>> DiG 9.3.4 <<>> mail.stocktongoodsamaritan.org
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43318
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;mail.stocktongoodsamaritan.org.        IN      A
    
    ;; ANSWER SECTION:
    mail.stocktongoodsamaritan.org. 3600 IN A       76.255.160.38
    
    ;; AUTHORITY SECTION:
    stocktongoodsamaritan.org. 3600 IN      NS      ns06.domaincontrol.com.
    stocktongoodsamaritan.org. 3600 IN      NS      ns05.domaincontrol.com.
    
    ;; ADDITIONAL SECTION:
    ns05.domaincontrol.com. 120786  IN      A       64.202.165.110
    ns06.domaincontrol.com. 120786  IN      A       208.109.80.54
    
    ;; Query time: 55 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Mon Nov  5 15:51:57 2007
    ;; MSG SIZE  rcvd: 151
    /HTML] It still will not let me log into the  squirrel  mail. User is the email I setup and the password is the one I setup for the email account. Is there somthing I can check that may be causing this not to login? Here is what I get when trying to login. I think the records are ok now. [HTML]ERROR 
    Unknown user or password incorrect. 
    
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your mail log?
    What kind of mail server setup do you use? Do you use system users or virtual users?
     
  8. cruz

    cruz New Member

    mail issue

    I have the debian perfec setup. I think it is vertual users. I found this in the mail log today.
    HTML:
    Nov  5 06:46:28 server1 postfix/smtpd[12132]: connect from mk-filter-1-a-1.mail.uk.tiscali.com[212.74.100.52]
    Nov  5 06:46:29 server1 postfix/smtpd[12132]: NOQUEUE: reject: RCPT from mk-filter-1-a-1.mail.uk.tiscali.com[212.74.100.52]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mk-filter-1-a-1.mail.uk.tiscali.com>
    Nov  5 06:46:35 server1 postfix/smtpd[12132]: disconnect from mk-filter-1-a-1.mail.uk.tiscali.com[212.74.100.52]
    Nov  5 06:49:55 server1 postfix/anvil[12134]: statistics: max connection rate 1/60s for (smtp:212.74.100.52) at Nov  5 06:46:28
    Nov  5 06:49:55 server1 postfix/anvil[12134]: statistics: max connection count 1 for (smtp:212.74.100.52) at Nov  5 06:46:28
    Nov  5 06:49:55 server1 postfix/anvil[12134]: statistics: max cache size 1 at Nov  5 06:46:28
    Nov  5 07:02:58 server1 freshclam[4722]: Received signal: wake up
    
    It looks like someone is trying to access the mail I am trying to get working. But it is supose to be david, not davidh. I also found this.
    Nov 5 18:26:06 server1 postfix/smtp[21120]: 34A134A62CC: to=<[email protected]>, relay=mail.stocktongoodsamaritan.org[76.255.160.38]:25, delay=0.6, delays=0.04/0.01/0.54/0, dsn=5.4.6, status=bounced (mail for stocktongoodsamaritan.org loops back to myself)
    Nov 5 18:26:06 server1 postfix/smtpd[21121]: disconnect from adsl-76-255-160-38.dsl.skt2ca.sbcglobal.net[76.255.160.38]
    Nov 5 18:26:06 server1 postfix/cleanup[21118]: C880F4A636C: message-id=<[email protected]>
    Nov 5 18:26:06 server1 postfix/bounce[21126]: 34A134A62CC: sender non-delivery notification: C880F4A636C
    Nov 5 18:26:06 server1 postfix/qmgr[13983]: C880F4A636C: from=<>, size=3105, nrcpt=1 (queue active)
    Nov 5 18:26:06 server1 postfix/qmgr[13983]: 34A134A62CC: removed
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Please add stocktongoodsamaritan.org to the mydestination line in /etc/postfix/main.cf and restart Postfix.
     
  10. cruz

    cruz New Member

    change

    this line here?
    HTML:
    mydestination = /etc/postfix/local-host-names
    
    Change to?
    HTML:
    mydestination = /etc/postfix/stocktongoodsamaritan.org
    
    Is this corect. I went and read on it at postfix. I just want to make sure it is corect.
    mydestination = /etc/postfix/local-host-names stocktongoodsamartian.org
     
    Last edited: Nov 7, 2007
  11. falko

    falko Super Moderator Howtoforge Staff

    If you have
    Code:
    mydestination = /etc/postfix/local-host-names
    then simply add stocktongoodsamaritan.org at the end of /etc/postfix/local-host-names and restart Postfix.
     
  12. cruz

    cruz New Member

    restarting postfix

    I had changed id, however I forgot to restart postfix. I have done that. I will let you know if it dose not fix it. Thank you for all the help.
     
  13. cruz

    cruz New Member

    will not login

    I still can not login the mail for theis domain . I restarted postfix, then tried to login and get the same error message.
    HTML:
    Nov  8 16:21:40 server1 imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
    Nov  8 16:21:45 server1 imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=72, sent=332
    Nov  8 16:21:58 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
    Nov  8 16:21:58 server1 imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=30, sent=470
    Nov  8 16:22:14 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
    Nov  8 16:22:14 server1 imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
    Nov  8 16:22:19 server1 imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=72, sent=332
    
     
  14. falko

    falko Super Moderator Howtoforge Staff

    The username ([email protected]) is wrong. It must be something like web1_someuser, but not an email address.
     
  15. cruz

    cruz New Member

    In the mail area, it sais web3_u1. the email is admin at stocktongoodsamaritan dot org. This is just the same way as my other site and it is working just fine. What would cause this to not show the web1_u1and were do I look to fix it? One thin that was strange. When I went to setup the 2nd site, it went in as web3 insted of web2. I have the firest site web1, then the 2nd site is web3. Dose that help in maybe understand what is wrong?
     
    Last edited: Nov 11, 2007
  16. cruz

    cruz New Member

    I went into the var/mail and there is only the emails I setup for the first site. web1_u1,web1_u2, web1_u3. Nothing in regards to web3_u1 ro web3_u2. Witch I have two emails on the 2nd site. In /var/www/web3/user there is web3_u1, web3_u2
     
    Last edited: Nov 11, 2007
  17. falko

    falko Super Moderator Howtoforge Staff

    Are you using Maildir or mbox?
     
  18. cruz

    cruz New Member

    I am using maildir.I made sure to check the box in the management/settings/email after I finished setting up the server.
     
  19. falko

    falko Super Moderator Howtoforge Staff

    If you're using Maildir, then the mails are not deleivered to /var/mail, but to each user's homedir, e.g. /var/www/web1/user/web1_someuser/Maildir.
     
  20. cruz

    cruz New Member

    user mail

    Yes there is a maildir for web3_u1. There is no mail in the maildir.
     

Share This Page