Email troubles with co-domains! PLEASE HELP!

Discussion in 'Installation/Configuration' started by pinz0, Sep 5, 2006.

  1. pinz0

    pinz0 New Member

    hi!

    i have a problem with my email.
    everything works fine with my email-accounts that are set in the "user & email"-admin in each web i've created.

    in one single web i set 2 co-domains, but the mails that are sent to the email-adresses with the co-domains after the "@" won't get delivered to the "main-domain".

    example:
    main-domain: www.bflowers.com
    1st sub-domain: www.broken-flowers.com
    2nd sub-domain: www.broken-flowers.at

    i get all emails to "www.bflowers.com" but don't get messages that are sent to the email-accounts ending with these 2 sub-domains.

    i created DNS and DNS MX for both co-domains.

    what should i do to fix this problem??

    any hints??

    best regards,
     
  2. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    Do you get an error message when you send those mails?
    What is the message?

    How do your Co-Domain entrys look like?
     
  3. pinz0

    pinz0 New Member

    torusturtle - thanks for yr reply!


    this is the automatically replied message from the Mail Delivery System:
    Code:
    This message was created automatically by mail delivery software.
    
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
    
      [email protected]
        SMTP error from remote mailer after RCPT TO:<[email protected]>:
        host karate-joe.at [86.59.32.114]: 554 <[email protected]>:
        Relay access denied
    
    ------ This is a copy of the message's headers. ------
    
    Return-path: <[email protected]>
    Received: from [85.124.36.209] (port=2409 helo=[192.168.1.4])
    	by smartmx-08.inode.at with esmtp (Exim 4.50)
    	id 1GKXBm-0008Kt-40
    	for [email protected]; Tue, 05 Sep 2006 11:25:50 +0200
    Mime-Version: 1.0 (Apple Message framework v752.2)
    Content-Transfer-Encoding: 7bit
    Message-Id: <[email protected]>
    Content-Type: text/plain
    To: [email protected]
    From: Robert Pinzolits <[email protected]>
    Subject: testmail
    Date: Tue, 5 Sep 2006 11:25:20 +0200
    X-Mailer: Apple Mail (2.752.2)
    

    the co-domain entries:

    Domain:
    Host: www
    Domain: karate-joe.at
    Create DNS: Yes
    Create DNS MX: Yes

    Forward: NONE!

    Options:
    Mailserver: Local Mailserver

    The same for the domain www.karate-joe.com
     
  4. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    If karate-joe.at is your "main" domain, meaning the one you created by adding a new site then you don't have to add the hostname www again under Co-Domain because you most likely did this when creating the site.

    Try deleting the hostname www.

    Did this solve the problem?
     
  5. pinz0

    pinz0 New Member

    the main domain is kjrec.com, but removing the www from the co-domains does not solve the problem.. hm..
     
    Last edited: Sep 5, 2006
  6. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    what do you have as mydomain in /etc/postfix/main.cf?

    what is the output of
    Code:
    hostname
    and/or
    Code:
    hostname -f
     
    Last edited: Sep 5, 2006
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    What is in the file /etc/postfix/local-host-names ?
     
  8. pinz0

    pinz0 New Member

    hi till,

    local-host-names:

    Code:
    localhost
    lemmi.allocat.net
    localhost.lemmi.allocat.net
    localhost.allocat.net
    localhost.localdomain
    www.pinz0.com
    www.seewinkeltherme.at
    www.payola.at
    www.allocat.net
    www.payola.de
    www.apetlon.at
    www.kjrec.com
    www.allocat-offices.com
    www.imglueck.com
    www.vtmoe.org
    www.charmant-rouge.com
    www.n-d.at
    pinz0.com
    seewinkeltherme.at
    payola.at
    allocat.net
    www.karate-joe.com
    payola.de
    apetlon.at
    charmant-rouge.com
    kjrec.com
    allocat-offices.com
    imglueck.com
    n-d.at
    vtmoe.org
    webmail.allocat.net
    www.karate-joe.at
    
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Please add a co-domain karate-joe.at (with empty host field) to the website www.karate-joe.at
     
  10. pinz0

    pinz0 New Member

    the thing is, i have no web for the domain karate-joe.at.
    it's just a co-domain for kjrec.com, which is the main domain!
    karate-joe.at and karate-joe.com should refer to kjrec.com
    all emails that are sent to ...@karate-joe.at and karate-joe.com
    should be managed by the kjrec.com - mailboxes.

    here is a screenshot of the listed webs in my isp-man.
    http://www.allocat.net/img/webs.png

    and this is the co-domain-config of kjrec.com
    www.allocat.net/img/kjrec.png
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Then add a co-domain karate-joe.at (with empty host field) to the website kjrec.com.
     
  12. pinz0

    pinz0 New Member

    if i remove the www from the host field, than this happens:
    http://www.karate-joe.at

    here the screenshot f the co-domain-settings of the domain kjrec.com:
    http://www.allocat.net/img/codomain.png
    (please ignore the karate-joe.com - entry, just let's focus on karate-joe.at)

    isn't it possible to create smthg like replica-domains in ISP-config?
    would be great to get redirected to kjrec.com by typing karate-joe.at into the browser..
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    If you add the co-domain karate-joe.at to the website kjrec.com, it is redirected. So you did already what you requested ;)
     
  14. pinz0

    pinz0 New Member


    :) OK.
    NOW, i get the mails to my mailbox by sending a mail on all 3 domains.
    BUT: if i go to the URL WWW.karate-joe.at OR WWW.karate-joe.com, then
    i get the ISP-config page that says that i use a shared IP!!

    if i type the URL without WWW, then everything is fine.

    ????? WHY ??????
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Add 2 additional co-domains to the website:

    host: www
    domain: karate-joe.at

    host: www
    domain: karate-joe.com
     
  16. pinz0

    pinz0 New Member



    ok! this sounds good and i've tried to do it, but had to change the max. domain from 4 to i.e. 8 domains.

    next problem: ISP CONFIG says
    Code:
    Es ist folgender Fehler aufgetreten:	
    Ihre Änderungen können nicht gespeichert werden, weil das Objekt gerade aktualisiert wird. Bitte versuchen Sie es später noch einmal.
    Weiter >>
    
    i wait for 20 minutes now, but i always get the same mesasge..
     
    Last edited: Sep 7, 2006
  17. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
     
  18. pinz0

    pinz0 New Member



    this:
    Code:
    [email protected]:/home/admin# ls -la /root/ispconfig
    total 100
    drwxr-xr-x  9 root root  4096 2006-09-07 10:26 .
    drwxr-xr-x  6 root root  4096 2006-09-06 09:31 ..
    -rwxr-xr-x  1 root root 33506 2006-08-18 22:21 cronolog
    -rwxr-xr-x  1 root root  9673 2006-08-18 22:21 cronosplit
    drwxr-xr-x 12 root root  4096 2006-08-18 22:14 httpd
    drwxr-xr-x 12 root root  4096 2006-08-18 22:21 isp
    -rw-r--r--  1 root root     5 2006-09-07 10:26 .old_path_httpd_root
    drwxr-xr-x  6 root root  4096 2006-08-18 22:08 openssl
    drwxr-xr-x  6 root root  4096 2006-08-18 22:18 php
    drwxr-xr-x  4 root root  4096 2006-08-25 23:59 scripts
    drwxr-xr-x  4 root root  4096 2006-08-18 22:21 standard_cgis
    drwxr-xr-x  2 root root  4096 2006-08-18 22:21 sv
    -rwx------  1 root root  9389 2006-08-18 22:21 uninstall
    
     
  19. falko

    falko Super Moderator ISPConfig Developer

    And the output of
    Code:
    ps aux|grep wconf
    ?
     
  20. pinz0

    pinz0 New Member

    Code:
    [email protected]:/home/admin# ps aux|grep wconf
    root      9164  0.0  0.1   3724  1400 ?        S    Aug18   0:00 /bin/bash /root/ispconfig/sv/ispconfig_wconf
    root     15752  0.0  0.0   2908   788 pts/0    R+   01:01   0:00 grep wconf
    
     

Share This Page