Sendmail Aliases/Groups: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
New page: = Aliases = To send an email to an alias edit:<br> '''/etc/aliases''' <pre> name: email@address.com </pre> = Groups = To send an email to a group of people:<br> '''/etc/aliases''... |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
'''/etc/aliases''' | '''/etc/aliases''' | ||
<pre> | <pre> | ||
groupname: email@addres1.com, email@address2.com .... | groupname: email@addres1.com, email@address2.com, .... | ||
</pre> | |||
Once the file has been updated we need to updated the aliases databse. | |||
<pre> | |||
newaliases | |||
</pre> | |||
= Restart Sendmail = | |||
As a precaution so sendmail sees the changes you will need to restart the sendmail service. I have made changes to aliases without a sendmail restart which has successfully worked. | |||
<pre> | |||
service sendmail restart | |||
</pre> | </pre> | ||
[[Category : Linux]] | [[Category : Linux]] |
Latest revision as of 03:42, 29 August 2009
Aliases
To send an email to an alias edit:
/etc/aliases
name: email@address.com
Groups
To send an email to a group of people:
/etc/aliases
groupname: email@addres1.com, email@address2.com, ....
Once the file has been updated we need to updated the aliases databse.
newaliases
Restart Sendmail
As a precaution so sendmail sees the changes you will need to restart the sendmail service. I have made changes to aliases without a sendmail restart which has successfully worked.
service sendmail restart