[Dovecot] getpeername() and SSL

Andreas Goertz andreas.goertz at hosteurope.de
Tue Jun 28 15:16:05 EEST 2005


Hi Timo,

> It's because with SSL it creates another proxying socket. Hmm. Looks
> like the IP address is actually in IP environment. So change the str =
> t_strdup_... line with str = t_strdup_printf("IP: %s\n", getenv("IP"));
> 
> I thought I hadn't done that yet in 0.99.x.

looks like you did ;-) with getenv() it works. Thank you very much.

Regards,
Andreas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050628/4ce6ab84/attachment-0001.bin>


More information about the dovecot mailing list