Skip to main content

Error in sync Transfer Email to destination Server

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  Can you check both machines to see if there is a custom Dovecot template in use?  You can check that with the following command:

    ls -lah /var/cpanel/templates/dovecot

    If you have main.local files present there, there is likely a custom template that is interfering with this transfer.

    0
  • Madhushree Mahajan

    Hi cPRex,

    Thanks for the quick response. I ran the command on both servers, and it looks like a main.local file is present on both the source and the destination.

    Here is the output:

    Source Server 
    [root@cc1 ~]# ls -lah /var/cpanel/templates/dovecot
    total 388K
    drwxr-xr-x. 2 root root 4.0K May 29 03:06 .
    drwxr-xr-x. 6 root root 4.0K Dec  8  2023 ..
    -rw-r--r--  1 root root  49K May 29 03:06 main.default
    -rw-r--r--. 1 root root  66K Dec  8  2023 main.default.outdated.2025-04-15T21:37:56Z.18683511
    -rw-r--r--  1 root root  66K Apr 16  2025 main.default.outdated.2026-01-05T21:38:32Z.19403303
    -rw-r--r--  1 root root  47K Jan  6 03:08 main.default.outdated.2026-01-18T03:23:39Z.38496636
    -rw-r--r--  1 root root  48K Jan 18 08:53 main.default.outdated.2026-02-17T21:36:47Z.49369432
    -rw-r--r--  1 root root  48K Feb 18 03:06 main.default.outdated.2026-05-28T21:36:59Z.28281790
    -rw-r--r--  1 root root  48K May 29 03:10 main.local

     Destination Server 
    root@ds1.myhostapps.com [~]# ls -lah /var/cpanel/templates/dovecot
    total 112K
    drwxr-xr-x 2 root root 4.0K Jun 24 03:16 .
    drwxr-xr-x 6 root root 4.0K Jun  1 20:00 ..
    -rw-r--r-- 1 root root  49K Jun  1 19:59 main.default
    -rw-r--r-- 1 root root  49K Jun 24 03:17 main.local
    root@ds1.myhostapps.com [~]#

    Given that there are custom templates in use on both servers, how would you recommend proceeding?

    Thanks!

    0
  • cPRex Jurassic Moderator

    Since the issue is happening on the Source machine (error: remote) the best plan may be this:

    -move the main.local template file out of the way
    -run /scripts/builddovecotconf to get things back to a default state
    -try the transfer again
    -put your main.local back
    -run /scripts/builddovecotconf to restore your customizations

    You could do the same thing on the Destination machine as well if that side causes issues.

    0
  • Madhushree Mahajan

    Thank you for your Assistance. I just wanted to update you that I haven't done any customizations in that case as well shall i do this ?

    0
  • cPRex Jurassic Moderator

    At some point it seems customizations were applied or else those files wouldn't exist.  Whether or not you did them or some other process did them ultimately doesn't matter.  I'd still try those steps to see if that changes the behavior in any way.

    0

Please sign in to leave a comment.