[Dovecot] IP in rawlog

Andreas Goertz andreas.goertz at hosteurope.de
Mon Mar 14 09:39:49 EET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Timo,

| 0.99.x or 1.0-test? In any case to rawlog.c something like:

i'm using 0.99.x

| struct ip_addr ip;
| if (net_getpeername(proxy->client_in_fd, &ip, NULL) == 0)
| 	i_info("ip address = %s", net_ip2addr(&ip));

I'll try this. Thank you so far ;-)

Regards,
Andreas Goertz.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCNT/FpAOZWzj6viQRApUMAJ9GPm2ti5h2FzHUlK0LQAr7T85S+gCfVoWK
PvriA33f2EAZv/uxNkUd688=
=UaiX
-----END PGP SIGNATURE-----



More information about the dovecot mailing list