1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk 10.4.4 MX/DNS Bug after 10.3.1 upgrade

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Red Paint, Jan 23, 2012.

  1. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Hello,

    We've set up a subdomain "subdomain.example.com" with MX records pointing to an external email service. We've created an email account "example@example.com" which forwards email to example@subdomain.example.com.

    Email should then pick up the MX records on the subdomain and send this email on its merry way. This worked fine in 10.3.1.

    After upgrading with exactly the same setup the maillog shows:

    So to recap, this worked in 10.3.1 but fails in 10.4.4, we're using Postfix (as you can see) as our MTA and running CentOS 6.

    Has anyone had a similar problem? Can anyone at Parallels point to a possible solution?

    Thanks
    Andy
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to reconfigure mailsettings with mchk utility.
     
  3. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Hello Igor,

    The update to 10.4.4 from 10.3.1 took place on 2012-01-20 and the subdomain stopped forwarding to external MX records. Here are the steps we took before reporting this as a bug:

    - reconfigure mail settings with mchk
    # /usr/local/psa/admin/sbin/mchk --with-spam
    # /etc/init.d/pc-remote restart
    # /etc/init.d/postfix restart

    # /usr/local/psa/admin/sbin/dnsmng --update domain.com
    # /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain domain.com

    - Removed and re-added the subdomain

    To reproduce this bug
    - add a subdomain "subdomain.example.com" with DNS zone in master mode.
    - point MX records to an external server "mx1.externalserver.com"
    - create an email address at main domain "email@example.com"
    - forward email sent to "email@example.com" to "email@subdomain.example.com"

    If you do this you should find the 10.4.4 maillog displays messages as in my original message. External mx records are never checked and the email never leaves the server.

    This was working in 10.3.1 so something has disrupted this in 10.4.4.

    Thanks
    Andy
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Thank you for detailed report and steps to reproduce. I have forwarded it to developers. Let's wait their answer.
     
  5. sophos9

    sophos9 Guest

    0
     
    Can confirm the same issue.

    I have mailbox setup on exampledomain.com, I set this to forward all mail to newdomain.com hosted on the same server which has MX records set to send to Google Apps account.

    External emails to newdomain.com work great

    Mails forwarded from exampledomain.com error with postfix-local[19417]: cannot chdir to mailname dir user: No such file or directory

    It seems MX records are not being interrogated and mail tries to transfer to another internal mailbox only

    Big problem for the domains I host
     
  6. EduardoG

    EduardoG Basic Pleskian

    23
    90%
    Joined:
    Dec 15, 2009
    Messages:
    60
    Likes Received:
    1
    Hi, IgorG. Did you get any answer about this issue? I'm having exactly the same problem since 10.4.4 upgrade.
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Bugs have been submitted and should be fixed soon. According to developers:

     
  8. EduardoG

    EduardoG Basic Pleskian

    23
    90%
    Joined:
    Dec 15, 2009
    Messages:
    60
    Likes Received:
    1
    Thanks for the update.
    Oh! almost forgot to disable mail service for the subdomain, thanks again!


    It's working perfectly, still waiting for dns to propagate.
    The only problem was all dns hosts were lost, so it took a time to recreate all dns entries.
    Regards ;-)
     
  9. MattCaz

    MattCaz Basic Pleskian

    15
     
    Joined:
    Feb 22, 2012
    Messages:
    40
    Likes Received:
    0
    Want to do the 10.4.4 Update-getting same error

    I want to do the update but I have no idea whats going to get killed in the process. I have a subdomain named: store.dryheatembroidery.com that is under the main domain in DNS. It seems like this issue is the same as what I might experience and I want to know what can be done before the upgrade to correct my issue. this is the result of the suggested sql inquiry:


    | dns_zone_id | type | host | val | opt |
    +-------------+------+------------------------------+--------------+-----+
    | 8 | A | store.dryheatembroidery.com. | 74.208.65.92 | |
    +-------------+------+------------------------------+--------------+-----+

    Am I supposed to make this a domain on it's own? I guess I'm Plesk stupid because I don't understand what to do based on this error. I can follow directions, but this article doesn't even hint at how to fix it!

    WARNING: There are customized DNS records with host equal host of existing subdomain, they will lost after upgrade to Plesk version above 10.4.4. Check http://kb.parallels.com/en/113310 for more details.
     
  10. EduardoG

    EduardoG Basic Pleskian

    23
    90%
    Joined:
    Dec 15, 2009
    Messages:
    60
    Likes Received:
    1
    Hi, MattCaz.
    I think it's easy.
    Imagine you have a domain example.com created in plesk.
    One day you created a dns entry inside that domain: shop.example.com
    One month later, you created an independent domain inside plesk called shop.example.com
    So now you have 2 hostings plans (subscriptions), one for the domain "example.com" and one for the domain "shop.example.com"
    The "problem" is that each of these domains has its own DNS zones, so you have an A record inside "example.com" zone called "shop.example.com" and also have a record with the same name for the "shop.example.com" zone.

    If you have a master zones for "shop.example.com", you don't need "example.com" resolving for it, so you can edit "example.com" zones and delete "shop.example.com" record. This way, the only "shop.example.com" existing will be inside "shop.example.com" zone.

    Parallels is telling us that in the previous example, "shop.example.com" will be deleted from "example.com" zone, as it already exists in its own zone.

    If you want, you can delete the record "store.dryheatembroidery.com" from the "dryheatembroidery.com" zone, as you'll already have a subdomain created for "store.dryheatembroidery.com".

    Hope you can understand my samples :-S
     
  11. MattCaz

    MattCaz Basic Pleskian

    15
     
    Joined:
    Feb 22, 2012
    Messages:
    40
    Likes Received:
    0
    Eduardo,
    Thanks for the reply.. the problem is, I don't have store.dryheatembroidery.com added as a seperate subscription/domain. The only place it's added is under the domain dryheatemboidery.com with an A record..
    could the issue be that I have a CNAME resolving to store.dryheatembroidery. my zone file is shown below:
    -------------
    *.webmail.dryheatembroidery.com. CNAME dryheatembroidery.com.
    74.208.65.92 / 24 PTR dryheatembroidery.com.
    dryheatembroidery.com. NS ns1.dryheatembroidery.com.
    dryheatembroidery.com. NS ns2.dryheatembroidery.com.
    dryheatembroidery.com. A 74.208.65.92
    dryheatembroidery.com. MX (10) mail.dryheatembroidery.com.
    ftp.dryheatembroidery.com. CNAME dryheatembroidery.com.
    mail.dryheatembroidery.com. A 74.208.65.92
    ns1.dryheatembroidery.com. A 74.208.65.92
    ns2.dryheatembroidery.com. A 74.208.65.92
    shop.dryheatembroidery.com. CNAME store.dryheatembroidery.com.
    store.dryheatembroidery.com. A 74.208.65.92
    webmail.dryheatembroidery.com. A 74.208.65.92
    www.dryheatembroidery.com. CNAME dryheatembroidery.com.
    www.shop.dryheatembroidery.com. CNAME store.dryheatembroidery.com.
    www.store.dryheatembroidery.com. CNAME store.dryheatembroidery.com.
     
  12. EduardoG

    EduardoG Basic Pleskian

    23
    90%
    Joined:
    Dec 15, 2009
    Messages:
    60
    Likes Received:
    1
    Do you have a "store.dryheatembroidery.com" subdomain?
    If so, go to "websites & domains" tab, and click on "DNS Settings" icon and you'll see all zones under that domain.
    You should have a "dryheatembroidery.com" row saying "DNS zone is in master mode"
    You may have another row for "store.dryheatembroidery.com" so you can manage this zone too.
    If this is the case, you'll be having two operlapping zones, the "dryheatembroidery.com" domain zone that includes the store.dryheatembroidery.com record and the "store.dryheatembroidery.com" subdomain zone that also includes "store.dryheatembroidery.com" record.

    Is that the case?
     
  13. MattCaz

    MattCaz Basic Pleskian

    15
     
    Joined:
    Feb 22, 2012
    Messages:
    40
    Likes Received:
    0
    Eduardo,
    DryHeatembroidery.com is the master for the DNS.. but what I did find is this entry at the bottom of the websites/domains tab under DOMAINS:


    dryheatembroidery.com Website at httpdocs

    store.dryheatembroidery.com Website at subdomains/store/httpdocs

    I'm thinking that if I have an A record in the DNS, I may not need this entry under domains for this.
     
  14. EduardoG

    EduardoG Basic Pleskian

    23
    90%
    Joined:
    Dec 15, 2009
    Messages:
    60
    Likes Received:
    1
    So it looks like you have two dns zones, one for dryheatembroidery.com and one for store.dryheatembroidery.com
    And both of them have a host for "store.dryheatembroidery.com"
    If I'm right, "store.dryheatembroidery.com" entries should be removed from domain zone and leave it in subdomain zone.
     
  15. MattCaz

    MattCaz Basic Pleskian

    15
     
    Joined:
    Feb 22, 2012
    Messages:
    40
    Likes Received:
    0
    I removed the A record from the master and now my store isn't accessable. But the upgrade error message went away. I put the A record back in and I'm waiting for my store to come back up.
     
  16. EduardoG

    EduardoG Basic Pleskian

    23
    90%
    Joined:
    Dec 15, 2009
    Messages:
    60
    Likes Received:
    1
    Well, found the problem's location, hehe
    That A record should not be in the domain zone, but in the subdomain zone.
    Can you enable master DNS zone for the subdomain? That way, store will be responsible from its own subdomain's dns zone
     
  17. MattCaz

    MattCaz Basic Pleskian

    15
     
    Joined:
    Feb 22, 2012
    Messages:
    40
    Likes Received:
    0
    Well, my store finally came back up. There is no dns zone for the subdomain (where do I find that? Should the subdomain have been added as a domain..ie: add new domain, store.dryheatembroidery.com) , just A record and CNames for the subdomain. I do hosting tech support and DNS zones are not foreign to me, but this Plesk thing has me baffled. I guess I'll just avoid the upgrade to 10.4 for now.. thanks for your time and effort on my behalf. I sincerely appreciate it!

    matt
     
  18. EduardoG

    EduardoG Basic Pleskian

    23
    90%
    Joined:
    Dec 15, 2009
    Messages:
    60
    Likes Received:
    1
    I'll try to explain, even I don't know you exact configuration.
    From the "Websites & Domains" tab, I click on "DNS Settings"
    Here I see two lines, my main domain and my subdomain
    Main domain will (would) always be in Master Mode
    Subdomain should be also in master mode for its own zone, but it could be turned off in your case.
    Check my two screenshots (Thanks, plesk demo!) and tell me if your subdomain dns zone is in master mode or if it's turned off
     

    Attached Files:

  19. MattCaz

    MattCaz Basic Pleskian

    15
     
    Joined:
    Feb 22, 2012
    Messages:
    40
    Likes Received:
    0
    I'm on 10.3.1 and don't ever see that screen. I have attached a link to a screenshot of what I see. I can't thank you enough for wasting your time on me.

    https://lh3.googleusercontent.com/-whUtvX6wTmA/T0UrWvHb9qI/AAAAAAAADZw/7t03sxZdk-0/s576/pleskscreenshot.jpg
     
  20. EduardoG

    EduardoG Basic Pleskian

    23
    90%
    Joined:
    Dec 15, 2009
    Messages:
    60
    Likes Received:
    1
    Please, click on the "DNS Settings" showed in that screen, 2nd row, 2nd column, under "file manager", next to "FTP Access" and show me the next screen. (see attached)
     

    Attached Files:

Loading...