Re: [exim] Exim before-queue filtering?

Top Pagina
Delete this message
Reply to this message
Auteur: Tomasz Chmielewski
Datum:  
Aan: Chris Laif
CC: exim users
Onderwerp: Re: [exim] Exim before-queue filtering?
Chris Laif wrote:
> On Tue, Jun 30, 2009 at 10:23 PM, Tomasz Chmielewski<mangoo@???> wrote:
>> OK, could you give me some examples here? Or point me to documentation
>> which deals with it?
>>
>
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch41.html


Thanks for the link, but it's still a unclear for me how to do it?

Perhaps I'm thinking too much in a Postfix way, but I'm unable to
produce a working setup to pass the message to amavis _before_ it's
accepted by Exim.

Could anyone give a working example of Exim with amavisd-new, where the
spam/virus message is rejected during the connection?


begin routers

amavis:
      driver = manualroute
      condition = "${if eq {$interface_port}{10025} {0}{1}}"
      domains = +local_domains
      transport = amavis
      route_list = "* localhost byname"
      self = send



begin transports

amavis:
      driver = smtp
      port = 10024
      allow_localhost




--
Tomasz Chmielewski
http://wpkg.org