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

Mailing List Archive: exim: dev

[Bug 814] $acl_verify_message returns empty string

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


graeme at graemef

Feb 23, 2009, 9:07 AM

Post #1 of 4 (960 views)
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/ ##


graeme at graemef

Feb 23, 2009, 9:09 AM

Post #2 of 4 (904 views)
Permalink
[Bug 814] $acl_verify_message returns empty string [In reply to]

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

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




--- Comment #2 from Graeme Fowler <graeme[at]graemef.net> 2009-02-23 17:09:05 ---
I'll await other comments before closing this bug as resolving this as INVALID.


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


marc at perkel

Feb 25, 2009, 7:40 PM

Post #3 of 4 (889 views)
Permalink
[Bug 814] $acl_verify_message returns empty string [In reply to]

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

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

Marc Perkel <marc[at]perkel.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID




--- Comment #3 from Marc Perkel <marc[at]perkel.com> 2009-02-26 03:40:52 ---
I have it working. Go ahead and close. my bad.


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


graeme at graemef

Feb 26, 2009, 5:27 AM

Post #4 of 4 (889 views)
Permalink
[Bug 814] $acl_verify_message returns empty string [In reply to]

------- 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
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED




--- Comment #4 from Graeme Fowler <graeme[at]graemef.net> 2009-02-26 13:27:47 ---
Closing. Thanks for the update.


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

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


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