Can I resend emails to original recipient that were returned to sender for policy reasons (using Sendmail)?
Posted on 2012-04-12
I have a sendmail server that sent emails to another server (not sendmail) in our infrastructure. The emails were rejected for policy reasons and therefore returned to original sender not put in the queue for retry.
The sender is a service and not an actual user so they are sitting in an unused mail file.
Is there a command to resend all these messages that are in the users mailfile /var/spool/mail/usersfile to the originally intended recipients?