Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How I can create more than 1 email address for a Linux user e.g. customer. default email address is customer[at]domain[dot]com but I want to add info[at]domain[dot]com. I use squirrelmail and I'm not planing to install a control panel.

How to manually add another email address?

share|improve this question
1  
squirrelmail is just a web interface, providing webmail I assume you have this backing onto another MTA? you need to provide the MTA in use, as what you are after is called aliasing; and this can vary depending on the MTA in use. –  Oneiroi Jul 12 '12 at 16:00
    
Thanks, I use Dovecot, and I have Sendmail installed –  Zim3r Jul 12 '12 at 16:04
    
Ok, Dovecot provides a pickup interface (imap pop3 etc ...) are you using postfix, sendmail or something else to handel the sending and receipt of email ? –  Oneiroi Jul 12 '12 at 16:07
    
Thanks, I use sendmail as MTA. and I see a lot of mail aliases in /etc/aliases, I think they are for logging right? so how can I create another mail for specific user? –  Zim3r Jul 12 '12 at 16:14

1 Answer 1

up vote 2 down vote accepted

As you have highlighted you are using sendmail as the MTA.

You will want to edit the file /etc/aliases an run newaliases upon completion to trigger a database rebuild.

the format of addition (assuming same domain) would be: info: real_user

Note: one of my deploys has info: postmaster you may wish to remove this.

share|improve this answer
    
Thanks Oneiroi, I'll Try it now –  Zim3r Jul 12 '12 at 16:17
    
when I'm sending emails it still uses customer@domain.com as sender not info@domain.com. is there anyway to fix this? thanks –  Zim3r Jul 12 '12 at 16:30
1  
Your customer should change that in their email client settings. –  Michael Hampton Jul 12 '12 at 16:38
    
Thanks, I'll do that. –  Zim3r Jul 12 '12 at 16:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.