Mailcow-dockerized: Postfix queue lost on upgrade

Created on 9 Jan 2017  路  3Comments  路  Source: mailcow/mailcow-dockerized

Not sure where this is stored but the queue folder should be persisted on a data or host volume in order to survive container upgrades.
At the moment anything that has not yet been delivered will silently be lost.

enhancement

Most helpful comment

A workaround (well I guess actually it's also the best way to do it but I'm not sure) is to add /var/spool/postfix/ to the volumes of postfix-mailcow.

All 3 comments

A workaround (well I guess actually it's also the best way to do it but I'm not sure) is to add /var/spool/postfix/ to the volumes of postfix-mailcow.

A workaround (well I guess actually it's also the best way to do it but I'm not sure) is to add /var/spool/postfix/ to the volumes of postfix-mailcow.

Yes this will probably work. Create a dedicated volume in the compose file and link/mount that to /var/spool/postfix in the postfix-container. Volumes are persistent and keeping it separate from the host-system would allow you to run another mail service without problems.

Implemented it (finally...). :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

patrick7 picture patrick7  路  3Comments

CrAazZyMaN21 picture CrAazZyMaN21  路  3Comments

poldixd picture poldixd  路  3Comments

K2rool picture K2rool  路  3Comments

constin picture constin  路  3Comments