If log flushing fails because of EINTR or EAGAIN, handle them instead of exiting.
If log flushing fails because of EINTR or EAGAIN, handle them instead of
exiting.

damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot