Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2009
    Posts
    17

    Default *@tld.com as alias

    Hi guys

    Does anybody know how to set an alias for all possible addresses, excluding the existing ones?

    i.e. existing addresses:

    User 1:
    abc@tld.com
    *@tld.com <-- how to set this alias? (so the user could receive aaa@tld.com, but not def@tld.com)

    User2:
    def@tld.com


    Kind regards

  2. #2
    Join Date
    Sep 2009
    Posts
    17

    Default

    Anybody got some new experiences to share?

  3. #3
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    this kind of "catch all" alias needs to be configured at postfix (for example). Within ox you can use real e-mail aliases. Aliases are used to send E-Mail in OX, they are not related to the mailbox.

    HowTo:
    http://www.cyberciti.biz/faq/howto-s...mail-accounts/

    Greetings

  4. #4
    Join Date
    Sep 2009
    Posts
    17

    Default

    Hi Martin,

    As described in this tutorial you usually do it with "virtual_alias_maps".

    But my problem is I used the virtual_alias_maps for the OX aliases this way:

    ../main.cf
    virtual_alias_maps = mysql:/etc/postfix/ox_user_aliases.cf

    ../ox_user_alias.cf
    hosts = 127.0.0.1
    user = xxxxxxxxxxxx
    password = xxxxxxxxxxxx
    dbname = oxdatabase_6
    query = SELECT
    u.mail
    FROM user u
    JOIN user_attribute a
    on u.id = a.id and u.cid = a.cid
    WHERE a.value="%s"

    to match aliases with the ox users.
    The server got different contexts.. that's the reason why .cid


    Regards

    Beat

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •