Diagnostic-Code: X-Postfix; unknown user:

Discussion in 'General' started by Tpisti, Dec 9, 2024.

  1. Tpisti

    Tpisti New Member

    Hi,

    I need help solving a problem.

    The environment is as follows:
    - Ubuntu 24.04.1 LTS (Noble Numbat) (not a new installation, but an upgrade)
    - ISPConfig 3.2.12p1 (not a new installation, but an upgrade)

    The server hosts 6 domains with functioning web, FTP, and email systems.

    Background:
    - Until September, the entire system was working perfectly.
    - Then one domain's emails were arriving inconsistently.
    - After restarting the server, it worked correctly for a few days.
    - At that point, I upgraded Ubuntu to the latest version.
    - ISPConfig was also upgraded.

    The problem:
    - Out of the 6 domains, 5 email systems are functioning flawlessly.
    - The email system for users under one domain is not working.
    - Emails sent to these users are being returned to the sender with an error message.


    upload_2024-12-9_3-12-13.png

    upload_2024-12-9_3-25-55.png
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run the commands:

    hostname
    hostname -h
    grep herati.hu /etc/postfix/main.cf

    and post the result.
     
  3. Tpisti

    Tpisti New Member

    root@maholnap-vps:/home/tamasistvan# hostname
    maholnap-vps
    root@maholnap-vps:/home/tamasistvan# grep herati.hu /etc/postfix/main.cf
    myhostname = maholnap-vps.herati.hu
    mydomain = herati.hu
    mydestination = $myhostname, herati.hu, localhost, localhost.localdomain
    root@maholnap-vps:/home/tamasistvan#
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Edit /etc/postfix/main.cf and change:

    mydomain = herati.hu

    to

    mydomain = maholnap-vps.herati.hu

    and

    mydestination = $myhostname, herati.hu, localhost, localhost.localdomain

    to

    mydestination = $myhostname, maholnap-vps.herati.hu, localhost, localhost.localdomain

    And then restart postfix. by manually setting herati.hu in postfix main.cf, you instructed postfix to not use virtual mail accounts for that domain and this causes any incoming mail for this domain to fail.
     
    Tpisti likes this.
  5. Tpisti

    Tpisti New Member

    Thank you for your help!
    It works perfectly.

    But I have another problem. Since the ISPConfig update, the webmail has not been working


    Oops... something went wrong!
    An internal error has occurred. Your request cannot be processed at this time.

    For administrators: Please check the application and/or server error logs for more information.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    That's likely an issue with the Ubuntu upgrade, not the ISPConfig update, as webmail is from Ubuntu and not ISPConfig. Check the error.log of the web server to see why webmail fails.
     
    Tpisti likes this.
  7. Tpisti

    Tpisti New Member

    Thank you for your help.

    I managed to solve the Roundcube issue as well. The database connection disappeared from the config file during the Roundcube update.
     

Share This Page