group or aliases file?

If i have a client that wants a few addresses forwarded to external addresses hosted elsewhere..

say:

help@localdomain.com

info@localdomain.com

sales@localdomain.com

and they want them all forwarded to a different external address. (each would be forwarded to a different external.. not all to the same external)

should i add them to the aliases file? or should i create 3 groups... each group forwarding to a single external address?

And if by chance they wanted all three local addresses forwarded to the SAME external address.. can i create a single group in LDAP.. and assign the single group a few alternate addresses? with one external address?

Just curious what would be the "best" way to do this.. as far as performance etc..

[788 byte] By [callenj98] at [2007-11-26 9:39:51]
# 1
Um, "groups" file? Not in Messaging Server.Aliases file? Yes, if you want. Typically a "bad idea"LDAP mailing list? Excellent. You can use external and/or internal addresses as you wish. No maximum size.
jay_plesset at 2007-7-7 0:36:17 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

didn't say a group file. was referring to a group in LDAP created with the commadmin group create command.

so can a group have multiple addresses? (not addresses of members.. but email addresses for the group itself)

ie -

if i want to create a group that has three addresses (again.. not member address) like:

sales@localdomain.com

info@localdomain.com

help@localdomain.com

so that if someone emails ANY of the above email address.. the email is forwarded to all members of the group.

or would i need to create three separate groups for this?

callenj98 at 2007-7-7 0:36:17 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

sure. a mailing list or mailing group may have mailalternateaddresses, just as many as you like.

I suggest you make 'em "mailing lists" rather than "groups". The difference is that when you send to a "group", the mail is delivered from 'You", but when it's sent via a list, it comes from "the list".

To convert, add a

mgrpErrorsTo attribute

http://docs.sun.com/app/docs/doc/819-2657/6n4ub3hnn?a=view

jay_plesset at 2007-7-7 0:36:17 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4
awesome. works great. thanks jay!
callenj98 at 2007-7-7 0:36:17 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

one last follow up question on this..:) (not getting off this easy Jay) <g>

i created a group with the commadmin.. and i am trying to add an additional external member.. but it does not like my syntax. one thing i notice in the "commadmin group modify" command line docs... is that the -M option is only valid if i am using the "-S mail" option.. but it will not let me use "-S mail" option in my modify command.. i get the error that mail services are already enabled for this group.

So to add an additional external member.. should i use the -A option with the "+" before the member attribue instead?

like:

-A +mgrprfc822mailmember:someone@domain.com

can the -M only be used when you first create the group? but not when you modify?

Thanks jay.. i may be splitting hairs here..

callenj98 at 2007-7-7 0:36:17 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6
Yes, -M is used to create a mailing list.-A + is what you want.
jay_plesset at 2007-7-7 0:36:17 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...