namshi / docker-smtp

SMTP docker container
MIT License
548 stars 198 forks source link

Persistence / volumes option #74

Closed jeff1985 closed 3 years ago

jeff1985 commented 3 years ago

When running this container, which directories do I need to declare as volume so that the queued messages would not be lost during restarts?

ebuzzz commented 3 years ago

Normally it should be enough to add /var/spool/exim4.

jeff1985 commented 3 years ago

OK, I tried that and it works. Only had to make sure the directory is set to chmod 777 Thanks!