You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
I would like to start the postgrey but it doesn't start. I exec the following command in docker and get error message. When I didn't set dbdir postgrey works well.
2016/09/25-07:22:21 postgrey (type Net::Server::Multiplex) starting! pid(707)
Binding to TCP port 10023 on host 127.0.0.1 with IPv4
Setting gid to "114 114"
Setting uid to "108"
ERROR: can't open lock file: /var/mail/postgrey/postgrey.lock
The text was updated successfully, but these errors were encountered:
You must add ENABLE_POSTGREY=true environnement variable to enabled postgrey and init /var/mail/postgrey folder with the right permissions. Without this, postgrey can't access dbdir because initially it's vmail user who own this directory.
Update your docker-compose.yml file with the new variable :
Restart the container and you should have this in server logs :
docker logs -f mailserver | grep postgrey
2016-09-25 08:13:44,057 INFO spawned: 'postgrey_init' with pid 107
2016-09-25 08:13:44,097 INFO success: postgrey_init entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-25 08:13:44,138 INFO spawned: 'postgrey' with pid 146
2016-09-25 08:13:45,736 INFO success: postgrey entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-09-25 08:13:45,743 INFO exited: postgrey_init (exit status 0; expected)
Hi,
I would like to start the postgrey but it doesn't start. I exec the following command in docker and get error message. When I didn't set dbdir postgrey works well.
/usr/sbin/postgrey --delay=120 --inet=127.0.0.1:10023 --dbdir=/var/mail/postgrey
The text was updated successfully, but these errors were encountered: