On Fri, Feb 13, 2015 at 03:50:14PM +0100, Mats Luspa wrote:

> I'm using the transport_maps-option and have no value on relayhost.
> The transport-map has the following information:
> 
> irf.se    smtp:[mail.irf.se]:XXXXX
> *         smtp:

It generally makes more sense to simply set

        mydestination =
        alias_maps =
        alias_database =
        local_transport = error:5.1.2 Mailbox unavailable

at which point all domains not listed in virtual_mailbox_domains
(empty by default) are delivered via SMTP anyway, and the "*" in
the transport table becomes unnecessary, just the "irf.se" entry
is enough.

> It works well for mail-addresses that exists. However when I send mail
> to a non-existing mail address it is only deferred when it should be
> rejected.

        # Revert to default (delete from main.cf) or set explicitly to:
        #
        soft_bounce = no

For more help:

        http://www.postfix.org/DEBUG_README.html#mail

-- 
        Viktor.

Reply via email to