How to rewrite sender addresses using Sendmail with genericstable?

Solution Verified - Updated -

Issue

  • How to rewrite sender e-mail address in Sendmail?
  • How to modify a sender's email address?
  • How to change the from email address in Sendmail?
  • Receiving the following error when trying to send email through my ISP mail gateway:
553 5.7.1 <root@example.com>: Sender address rejected: not owned by user user@example.com

Environment

  • Red Hat Enterprise Linux, All versions.
  • Sendmail

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.