Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Is userdatadomains.stor active or a backup ?

Discussion in 'E-mail Discussion' started by ottdev, Jul 23, 2018.

  1. ottdev

    ottdev Well-Known Member

    Joined:
    Oct 1, 2013
    Messages:
    115
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    After a full VPS migration, we encountered and error with forms which were using local SMTP "550 Please turn on SMTP Authentication in your mail client". We figured out the websites were not correctly being viewed as local users on the new machine. We poked around and discovered and suspected the old IP addresses remaining in userdatadomains.stor may be contributing. This led us to find the KB article "How to Rebuild userdata Files". Following those steps corrected the outbound email issue, items in /userdata/ directory and the files userdatadomains and userdatadomains.json were updated accordingly. However, the file userdatadomains.stor still carries the old info. Is this just a backup file or how to fix ?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,204
    Likes Received:
    228
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @ottdev

    userdatadomains.stor is not a standard file that is being used. The correct userdatadomains files should be present in /etc/ as follows:

    Code:
    [root@server]# ls -lah /etc/userdatadomains*
    -rw-r----- 1 root mail  939 Jul 23 05:17 /etc/userdatadomains
    -rw-r----- 1 root root 1.1K Jul 23 05:17 /etc/userdatadomains.json
    The /var/cpanel/userdata/$user/ directly should look something like the following:
    Code:
    [root@server]# ls -lah /var/cpanel/userdata/$USER/
    total 40K
    drwxr-x--- 2 root lauren 4.0K Jul 23 05:17 .
    drwx--x--x 7 root root   4.0K Jul 18 14:29 ..
    -rw-r--r-- 1 root root    404 Jul 18 14:30 cache
    -rw-r--r-- 1 root root    447 Jul 18 14:30 cache.json
    -rw-r--r-- 1 root root    885 Jul 19 05:17 domain.tld
    -rw-r--r-- 1 root root    887 Jul 19 05:17 domain.tld.cache
    -rw-r--r-- 1 root root   2.8K Jul 19 05:17 domain.tld_SSL
    -rw-r--r-- 1 root root   2.7K Jul 19 05:17 domain.tld_SSL.cache
    -rw-r--r-- 1 root root    134 Jul 18 14:19 main
    -rw-r--r-- 1 root root    131 Jul 18 14:19 main.cache
    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    ottdev likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice