1.3.0 - External mail server loop

  • Dear developers of I-MSCP,


    at first of all, thanks for your great work with I-MSCP. It is an amazing solution and thanks Nuxwin for your engagement.


    I updated my I-MSCP from 1.2.17 to 1.3.0 yesterday. Everything works fine, except of the external mail server rewrite. I have an email e.g. [email protected] with is a rediction e.g. [email protected]. The website with beta.com is hosted at the same server with I-MSCP. I have activated the external mail server function of beta.com (later in addition added the MX DNS records in I-MSCP without change of behaviors). If someone send an email to [email protected], the server should redirect it to external hosted [email protected], but I get a loop back.



    I looked for the issue in your source code, but have not found the bug. Can anyone help me, please?


    Thanks,
    Jan

  • @nextone



    Without the mail logs, we cannot really help you. Thus please do the following:


    Code
    1. # tail -fn0 /var/log/mail.log


    then, send the mail (as previously done) and give us the output.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Thanks for your reply, Nuxwin. In the following the log. I hope this helps to investigate the problem:


  • @nextone


    On the i-MSCP server, run the following command:


    Code
    1. dig axfr beta.com @127.0.0.1


    and send me the output

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • output of: dig axfr beta.com @127.0.0.1


    Here are the DNS record settings (screenshot by https://who.is/; domain name is replaced):



    Thanks for your support!

  • @nextone


    From your i-MSCP server, run the following command and give us the result


    Code
    1. # dig MX beta.com @127.0.0.1

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206