special "what's my ip" pop account

Reindl Harald h.reindl at thelounge.net
Wed Oct 22 14:22:23 UTC 2014


Am 22.10.2014 um 16:14 schrieb A. Schulze:
> I like to enable the allow_nets Feature
> (http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/AllowNets)
> for my customers. To help them knowing there own IP I imagine a special
> mailbox/loginuser at the pop3 server.
>
> That user could give a valid pop3 answer from a dummy pop3 server or
> simply throw a login error with customised answer containing the IP
> information.
>
> Has anybody done something similar or ideas to build such a system?

jesus - why that complex?

just point them to a website which display the remote IP or just to 
http://whatismyipaddress.com/

<?php echo htmlentities($_SERVER['REMOTE_ADDR']);?>
http://php.net/manual/de/reserved.variables.server.php

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20141022/32fe162b/attachment.sig>


More information about the dovecot mailing list