So, I’m new to setting this up, and trying to store my mail database on an NFS share.
Following a guide on how to mount an NFS share in docker compose I did just that.
volumes:
vmail-vol-1:
driver: local # Must be set to avoid issues.
driver_opts:
type: "nfs"
o: "addr=192.168.1.20,rsize=65536,wsize=65536,timeo=14,tcp,rw,noatime"
device: ":/mnt/Pool/mailcow_volumes"
The share mounted without issue and I was able to startup mailcow without any complaints. Volumes got created an everything..
The issue appears to be that there is a permissions issue that dovecot is attempting to resolve, fails and gets stuck in a restart loop.
Looking for help of anyone knows what I did wrong, or what I need to change.
Uptime: 2302 Threads: 13 Questions: 12793 Slow queries: 0 Opens: 129 Open tables: 61 Queries per second avg: 5.557
chown: /var/vmail/mailcowdockerized_redis-vol-1: Operation not permitted
chown: /var/vmail/mailcowdockerized_redis-vol-1: Operation not permitted
chown: /var/vmail/_garbage: Operation not permitted
chown: /var/vmail/_garbage: Operation not permitted
chown: /var/vmail/mailcowdockerized_postfix-vol-1: Operation not permitted
chown: /var/vmail/mailcowdockerized_postfix-vol-1: Operation not permitted
chown: /var/vmail/sieve/global_sieve_before.sieve: Operation not permitted
chown: /var/vmail/sieve/global_sieve_after.sieve: Operation not permitted
chown: /var/vmail/sieve: Operation not permitted
chown: /var/vmail/sieve: Operation not permitted
chown: /var/vmail: Operation not permitted
chown: /var/vmail: Operation not permitted
Uptime: 2363 Threads: 12 Questions: 12882 Slow queries: 0 Opens: 129 Open tables: 61 Queries per second avg: 5.451
chown: /var/vmail/mailcowdockerized_redis-vol-1: Operation not permitted
chown: /var/vmail/mailcowdockerized_redis-vol-1: Operation not permitted
chown: /var/vmail/_garbage: Operation not permitted
chown: /var/vmail/_garbage: Operation not permitted
chown: /var/vmail/mailcowdockerized_postfix-vol-1: Operation not permitted
chown: /var/vmail/mailcowdockerized_postfix-vol-1: Operation not permitted
chown: /var/vmail/sieve/global_sieve_before.sieve: Operation not permitted
chown: /var/vmail/sieve/global_sieve_after.sieve: Operation not permitted
chown: /var/vmail/sieve: Operation not permitted
chown: /var/vmail/sieve: Operation not permitted
chown: /var/vmail: Operation not permitted
chown: /var/vmail: Operation not permitted