docker-postfix icon indicating copy to clipboard operation
docker-postfix copied to clipboard

Documentation: add example of persistent volume for Postfix queue

Open lesinigo opened this issue 4 years ago • 3 comments

Following the current documentation the container will have ephemeral storage and could loose any unsent email if it gets stopped, removed and recreated.

Documentation should contain an example on how to keep Postfix queue on an externally provided volume to make it persistent.

lesinigo avatar Feb 24 '21 14:02 lesinigo

You are correct -- although the Dockerfile maps the /var/spool/postfix the documentation itself does not explicitly state this.

Merge requests are welcome :)

bokysan avatar Feb 24 '21 14:02 bokysan

Yep I'm currently testing out your (really well made) container right now, so far without any volume mapped. I will test volume mapping and queue persistence and send an MR for the docs as soon as time permits 👍

lesinigo avatar Feb 24 '21 15:02 lesinigo

If you set persistence.enabled: true then it will use a Persistent Volume to store the queue

Nuru avatar Mar 19 '21 08:03 Nuru