LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mail Aliases problems for multiple domains (https://www.linuxquestions.org/questions/linux-software-2/mail-aliases-problems-for-multiple-domains-139726/)

nemesisza 01-28-2004 04:07 PM

Mail Aliases problems for multiple domains
 
Hi guys,

I have a Slackware 9.1 machine setup to handle mail and web hosting. I am having a bit of a problem with my mail aliases though.
My server is running POPa3d and Sendmail (havent gotten around to migrating to exim yet)

I have for instance:

user1@example1.com
sales@example1.com
info@example1.com

and

user2@nextexample.com
sales@nextexample.com
info@nextexample.com

in my /etc/mail/aliases file.
After adding the aliases I ran "newaliases" like a good little root and I was told the following:

/etc/mail/aliases: line ??: sales@example1.com... Warning: duplicate alias name sales
/etc/mail/aliases: line ??: info@example1.com... Warning: duplicate alias name info

Any one know what I am doing wrong? :cry: :confused: :study:

born4linux 01-28-2004 08:37 PM

looks like you need something like this:

user1: user1@example1.com
sales: sales@example1.com
info: info@example1.com

user2: user2@nextexample.com
sales2: sales@nextexample.com
info2: info@nextexample.com

the entries on the left of the colon are the 'real' login for the email addresses on the right.

is that what you want to do?


All times are GMT -5. The time now is 02:47 AM.