On Wed, Mar 11, 2009 at 05:21:25PM -0500, Noel Jones wrote: > Curtis wrote: >> On Tue, Mar 10, 2009 at 8:43 PM, Victor Duchovni >>> transport: >>> bo...@example.com error:5.1.1 Invalid recipient address >>> address.invalid error:5.1.1 Invalid recipient address >>> >>> this bounces the address when submitted locally. >> Perhaps it's a problem with my postfix configuration, but the above >> solution bounced the email after smtp, which won't work for us. I did >> find one solution that seems to work... > > Suggests an implementation error on your part. or possibly you have an > ancient postfix. The feature works as Viktor described.
Sorry, Noel, my error led you up the garden path too. virtual(5) hits trump error:message hits in the transport table, so with a catchall, the transport setting does not trigger rejection via smtpd(8). Indeed an explicit access check is required to complete the solution. The reason is that all users in a virtual_alias_domain resolve to the error transport unless rewritten, so rewrites have to trump transport selection... -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.