-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getmail error: exec command deliver failed #4
Comments
This output The Docker command parameter The |
okay i understand the workflow.
I tried to set |
Yes, exactly. Please clone the repository, make modifications, rebuild the Docker image locally, and when it works submit a PR with your changes.
The best approach (Docker creates it by default if the directory does not exist) would be for
With this everything should just work once the |
It will be my first work with GitHub but I will give it a try. Send you an PR soon. |
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 returnsError: 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
orgetmail --getmaildir=/home/test_user/.getmail
returnsError: default config/data dir "/test_user/.getmail/" does not exist
Additionally i can't check correct volume mapping cause
cd /home
returnscan't cd to home
.As root in the container i can go into this directory.
The text was updated successfully, but these errors were encountered: