« Return to Thread: Exim before-queue filtering?

Re: Exim before-queue filtering?

by mangoo :: Rate this Message:

Reply to Author | View in Thread

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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

 « Return to Thread: Exim before-queue filtering?