Why does confUSERDB_SPEC work when tested with telnet but does not when mail command is used?
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.