On Thu, Apr 15, 2010 at 11:27:22PM -0400, Frank DeChellis wrote:
> > On Fri, Apr 09, 2010 at 11:52:06PM -0400, Frank DeChellis wrote:
> >> Hi there,
> >>
> >> We run exim 4.67 and we have Barricade MX as our gateway filter. We
> >> installed the filter and changed our MX record 3 weeks ago. The filter
> >> works great, but lots of mail is still getting sent directly to our SMTP
> >> server. I can say, with great certainty, that 100.1% of the email going
> >> directly to our SMTP is spam.
>
> THANKS! You got it right. Sorry if I didn't add enough details. I have
> many domains on this exim install but only 2 have the barricade box as the
> primary MX. So. If I also add a line to the same check:
>
> domains = +filtered_domains
>
> Then it would allow direct connections for other domains, but for the
> domains listed on filtered_domains it must come from the barricade box.
> Is this correct?
In that case you can't handle it any earlier than RCPT time. Yes, something like
deny
domains = +filtered_domains
!hosts = ip.of.barricade.mx
in acl_smtp_rcpt should do the trick.
--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey