[exim] Confusion about verification

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: Exim users list
Subject: [exim] Confusion about verification
OK - I'm a little confused - as usual.

I run exim -bv z@??? and I get

Unroutable Address - correct

if I run exim -bt z@??? it tells me that it will accept it and
run it through my spam filter router.

So - on my spam filter router I have "no_verify" thinking that will
cause it to not let the spam filter router indicate that it will accept
it. Obviously I'm missing something.

So - I want exim -bt to reject z@??? as unroutable. So - how do I
get the spam filter router to not accept non-routable local addresses?

#########################################################################
# Spam Assassin router. If not spam checked route through here.

spamcheck:
  driver = accept
  condition = "${if and { \
              {!def:h_X-Mailman-Version:} \
                        {!def:h_X-Spam-Status:} \
                        {!eq {$received_protocol}{ctyme-spam-scanned}} \
                        {!eq {$received_protocol}{local}} \
                        } {1}{0}}"
  domains = +all_mail_handled_locally
  no_verify
  transport = spamcheck