Score:0

Exim peer IP in authenticator

it flag

I want to pass IP to Perl auth function. Everything works except i cannot get ip. I tried tons of vars and none of them contain peer ip (client's ip connecting to the server). Tried SSL/STARTTLS/insecure connections.

vars tried: $sending_ip_address $host_address $host $remote_address $sender_fullhost $sender_host_address

all are just empty in authenticator context. Any idea where to get clients ip inside authenticator block?

plain_server:
    driver = plaintext
    public_name = PLAIN
#    server_condition = "${if crypteq{$auth3}{${extract{1}{:}{${lookup{$auth2}lsearch{EXIM_PASSWD}{$value}{*:*}}}}}{1}{0}}"
    server_condition = ${perl{a_plain}{$auth2}{$auth3}{$sending_ip_address}{$host_address}{$host}{$remote_address}{$sender_fullhost}{$sender_host_address}}{2}}
    server_set_id = $auth2
    server_prompts = :
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.