OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: override the catch-all ?

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Thu Mar 12 2009 - 09:29:56 CDT


Victor Duchovni wrote:
> 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:
>>>> bogusexample.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...
>

Well, I feel a little sheepish now...

Thanks for setting us straight.

   -- Noel Jones