Operating System - HP-UX
1825001 Members
2597 Online
109678 Solutions
New Discussion юеВ

mailx defaulting to elm in user's aliases

 
SOLVED
Go to solution
KPS
Super Advisor

mailx defaulting to elm in user's aliases

Hi,

I have a user trying to send mailx messages from scripts, but when we diplay his aliases, it shows that:

mailx=elm

I'm not sure that we want that. It appears because this is causing mail to not get delivered where it is supposed to. Can anyone help me or guide me on how to get this out of his list of command aliases?


Thx,
-Ken
3 REPLIES 3
Peter Godron
Honored Contributor
Solution

Re: mailx defaulting to elm in user's aliases

Ken,
unalias mailx
You can check with alias
Regards
Pete Randall
Outstanding Contributor

Re: mailx defaulting to elm in user's aliases

Ken,

Aliases are typically set in the user's shell rc file (.kshrc, .cshrc, .login), though they could be set in a .profile or something. Search their home directory with "grep mailx /home/USER/*" to see if you can find where this is being set. If you don't see it there, try /etc/profile.

As a temporary fix, you can just unalias it.


Pete

Pete
KPS
Super Advisor

Re: mailx defaulting to elm in user's aliases

Thanks Guys,

Unaliasing it out of the user's profile did the trick!