Hello,
This is my first post, so I apologise in advance if I have missed any community etiquette rules.
I have been using my TS453B for many years - In fact I think it was set up in 2017. I use it to host shared CIFS/SMB directories with my Windows and Linux computers and when away from home I access it via a VPN running on my router.
I have also set up the TS453B as an email archive server so that I can reduce the number of my important emails sitting in the cloud. It took a couple of attempts to get this to work.
Initially I tried to set up Dovecot in a Docker container but could not get it to access the shared folders where the configuration and user files are located. It would crash upon startup as it tried to build the user directory structure.
Eventually I gave up and installed the Xeams email server app from the Qnap store and this seems to work well with a major compromise – the configuration and user files sit within the .qpkg application folder and are inaccessible to both File Station 5 and the backup application I use, Qnap’s “HBS3 Hybrid Backup Sync”. I can only access the configuration and configuration files via SSH. To try to get around this I created new shared directories and symlinks:
ln -s /share/CACHEDEV1_DATA/.qpkg/Xeams/UserRepository/share/CACHEDEV1_DATA/XeamsData/UserRepository
ln -s /share/CACHEDEV1_DATA/.qpkg/Xeams/config/share/CACHEDEV1_DATA/XeamsData/config
I can see these in File Station (I’m using File Station 5), but when I click on the directories I get a dialog box:
X System Message
Unable to perform this action. You do not have enough permissions, or the file is read-only.
This is odd, because I’m logged in via an administrator account. If I query the permissions of these directories via SSH I get:
[adminuser@myservername Xeams]$ stat -c "%a" config
755
{the permission 755 gives the owner of a file or directory read, write, and execute permissions, while allowing the group and others to only read and execute}
[adminuser@myservername Xeams]$ stat -c "%a" UserRepository
777
{permission 777 means all users (owner, group, and others) have read, write, and execute permissions on a file or directory}
I assume there is some sort of conflict as Advanced Folder Permissions is turned on? I also understand that the Adanced Folder Permissions works differently to the standard Linux permissions systems and this is likely the root cause of the problem.
Any ideas on what I’m doing wrong?
NAS details as per instructions:
NAS model: TS 453B
Firmware Version: Have never had this working for many versions of the firmware. Currently QTS 5.2.6.3229
Advanced folder permissions is on.
Network Setup: Single Port