> Yup, that would do the trick.

/etc/postfix/main.cf:
    default_transport = error:5.7.1 This destination is prohibited.
    transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport:
    example.com         smtp:

This avoids regular expressions, and also has the same limitation
of not stopping user%elsewh...@example.com of elsewhere!u...@example.com.

To stop that, specify:

/etc/postfix/main.cf:
    swap_bangpath = no
    allow_percent_hack = no

        Wietse
~~~~~~~~~~~~~~~~

That worked perfectly. Thank you Erwan & Wieste for the clear details and the 
amazing response time.

Much obliged,

James

Reply via email to