On Feb 27, 2014, at 2:17 AM, Marcus MERIGHI <mcmer-open...@tor.at> wrote:
>> The question I have for Gilles et al.: Is there a better way to send the >> emails to amavisd? It would be more efficient if emails went through >> "virtual <vmap>" first so invalid recipients were rejected before >> content filtering. > > I'm not Gilles et al. but... > > If you could go with recipients instead of virtual this is what I use: > > table domains { 'foo.at', 'foobar.at' } > table addresses file:/etc/mail/addresses > accept from any for domain <domains> recipient <addresses> \ > relay via smtp://127.25.0.1:10024 > > I'm using smtp here because I had strange problems with multiple rcpts > that I circumvented by using smtp instead of lmtp. Sorry, no notes taken > and memory already fading. > > Bye, Marcus Hi Marcus, That’s a good thought. I may be able to use that soon. Currently I have a fair number of email addresses in play so several of the domains map to a catchall: E.g., @example.org user I need to catch instances of user-<whatever>@example.org. 5.4.1 adds wildcard recipients in the rules which should solve the problem. I'll be upgrading to a snapshot soon enough to test that.