[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: Content Filtering in smtpd(8) with amavisd-new
From:       Aaron Poffenberger <akp () hypernote ! com>
Date:       2014-02-28 2:46:55
Message-ID: 5A004E2E-B21B-41F6-8700-6AE733C18978 () hypernote ! com
[Download RAW message or body]

On Feb 27, 2014, at 2:17 AM, Marcus MERIGHI <mcmer-openbsd@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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic