nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-01-2007, 12:21 AM
Junior Member
User
 
Join Date: May 2007
My distro: fedora/squirre mail
Posts: 1
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; 06-01-2007 at 12:27 AM. Reason: changes
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-01-2007, 12:28 AM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
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; 06-01-2007 at 12:34 AM.
Reply With Quote
Reply

Bookmarks


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 On

Similar Threads

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


All times are GMT +5.5. The time now is 11:12 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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