Re: [exim] debug_print for auth?

Góra strony
Delete this message
Reply to this message
Autor: Jan Ingvoldstad
Data:  
Dla: exim users
Temat: Re: [exim] debug_print for auth?
On Tue, Oct 24, 2017 at 7:21 AM, Angelo Chen via Exim-users
<exim-users@???> wrote:
> Hi,


Hi!

> we can use use debug_print in router to dump some variables, but not with
> authenticator, any way to dump variables like $sender_address? following is
> a log entry, but no way to know what's really sent to smtp server:


At authentication time, the sender address has not yet been sent to
the SMTP server.

One of the points of authentication is to be able to reject
unauthenticated connections before they get to say anything about
sender, recipient, or message content.

However, if you are willing to delay rejection until you've had a look
at the message data, you can get at the sender address and other
metadata at your leisure.

--
Jan