Re: [exim] Exim not log from address

Top Page
Delete this message
Reply to this message
Author: Christopher Chaduka
Date:  
To: LinuxAdmin
CC: exim-users@exim.org
Subject: Re: [exim] Exim not log from address
On Tue, Jan 20, 2015 at 7:25 AM, LinuxAdmin <linuxadm@???> wrote:

> Hello Team,
>
> Exim not log from addreess in log file.
>
> Here is my command to send mail via php.
>
> mail($to, "The subject", "The mail body", $header, -f returns@???
> );
>
> my log selector setting is
> log_selector = +subject +received_recipients +received_sender
> +sender_on_delivery +smtp_confirmation +deliver_time -retry_defer
>
> In log file i am getting F=<returns@???> insted of actual From:
> address.
>
>

Exim logs the sender envelope address, which is what's defined by the -f
switch in your PHP mail() function arguments, not the From: header address
within the DATA section of your e-mail