Re: [exim] Check for domain in acl_check_notsmtp

Top Page
Delete this message
Reply to this message
Author: Chris Knadle
Date:  
To: exim-users
Subject: Re: [exim] Check for domain in acl_check_notsmtp
On Tuesday 07 February 2006 16:51, Stian Jordet wrote:
> So I was thinking; if I only check mails with a return path _not_ from a
> local_domain I should be safe. But this doesn't really seem possible?
> Since there's not much I can check for in the notsmtp acl?


I'm not sure, but I'm wondering if it's possible to do the following:

acl_nonsmtp_check:
...
   accept
      condition = ${if match{$primary_hostname:+local_domains}{h_return-path}
                {true}{false}}
      [do your normal call for spam check here]
...


    - Chris


--

Chris Knadle
Chris.Knadle@???