Re: [exim] controlling where email for each domain may come …

Top Page
Delete this message
Reply to this message
Author: Fred Viles
Date:  
To: exim-users
Subject: Re: [exim] controlling where email for each domain may come from...
On 21 Jul 2005 at 3:55, Jim Archer wrote about
    "Re: [exim] controlling where email ":


|...
| They don't, so I guess I'll have to do this:
| 
|   accept domains    = +spamsoap_domains
|          authenticated = *
| 
|   accept domains    + +spamsoap_domains
|          hosts      = +relay_from_hosts
| 
|   accept domains    = +spamsoap_domains
|          endpass
|          message    = traffic for $domain not accepted from 
| $sender_host_address
|          hosts      = 66.179.26.128/26


Yup that will work.

|...
| Is there really no way to force every message to route out via SMTP with
| dnslookup?


Ah, you want to force your own users messages through your spam
filtering server. That wasn't clear to me before. Sure, you can do
that but you'd use a manualroute router rather than dnslookup. Just
set an acl_cN variable in the first two accept stanzas (or just the
relay_from_domains accept to at least skip the extra step for
authenticated users), and test it as a condition in a manualroute
router before the local delivery router.

- Fred