How to use alias for the email?

How do I use the "alias" command for the email. For example, I wrote "webmaster@mail.com" in the homepage, and the email in the "send to" is the same as well. But actually, it will email to "myusername@email.com" something like that?
LVL 2
clo1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
ozoCommented:
echo 'webmaster:myusername' >> /etc/aliases
newaliases
0
 
clo1Author Commented:
No, I can't save after I have edit the file. Any alternatives?
0
 
ozoCommented:
If you don't have permission to edit /etc/aliases, you should ask someone who doed have permission to edit it.
Or, if there's an actual webmaster user on mail.com, they could set their ~webmaster/.forward file to myusername@email.com
0
 
tfabianCommented:
the /etc/aliases file is the obvious answer.. but lacking access to it means you've got to revert to other steps..

try coding the html on the web page to send to your address.. eg


  <a href="mailto:my_id@email.com">webmaster@email.com</a>


this should put your address in the actual message, but the link people click on has
the webmaster name..


 good luck


0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.