I have a bunch of e-mails that are being constantly retried. Does anybody know, where i can zap the queue?
You have not said what system you use but on my debian system I use pfqueue to trim my exim4 mail queue.
No, they are not in the system mail queue. They are piled up in the urbackup server itself and urbackup server process tries to resend them endlessly.
A proper SMTP server would give up after a time of getting 4** errors from SMTP, but this one does not and tries endlessly.
/var/log/urbackup.log is filled up with:
2022-07-06 08:43:45: WARNING: Error sending mail to “email@example.com”. Failed sending data to the peer(ec=55), RCPT failed: 451. Retrying in 30m
It should actually stop retrying after max_mail_retry_count = 164 tries.
Awesome. Where can i reduce the retry nr.?
And still - can i delete the queue? My addresses have changed and the ones in the queue cannot be delivered as configured.
Have you get a solution for it ? i want delete the queue also, changed the mail provider and it try to send old mails.