• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

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?
0
clo1
Asked:
clo1
  • 2
1 Solution
 
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now