docker-mailserver: cannot update mailbox /var/mail/amavis for user amavis. destination /var/mail/amavis is not owned by recipient
Hello:
My Mailserver could be started up with SSL already, but there still some warning be pushed out like below:
mail | Aug 12 19:37:56 mail postfix/qmgr[948]: C7CC82015100: from=<amavis@mail.esradio.cc>, size=893, nrcpt=1 (queue active)
mail | Aug 12 19:37:56 mail postfix/local[26913]: warning: specify "strict_mailbox_ownership = no" to ignore mailbox ownership mismatch
mail | Aug 12 19:37:56 mail postfix/local[26913]: C7CC82015100: to=<amavis@mail.esradio.cc>, orig_to=<amavis>, relay=local, delay=296380, delays=296380/0.04/0/0.04, dsn=4.2.0, status=deferred (cannot update mailbox /var/mail/amavis for user amavis. destination /var/mail/amavis is not owned by recipient)
and my DNS configuration is, because I use DDNS and my 80 port is blocked, some configuration is different with the recommended configuration. Especially I use the DDNS domain for mail.xxx.ltd by CNAME. I dont know if this is right but it works.

So, is anythong wrong with my DNS configuration? or mailserver configuration? How to clean up this message?
Another thing about amavis is i found amavis seems been reseted some time. But I reboot the mail server last day to see if this could be reproduce, but unfortunately, could not be reproduce today.
Your Environment
-
Amount of RAM available: 1G
-
Mailserver version used: latest
-
Docker version used:
-
Environment settings relevant to the config:
version: '2'
services:
mail:
image: tvial/docker-mailserver:latest
hostname: mail
domainname: esradio.cc
container_name: mail
ports:
- "25:25"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
volumes:
- ./maildata:/var/mail
- ./mailstate:/var/mail-state
- ./config/:/tmp/docker-mailserver/
- /etc/localtime:/etc/localtime:ro
- /etc/letsencrypt:/etc/letsencrypt/live/mail.esradio.cc/:ro
environment:
- DMS_DEBUG=1
- ENABLE_CLAMAV=0
- ONE_DIR=1
- ENABLE_POP3=0
- ENABLE_FAIL2BAN=0
- ENABLE_MANAGESIEVE=0
- SSL_TYPE=letsencrypt
- PERMIT_DOCKER=network
- SPOOF_PROTECTION=0
- TLS_LEVEL=intermediate
cap_add:
- NET_ADMIN
- SYS_PTRACE
restart: always
- Any relevant stack traces (“Full trace” preferred):
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 28 (15 by maintainers)
Commits related to this issue
- Updated system requirements, see #1224 — committed to erik-wramner/docker-mailserver by erik-wramner 5 years ago
- Merge pull request #1306 from erik-wramner/fix_1224_system_requirements Updated system requirements, see #1224 — committed to docker-mailserver/docker-mailserver by erik-wramner 5 years ago
- Updated system requirements, see #1224 — committed to gmasse/docker-mailserver by erik-wramner 5 years ago
I may have found why you have problems at least: you are mounting a local folder rather than a volume (
./maildata:/var/mail). @v60fan are you also doing that? Don’t get me wrong, it is perfectly acceptable, I’m just trying to find out why you get this while I don’t.