Results 1 to 2 of 2

Thread: How do I use /etc/aliases?

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    25
    Rep Power
    7

    Default How do I use /etc/aliases?

    I've added an rt pipe script to /etc/aliases:

    support: "|/opt/zimbra/rt-mailgate --queue Support --action correspond --url http://support.suretecsystems.com/"

    and I can see the /etc/aliases is a symlink to:

    /etc/aliases -> /opt/zimbra/postfix/conf/aliases

    I've also run:

    /opt/zimbra/postfix/sbin/newaliases -vvvv

    All looks good. This is on ZCS 5.0.8 Open Source Edition.

    the host name is mail.suretecgroup.com

    and a test to support@mail.suretecgroup.com just bounces.

    How do you set aliases up like this?

    Should support@any_normal_domain_alias.com work that you define via the Admin Panel?

    Thanks,

    Gavin.

  2. #2
    Join Date
    Apr 2008
    Posts
    25
    Rep Power
    7

    Default

    Quote Originally Posted by ghenry View Post
    I've added an rt pipe script to /etc/aliases:

    support: "|/opt/zimbra/rt-mailgate --queue Support --action correspond --url http://support.suretecsystems.com/"

    and I can see the /etc/aliases is a symlink to:

    /etc/aliases -> /opt/zimbra/postfix/conf/aliases

    I've also run:

    /opt/zimbra/postfix/sbin/newaliases -vvvv

    All looks good. This is on ZCS 5.0.8 Open Source Edition.

    the host name is mail.suretecgroup.com

    and a test to support@mail.suretecgroup.com just bounces.

    How do you set aliases up like this?

    Should support@any_normal_domain_alias.com work that you define via the Admin Panel?

    Thanks,

    Gavin.
    As per the other thread returned in a forum search, the following command made it work, because for each local alias, i.e. in /etc/alias, you need to add the domain to:

    Code:
    mail:~# su - zimbra
    mail:~$ zmprov mcf zimbraMtaMyDestination "localhost suretecsystems.com"
    So support@suretecsystems.com will be sent to RT, but support@suretecgroup.com won't as it's not in above.

    However, postfix gives this warning:

    Code:
    ug 10 21:32:41 mail postfix/trivial-rewrite[6884]: warning: do not list domain suretecsystems.com in BOTH mydestination and virtual_mailbox_domains
    Should I care?

Similar Threads

  1. /etc/aliases and Drag and Drop Calendar events
    By ghenry in forum Administrators
    Replies: 2
    Last Post: 06-29-2008, 01:57 PM
  2. /etc/aliases > script = unknown user
    By tercero12 in forum Administrators
    Replies: 3
    Last Post: 02-13-2008, 08:41 AM

Posting Permissions

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