Post login scripts environment

André Rodier andre at rodier.me
Sun Apr 7 17:26:51 EEST 2019


Dear Dovecot users,

I am running Dovecot 2.2.27 on Debian Stretch, no issue so far.

I wonder if there is a way to pass the remote IP address, in an
environment variable, in the post login script.

My Post login scripts are working well, except that when the server is
accessed through a webmail (Roundcube or SOGo), the remote IP address
is systematically 127.0.0.1.

The other question I have is, is it possible to pass the user agent of
the email client used to access the server? I know this can be easily
forged, but I would like to log it.

Thanks for your insight.

-- 
André Rodier



More information about the dovecot mailing list