-
Notifications
You must be signed in to change notification settings - Fork 13
Description
hi,
I set up the container and tried your example config with server and credentials for one of my mail accounts.
As i have problems connecting to dovecot, i ran getmail from container shell.
running the command getmail without any options returns
Error: default config/data dir "/root/.getmail/" does not exist
spcifiying my test user's dir with getmail --getmaildir=/home/test_user/.getmail runs into errors.
Seems like connectiong to external mail server works but forwarding messages to dovecot crashes.
command deliver 66 errors exec command deliver failed (refused to invoke external commands as root)
from my google research i understand that getmail (or dovecot?) should not be run as root due to security reasons.
Logging into the container as my test_user and running getmail or getmail --getmaildir=/home/test_user/.getmail returns
Error: default config/data dir "/test_user/.getmail/" does not exist
Additionally i can't check correct volume mapping cause cd /home returns can't cd to home.
As root in the container i can go into this directory.