Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parsemail: Make parsing an email atomic operation
With the series support in production, I realized that postfix did not serialize the spawing of parsemail.sh. I couldn't find clear documentation about that specific case: serializing mail delivery to a mailbox is possible, not sure when postfix is piping the mail to a another process. Instead of digging further and look at postfix code, implementing the serialization in parsemail.py itself seemed like a good idea: this will work independently to the MTA used. Not only that, but it'd also work if we do crazy things like allowing to submit patches through another entry point. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
- Loading branch information