Skip to content

fsync (os.File.Sync, really) before responding "250 ok" to DATA. #78

@nolanl

Description

@nolanl

Otherwise a crash before the queue file is flushed to disk will result in lost mail.

It is possible it is there and I missed it, but I traced through the DATA handling code and queue code reasonably thoroughly.

Metadata

Metadata

Assignees

Labels

enhancementfixed in nextThe issue/PR has been fixed/merged in the `next` branch.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions