Why does confUSERDB_SPEC work when tested with telnet but does not when mail command is used?

Solution Unverified - Updated -

Issue

  • Why does confUSERDB_SPEC work when tested with telnet but does not when mail command is used?
  • /etc/mail/userdb has contains following lines:
root:mailname   test@example.com
test:maildrop   root
  • When an email is sent through mail command, sender address does not get rewritten to test@example.com, when telnet is used sender address correctly appears as test@example.com at the recipient's end.

Environment

  • Red Hat Enterprise Linux 4
  • sendmail-8.13.1-6.el4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content