Mails: don't drop mails upon temporary relay error
We used to drop any mail we tried to send, regardless of whether sending it actually succeeded or not. This could result in lost mails if the server failed to accept some mails for any temporary reason. Fix this by re-queuing emails that failed to send and wait a few moments before retrying.
Showing with 22 additions and 6 deletions