Re: virtual question

From: mouss (no email)
Date: Thu Sep 22 2005 - 11:14:48 EDT

  • Next message: Victor Duchovni: "Re: smtpd_tls_req_ccert and smtpd_tls_auth_only"

    richard lucassen a écrit :

    >I want to reroute mail for a few users in "domain.tld" to somewhere else
    >and all other users to another domain:
    >
    > ->
    > ->
    > ->
    >
    >${all_other_users}@domain.tld --> ${all_other_users}@fourth_domain.tld
    >
    >I can resolve this using these 4 entries in "virtual":
    >
    >
    >
    >
    >@domain.tld @fourth_domain.tld
    >
    >The last line does the job. But although not explicitly mentioned in
    >the docs AFAICS, it seems to work well.
    >
    >
    Excerpt from http://www.postfix.org/virtual.5.html

           @/domain address, address, .../
                  Redirect mail for other users in /domain/ to /address/.
                  This form has the lowest precedence.

    and in the next section:

           *o* When the result has the form @/otherdomain/, the
                  result becomes the same /user/ in /otherdomain/. This
                  works only for the first address in a multi-address
                  lookup result.

    >I this the right way to handle this?
    >
    >R.
    >
    >
    >


  • Next message: Victor Duchovni: "Re: smtpd_tls_req_ccert and smtpd_tls_auth_only"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD