Re: [exim] Strange empty return_path variable.

Top Page
Delete this message
Reply to this message
Author: Sam
Date:  
To: exim-users
Subject: Re: [exim] Strange empty return_path variable.
Hello and thanks to trying help me.

The config is :
Debian-Lenny with custom kernel 2.6.32.8-Grsec
Exim : 4.71-2~bpo50+1 (from backports to have full DKIM stable function)
Dual config : exim1 (queue only) --> mailscanner --> exim outgoing

This is my input buggy full config :

http://pastebin.com/E4ESMkye

It runs quite good except for the empty return_path variable at the end
of data _acl ONLY FROM THE LAN (when I try from outside, return_path is
non-null and my code is working :

warn log_message =
add_header = :after_received:${if eq{$return_path}{}{}{X-bounce-key:
BOUNCE_ID;${lc:$return_path};$tod_epoch;${length_8:${md5:BOUNCE_ID;${lc:$return_path};$tod_epoch;BOUNCE_SECRET}};}}

The bogus spirit efect is that if I remove this quote, it works and
return_path is not empty even from Lan !!! :

# warn
# !verify = recipient
# continue = ${lookup mysql{INSERT INTO black_ip (ip,last_conn)
values('$sender_host_address','$tod_log') on duplicate key update
last_conn='$tod_log';}}

That's why I think my config is buggy somewhere.

Please help me I become crazy.

Thanks a lot.
Sam.