This discussion is archived
1 2 Previous Next 17 Replies Latest reply: Sep 11, 2012 12:08 AM by snmdla RSS

How to Create Email Alias

601050 Newbie
Currently Being Moderated
Hi All,

Does anyone know how to create an email alias on Beehive? I couldn't find at the documentation.

Thank You!

Message was edited by:
Rodrigo Azevedo
  • 1. Re: How to Create Email Alias
    14737 Journeyer
    Currently Being Moderated
    [moved from a different forum]

    Hi Rodrigo,
    Users in beehive can have multiple addresses, and each address of type MAILTO is used for email resolution.

    So, if you have user "rodrigo" that you want to add a new email address to, you can use the modify_user command:

    $ beectl modify_user
    --user loginid=rodrigo
    --address BUSINESS_2:MAILTO:rodrigo2@nowhere.com

    this sets Rodrigo's second business email address to "rodrigo2@nowhere.com"

    You can have up to five business, five personal and five "other" addresses of each scheme, where scheme is one of:
    mailto, tel, fax, ftp, http, https, im, imap, ldap, news, nntp, oraalert, oraassistantphone, oracallback, oraisdn, oramobile, oracarphone, orapager, orapostal, orapush, oraradio, orasms, oratelex, orattyttd, oravmail, pres, sip, urn, xmpp

    see
    $ beectl modify_user --help
    for more details.

    hope that helps,
    Richard
  • 2. Re: How to Create Email Alias
    601050 Newbie
    Currently Being Moderated
    Hi Richard!

    That makes all sense!
    Just getting used to the new concepts :D

    Thank You!
  • 3. Re: How to Create Email Alias
    450470 Explorer
    Currently Being Moderated
    Hello Richard

    is the syntax BUSINESS_2:MAILTO free or specified (apart the presence of :) ?

    Thanx
  • 4. Re: How to Create Email Alias
    14737 Journeyer
    Currently Being Moderated
    Hi,
    The format is not really free, but is made up of three parts; the TYPE (with an index), the SCHEME and the value.

    The set of values available for type and scheme are listed here:
    http://download.oracle.com/docs/cd/E10534_01/bh.100/e10477/usermgmtprov.htm#CFADHIIB


    Does that answer your question?

    regards,
    Richard
  • 5. Re: How to Create Email Alias
    snmdla Explorer
    Currently Being Moderated
    the method outlined here is somewhat dissatisfying when it comes to the need to maintain a central repository of aliases (something like /var/adm/sendmail/aliases):

    to change an alias like managing_board@yourcompany.org, you would first have to seek for the current user who has this alias.

    doesn't beehive offer a comparable central aliases database?

    Regards, Thomas
  • 6. Re: How to Create Email Alias
    601327 Journeyer
    Currently Being Moderated
    Hi Thomas,

    Isn't the addressbook not helping here? All the aliases should be visible through the addressbook, and you should be able to find them if you search by email address (alias in this case).
  • 7. Re: How to Create Email Alias
    snmdla Explorer
    Currently Being Moderated
    do you mean that the addressbook (you're actually referring to the GAL?) can / should be used to form aliases?

    I don't have the local mail traffic in mind, but aliases that can be communicated as contacts to the public, and that finally point to employees.

    Regards, Thomas
  • 8. Re: How to Create Email Alias
    450470 Explorer
    Currently Being Moderated
    It depends on what you want to do :
    - for personal aliases just use the standard beehive behaviour
    - for "functional aliases for the outside world", use groups (even with 1 person), so that you get a central management
  • 9. Re: How to Create Email Alias
    snmdla Explorer
    Currently Being Moderated
    Arnaud,

    thanks for that tip regarding public aliases.

    We actually have some aliases pointing to the same group of people, so that a functional alias is reachable through several alternative spellings, like

    dev@domain.com, devel@domain.com, development@domain.com

    (not our realworld example, but just for the purpose of having an example to discuss)

    How can we implement several aliases pointing to the same distribution list (group), without doubling the group definition?

    Regards, Thomas
  • 10. Re: How to Create Email Alias
    529779 Explorer
    Currently Being Moderated
    Hi Thomas,
    snmdla wrote: How can we implement several aliases pointing to the same distribution list (group), without doubling the group definition?
    A group is like a person it can have plenty of addresses as Richard mentioned above. What you are asking could also be used in OCS: create a distribution list and put people in it. So you have your group accounts_manager with address accounts_manager@domain.com containing Mr John Smith, so his inbox will get the email. However I'm not sure Zimbra will allow him to send email as accounts_manager@domain.com

    David
  • 11. Re: How to Create Email Alias
    snmdla Explorer
    Currently Being Moderated
    David,

    thanks for the tip.

    In a LDAP controlled setup, the question arises where to place the mail attribute that we use to use in user settings: neither posixGroup (currently not supported by beehive) nor groupofnames has such an attribute: we are probably forced to invent our own mail attribute.

    Regards, Thomas
  • 12. Re: How to Create Email Alias
    529779 Explorer
    Currently Being Moderated
    Hi Thomas,

    Of course, and in production, you are 99% probable to be synced to an external directory, and in this case, you can't add email addresses via Beekeeper. If you have the ability to add several entries for the user's mail attribute in that directory, they end up mapped at random in Beehive, which means you never know, in Zimbra, which address you are sending as :o(

    I haven't tried adding the other addresses as other that business_n though...

    David
  • 13. Re: How to Create Email Alias
    snmdla Explorer
    Currently Being Moderated
    David,

    we were able to implement own attributes to reflect group mail adresses controlled in LDAP. Now there remains the question on how to implement aliases on group addresses (distlists) and team workspace addresses. If I understand you right, beehive allows only one group mail address (in contrast to user mail addresses).

    Would it be a viable idea to implement aliases via external contact entries?

    Regards, Thomas
  • 14. Re: How to Create Email Alias
    snmdla Explorer
    Currently Being Moderated
    David,

    a test showed that I can define multiple group mail addresses in LDAP, and those addresses are synced into UDS and are reachable.

    Only the first address will be listed in the GAL.

    Regards, Thomas
1 2 Previous Next