[exim] PAM parameters

Inizio della pagina
Delete this message
Reply to this message
Autore: Jacek Herold
Data:  
To: exim-users
Oggetto: [exim] PAM parameters
Hello everyone!

I use exim 4.80.1 with pam authentication. Especialy with pam_pgsql
module. The problem is that exim doesn't pass the host (client) ip
neither hostname to the pam module. I need it for logging purposes.
Other aplications like pamtester and dovecot pass the hostname/ip.

My authenticator section is as follows:

begin authenticators

plain:
    driver = plaintext
    public_name = PLAIN
    server_prompts = :
    server_condition = "${if pam{$2:$3}{1}{0}}"
    server_set_id = $2


login:
    driver = plaintext
    public_name = LOGIN
    server_prompts = "Username:: : Password::"
    server_condition = "${if pam{$1:$2}{1}{0}}"
    server_set_id = $1



Could someone tell me how to pass the ip or hostname information to the
pam module?


Best regards
Jacek