Jason Bailey: > I've got notification emails from a legacy system passing through a > Postfix install I'm using to relay messages to the proper outbound > server. Things are working great except occasionally messages are sent > from the legacy system with a null sender address (e.g. "MAIL > FROM: <>").
These are normally sent when an email address was undeliverable. The correct fix is to configure the inbound mail relay to not accept mail for undeliverable recipients. This is what the Postfix features relay_recipient_maps or reject_unverified_recipient are used for. > Is there a way to get Postfix to replace those null sender addresses > with a valid, predefined address before Postfix forwards the messages > to its smart host? No. Fix the right problem: don't accept mail for an invalid address. Wietse