On Wed, Mar 04, 2015 at 12:51:41PM -0600, Noel Jones wrote:

> mydestination = localhost

Just in case:

        mydestination = localhost, localhost.$mydomain

> # virtual_alias_maps
> upd...@virtual.example.com  update@localhost

This alias typically automatically rewrites to:

        update@localhost.$mydomain

> use "localhost" as shown above, or make up your own local name.

The choice of "localhost" is fine.  Some use:

    main.cf:
        # Sufficiently recent Postfix has texthash
        # Otherwise, create an empty table of some other type
        #
        local_recipient_maps = texthash:/dev/null
        mydestination = localhost.invalid

    virtual:
        upd...@virtual.example.com  update@localhost.invalid

The "invalid" TLD is IANA reserved and will never be used for real
domains.  With local_recipient_maps set to an empty table all
external (SMTP) mail to such synthetic local addresses is rejected.

-- 
        Viktor.

Reply via email to