Sendmail Undeliverable Redirection?

Dizzle asked:

Good afternoon;

I don’t know much about sendmail, so this may be fairly easy for those of you more experienced with it. We have an account, “user@server.com”, sending reports to various groups. From time to time an undeliverable message will be sent back to “user@server.com”. We’d like for those undeliverable messages to be rerouted, or bounced, from “user@server.com” to a group of our choosing. To carve out a scenario for clarity:

  • user@server.com sends a report to group1@team.com and group2@team.com
  • group1@team.com has someone who’s mail account no longer exists, triggering an undeliverable message being sent back to user@server.com
  • Rather than having the undeliverable message sit in user@server.com’s Inbox, we’d like for it to be automatically rerouted/bounced to an admin group, admins@team.com

So I guess a “rule” of sorts. I’ve come across this solution: Sendmail : ignore local delivery
But I don’t know enough about sendmail to know if this is what will fit this situation. Any help is greatly appreciated.

My answer:


Use an actual mailing list for this, instead of the ad-hoc stuff you’re doing now. The mailing list software will then catch bounces and deal with them for you.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.