How to use [$REMOTE_ADDRESS$] and [$REMOTE_HOST$]

thumbnail
Andre Kreienbring, modified 4 Years ago. Regular Member Posts: 152 Join Date: 12/18/06 Recent Posts

Liferay is able to resolve this placeholders as Emails are send from the system to users.

But at least in my case both placeholders always are resolved to the same IP Address.

My question is: How to inform the user about a possible danger related to this addresses? When and how do the addresses differ?

I think that the user should be able to recognize a possible fraud when something is wrong with these addresses. But how exactly?

Thanks in advance!

 

thumbnail
Andre Kreienbring, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

Some addresses have a reverse DNS entry, and then it's possible to have a remote host name, not only an IP address. Many don't resolve in reverse. I assume that this is what you're running into - and then you can only rely on the IP address to be known, but not human readable name (that might - e.g. - point to an internet provider or company network/gateway)

thumbnail
Andre Kreienbring, modified 4 Years ago. Regular Member Posts: 152 Join Date: 12/18/06 Recent Posts

I see! Thank you!