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 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.