Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev
[Bug 814] $acl_verify_message returns empty string
 

Index | Next | Previous | View Flat


graeme at graemef

Feb 23, 2009, 9:07 AM


Views: 967
Permalink
[Bug 814] $acl_verify_message returns empty string

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=814

Graeme Fowler <graeme[at]graemef.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |graeme[at]graemef.net




--- Comment #1 from Graeme Fowler <graeme[at]graemef.net> 2009-02-23 17:07:26 ---
It works exactly as documented in spec.txt and TFM on the web for me, using
exim 4.69. The spec.txt entry states:

> $acl_verify_message
>
> After an address verification has failed, this variable contains the
> failure message. It retains its value for use in subsequent modifiers. The
> message can be preserved by coding like this:
>
> warn !verify = sender
> set acl_m0 = $acl_verify_message
>
> You can use $acl_verify_message during the expansion of the message or
> log_message modifiers, to include information about the verification
> failure.

...fairly clearly explaining that this only populates the variable when a
verification fails.

On my system, doing call-forward verification as the backup MX for exim.org, I
have the following configuration as part of my recipient ACL:

deny domains = +filter_domains:+relay_to_domains
!verify = recipient/callout=30s,defer_ok,no_cache,use_sender/no_
details
log_message = RCPT VERIFY_2 RETURNED: $acl_verify_message

So this will reject recipients within the domain lists "filter_domains" and
"relay_to_domains" which fail a call-forward verification. In the logs we see:

2009-02-23 16:38:41 H=[redacted] [ip_redacted] I=[82.113.154.29]:25 F=<>
rejected RCPT <exim-dev[at]exim.org>: RCPT VERIFY_2 RETURNED: response to "RCPT
TO:<exim-dev[at]exim.org>" from tahini.csx.cam.ac.uk [131.111.8.192] was: 550
"Recipient never sends mail so cannot cause bounces": response to "RCPT
TO:<exim-dev[at]exim.org>" from tahini.csx.cam.ac.uk [131.111.8.192] was: 550
"Recipient never sends mail so cannot cause bounces"

Graeme


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

Subject User Time
[Bug 814] $acl_verify_message returns empty string graeme at graemef Feb 23, 2009, 9:07 AM
    [Bug 814] $acl_verify_message returns empty string graeme at graemef Feb 23, 2009, 9:09 AM
    [Bug 814] $acl_verify_message returns empty string marc at perkel Feb 25, 2009, 7:40 PM
    [Bug 814] $acl_verify_message returns empty string graeme at graemef Feb 26, 2009, 5:27 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.