Results 1 to 7 of 7
Halo
I've been asked to create an email address for a dept such that when a client sends mail to it, everyone in the dept receives it.
My mail server ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-04-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 4
Sendmail aliases
Halo
I've been asked to create an email address for a dept such that when a client sends mail to it, everyone in the dept receives it.
My mail server uses sendmail-8.12.8-4 on RHL9.
This is what i have done: In /etc/aliases, i've added this line
treasury: josiah, watson, brighton, joseph
and run the newaliases.
However, when i test by sending mail to treasury@afg.com, i get the error msg:
Switch map aliases: Unknown member map aliases.file
treasury... User unknown
Where am i getting it wrong. Can someone please help?
Virira
- 08-05-2005 #2
longshot... but looks like the newaliases didnt work
try sendmail -bi
?
IanRegisterd Linux user #119296
- 08-05-2005 #3Just Joined!
- Join Date
- Aug 2005
- Posts
- 4
sendmail -bi
Thanks ihayhurst
I tried what you suggested but found no joy. It tells me:
bash: sendmail: command not found
- 08-05-2005 #4
it's not on your path but it must be there as it's your server,
try
and then use the full path to sendmailCode:find / -name sendmail -ls
Registerd Linux user #119296
- 08-05-2005 #5Just Joined!
- Join Date
- Aug 2005
- Posts
- 4
I ran the code and did find the absolute path then did the sendmail -bi using the full path but it yielded the same results as the newaliases.
Now i am wondering if there is a problem with my installation
- 08-10-2005 #6Just Joined!
- Join Date
- Aug 2005
- Posts
- 4
Finally got it, after a great deal of trial and error.
This is how:
. I created an account with the name of the alias using the useradd command.
. Then went into /home/alias and created the .forward using the vi command into which i put the list of recipients separated by commas.
. not quite sure whether this was of any use but i copied the aliases and aliases.db files from the /etc directory into the /etc/mail directory
After running the newaliases command, it worked.
- 08-10-2005 #7


Reply With Quote
