[Dovecot] IP in rawlog

Andreas Goertz andreas.goertz at hosteurope.de
Mon Mar 14 16:01:35 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:

0.99.14

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

no - this patch doesn't seem to work, because in rawlog.c proxy is not
declared. So i looked for the call to rawlog_open() and saw that it's
only called from main.c in imap and pop3 folder. But there also is no
proxy declared. Do you have another idea? Thanks in advance.

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

iD8DBQFCNZk/pAOZWzj6viQRAp+BAJ9UJkklIbod4LOf0GaD0zOrJ+vCVQCfS6l+
WHaH3et4Z86bMOUXVQdhmmA=
=brkV
-----END PGP SIGNATURE-----



More information about the dovecot mailing list