Mails can't be delivered

Discussion in 'Installation/Configuration' started by --::wizZzard::--, Jan 16, 2006.

  1. --::wizZzard::--

    --::wizZzard::-- New Member

    The Problem is that no mails will be delivered and that no Failure Mail is been delivered! Webserver is working proberly!

    Here my configuration:

    DNS Provider Config:
    DNS IN A:
    @.project-bizarre.de 85.31.186.56
    *.project-bizarre.de 85.31.186.56
    DNS MX:
    project-bizarre.de IN MX 10 smtp.project-bizarre.de

    Server Config:

    cat /etc/hosts (preconfigured from Server Provider)
    127.0.0.1 localhost
    192.168.0.8 INSTALLSERVER
    85.31.186.56 85-31-186-56
    192.168.0.29 debian_webmin.blue.kundencontroller.de debian_webmin
    127.0.0.1 localhost

    cat /etc/resolv.conf (preconfigured from Server Provider)
    domain blue.kundencontroller.de
    nameserver 85.31.185.124
    nameserver 85.31.184.6
    nameserver 85.31.184.7

    ISPConfig Configuration for web (project-bizarre.de)

    Server: wizZzard.media (is this name somewhere important?)
    Host: www
    Domain: project-bizarre.de
    IP Adresse: 85.31.186.56
    Create DNS: not checked
    Create DNS-MX: not checked
    ..
    Mailuser Login: checked

    under User & EMail:
    User: web8_project-bizarre.de
    Name: admin-project-bizarre.de
    Email: admin

    this user is admin an his Email is the catch all Email


    So, where is the fault?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have the problem only for this domain or for all domains on the server?
     
  3. --::wizZzard::--

    --::wizZzard::-- New Member

    :) this is the first Domain i have configured and used. Duke13.de (domain of an friend of mine) has the same probs but i do not know if he has configured his DNS correctly.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Code:
    ~# dig smtp.project-bizarre.de
    
    ; <<>> DiG 9.2.1 <<>> smtp.project-bizarre.de
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19402
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;smtp.project-bizarre.de.       IN      A
    
    ;; ANSWER SECTION:
    [B][COLOR="Red"]smtp.project-bizarre.de. 86400  IN      CNAME   smtp.kundencontroller.de.
    smtp.kundencontroller.de. 500   IN      CNAME   mail-out1.kundencontroller.de.
    mail-out1.kundencontroller.de. 500 IN   A       85.31.185.13[/COLOR][/B]
    
    ;; AUTHORITY SECTION:
    kundencontroller.de.    245     IN      NS      ns1.kundencontroller.de.
    kundencontroller.de.    245     IN      NS      ns2.kundencontroller.de.
    kundencontroller.de.    245     IN      NS      ns3.kundencontroller.de.
    kundencontroller.de.    245     IN      NS      k1.kundencontroller.de.
    
    ;; ADDITIONAL SECTION:
    k1.kundencontroller.de. 500     IN      A       85.31.185.124
    
    ;; Query time: 71 msec
    ;; SERVER: 81.169.163.104#53(81.169.163.104)
    ;; WHEN: Mon Jan 16 18:43:14 2006
    ;; MSG SIZE  rcvd: 204
    
    smtp.project-bizarre.de points to 85.31.185.13 which lets me think that this is not your own server because project-bizarre.de points to 85.31.186.56. This means that your mails are delivered to 85.31.185.13.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    If you use courier or dovecot, please check the Maildir checkbox in ispconfig under management > server > settings on the mail tab.
     
  6. --::wizZzard::--

    --::wizZzard::-- New Member


    But why are the mails delivered to 85.31.185.13 ? at no time i have typed such IP in any field!
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess kundencontroller.de is not your domain, its the domain of your Server housing ISP and you registered the domain there? Then you must ask you provider to point the MX record to your server instead of the mailservers of your ISP.
     
  8. --::wizZzard::--

    --::wizZzard::-- New Member

    i have written an email to my ISP. I wonder what now comes out :)
     
  9. --::wizZzard::--

    --::wizZzard::-- New Member

    Here is the Message from my Provider:

    I have changed configuration. How long must i wait bevore changes take effect?

    And a 2nd thing is what makes me wonder.....

    in ISPConfig-->DNS Manager-->project-bizarre.de-->Records

    the following config is done:

    A Record:
    IP-Adresse Host
    85.31.186.56 www

    CNAME
    Host Ziel

    MX:
    Mailserver Host
    85-31-186-56.blue.kundencontroller.de www

    SPF
    Host


    is this correct?
     
    Last edited: Jan 17, 2006
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Normally within 24 - 48 hours.

    In the MX record, you should empty the host field.
     
  11. --::wizZzard::--

    --::wizZzard::-- New Member

    done, so, then we will wait untill tomorrow! :(
     
  12. --::wizZzard::--

    --::wizZzard::-- New Member

    :( huh nothing happend.

    Here is the Mail Error Message i am now receiving:

    i wonder what this means:
    and why my IP is nowhere listed!
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    This means that the mail for project-bizarre.de is still routed to the mailserver of your provider (mail-out1.kundencontroller.de) ond not on your server.
     
  14. --::wizZzard::--

    --::wizZzard::-- New Member

    this is the last message of my provider:

    But then why where no mails received by my mailserver. Doh!
     
  15. falko

    falko Super Moderator Howtoforge Staff

    It may take up to 72 hours until the DNS changes propagate.

    I've just done a dig on your DNS records, and they seem to be fine, so I guess it's just a matter of time when it will work for you.
     
  16. --::wizZzard::--

    --::wizZzard::-- New Member

    Ok, then i just wait a while! :) thats ok, so i can concentrate on my math exam on friday!

    So long, thanks for the help. when it won't work i'll post again!
     
  17. falko

    falko Super Moderator Howtoforge Staff

    Good luck! :)
     
  18. --::wizZzard::--

    --::wizZzard::-- New Member

    math and englisch are done,....

    ....but the mails couldn't be received by the server. Oh man. What is wrong? I don't think it is the DNS now. maybe the server or the ISP Config? Maybe something is wrong with the configuration before installing ISPConfig?

    What do you need to know to figure out the problem or misconfiguration!
     
  19. falko

    falko Super Moderator Howtoforge Staff

    What's in the mail logs? Did you set the correct value for Maildir in ISPConfig (under Management -> Server -> Settings -> Email)?
     
  20. --::wizZzard::--

    --::wizZzard::-- New Member

    MTA Typ: POSTFIX
    Virtuser Datei: /etc/postfix/virtusertable
    Sendmail CW: /etc/postfix/local-host-names
    Mail Log: /var/log/mail.log
    Log speichern: yes
    Maildir: yes
    Antivirus-Admin: admispconfig@localhost
    Spamfilter: yes

    Last lines of /var/log/mail.log:

    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: D40EF7BFC9: to=<root@debian_webmin.blue.kundencontroller.de>, orig_to=<root>, relay=none, delay=184575, stat
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: DCF7C7BFC3: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=183205, status=deferred (del
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: 0B6997BF62: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=118803, status=deferred (del
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: 0CD977BF40: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=54403, status=deferred (deli
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: ADCB27BF93: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=312604, status=deferred (del
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: 15C5C7BF9E: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=377003, status=deferred (del
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: 16D607BFBF: to=<web8_project-bizarre.de@debian_webmin.blue.kundencontroller.de>, orig_to=<info@project-bizar
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: 18DF77BF84: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=203204, status=deferred (del
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: 1FCD47BF47: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=74404, status=deferred (deli
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: 1006B7BFB6: to=<root@debian_webmin.blue.kundencontroller.de>, orig_to=<root>, relay=none, delay=11775, statu
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: BCEF87BFA8: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=422004, status=deferred (del
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: B97C67BFD9: to=<web8_project-bizarre.de@debian_webmin.blue.kundencontroller.de>, orig_to=<web8_project-bizar
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: B88FB7BFC1: to=<root@debian_webmin.blue.kundencontroller.de>, orig_to=<root>, relay=none, delay=141375, stat
    Jan 23 00:16:16 85-31-186-56 postfix/qmgr[798]: 822207BF5B: to=<root@debian_webmin.blue.kundencontroller.de>, relay=none, delay=138804, status=deferred (del
    Jan 23 00:16:17 85-31-186-56 postfix/qmgr[798]: 8D3A87BFAE: to=<www-data@debian_webmin.blue.kundencontroller.de>, relay=none, delay=19397, status=deferred (
    Jan 23 00:16:17 85-31-186-56 postfix/qmgr[798]: 69F877BFDF: to=<web8_project-bizarre.de@debian_webmin.blue.kundencontroller.de>, orig_to=<admin@project-biza
    Jan 23 00:16:17 85-31-186-56 postfix/qmgr[798]: 25EE27BFAC: to=<web8_project-bizarre.de@debian_webmin.blue.kundencontroller.de>, orig_to=<admin@project-biza

    what about this "[email protected]" is ISPConfig sending the messages to this mailbox? Why?
     

Share This Page