nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

set up e-mail group

This is a discussion on set up e-mail group within the Mail Servers forums, part of the Mastering Servers category; Hi, I need a small help from you all guys I am trying to create a group for a set ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Linux answers from nixCraft.


Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-06-2007, 12:21 AM
Junior Member
User
 
Join Date: May 2007
OS: fedora/squirre mail
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
karpos is on a distinguished road
Default set up e-mail group

Hi,
I need a small help from you all guys I am trying to create a group for a set of people that have e-mail so sending it to this e-mail it will reach to that set of people
example

This is the command that I Use :

sudo /usr/sbin/groupadd salesman

then I add each user to the group (the user existed already)

sudo /usr/sbin/usermod -G salesman okok1
sudo /usr/sbin/usermod -G salesman okok2
sudo /usr/sbin/usermod -G salesman okok3

then I verify that was created correctly

[alejandro@colon alejandro]$ id okok1
uid=571(okok1) gid=577(salesman) groups=577(salesman)

but when I try to send e-mail to the group it send me a Undeliverable message

can you help me please

Last edited by karpos; 01-06-2007 at 12:27 AM. Reason: changes
Reply With Quote
  #2 (permalink)  
Old 01-06-2007, 12:28 AM
Senior Member
User
 
Join Date: Jun 2005
Posts: 137
Thanks: 21
Thanked 4 Times in 3 Posts
Rep Power: 5
jerry is on a distinguished road
Default

No this is not the way to setup email groups. You need to use .forward file or using virtual tables. Do you wanna redirect/sed mail for local recipients (on same mail server) or remote mail server (user@dom.com, user@dom2.net) etc?

For local user open /etc/mail/aliases or /etc/aliases in wich aliases are specified in the format of <alias name>: <existing account>. The <existing account> should be substituted by one or more account names in form of a coma separated list.

For sales alias an e-mail sales@dom.net that should be delivered to all the users you, jerry, top etc:
Code:
sales: you, jerry, top, user@yahoo.com, admin@gmail.com
save the changes and restart postfix MTA

Last edited by jerry; 01-06-2007 at 12:34 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Add multiple users to a group chuckbeattie Linux software 2 02-11-2007 11:04 PM
Ubuntu Linux add a user to group sweta Ubuntu / Debian 0 01-11-2007 02:41 AM
Group Policy bubloob_13 Windows Xp/2000/2003 server administration 0 31-01-2007 02:31 PM
Group Policy bubloob_13 Windows Xp/2000/2003 server administration 1 20-12-2006 03:22 PM
win2k3 Group policy bubloob_13 Windows Xp/2000/2003 server administration 1 11-12-2006 12:30 PM


All times are GMT +5.5. The time now is 07:59 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38