[exim] Confusion about verification 2

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: Exim users list
Subject: [exim] Confusion about verification 2
Trying to be more specific here.

220 mail.ctyme.com ESMTP Exim 4.43 Wed, 08 Dec 2004 10:56:16 -0800
helo ctyme.com
250 mail.ctyme.com Hello ctyme.com [127.0.0.1]
mail from:<>
250 OK
rcpt to: z@???
250 Accepted

This issue is that z@??? is unroutable. But the spam filter
router accepts just about anything. I need to make it so z@???
returns unroutable address. What am I missing?

Thanks in advance.


#########################################################################
# 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