On Thu, Mar 06, 2014 at 10:38:53AM +0000, John Cox wrote:
> Hi
> 

Hi,


> Is there any chance we could have a rule of the form
> 
>   accept for any virtual no-bounce <vmap> relay
> 
> such that if the virtual lookup fails then processing continues to the
> next line rather than generating a bounce message.  This would
> simplify the generation of forwarding tables.
> 

the "processing continues" is not going to happen because it leads to
issues:

   accept for any virtual no-bounce <vmap> relay
   accept for any relay

and suddenly instead of failing you match another rule that was not
meant to be matched, and the mail gets relayed instead of being
rejected.


> Maybe
> 
>   accept for recipient <vmap> virtual <vmap> relay
> 
> would do, where the 2nd entry in the vmap is ignored would do?
>
> What I'm trying to avoid is having to list users that I want forwarded
> twice: once in a filter and once in a vmap, as that always leads to
> mismatches and confusion.  The solution would (of course) be to have
> script that auto-generates the appropriate files but I'd much rather
> avoid that level of complexity if I can.
> 


technically this can be made to work if using a backend that can
share a table between different kinds of lookups (sql, ldap, ...)
some people are using the same table for credentials and userbase
using the sqlite backend for instance

-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to