View Single Post
Old 20th May 2010, 19:19
Grey Grey is offline
Join Date: May 2008
Location: Germany
Posts: 70
Thanks: 9
Thanked 18 Times in 15 Posts

Originally Posted by till View Post
The ispconfig mail_user table has a field server_id which holds the ID of the server this address belongs to. Yoou can lookup the server hostname then with tis ID in the server table.
That's exactly what I was thinking when I wrote my answer. I wouldn't like to do a dig or NS-lookup via PHP, as that's something that can be abused "relative easily". Also a simple (even a nested) query should not decrease performance of the login that much, so I would rather rely on the ISPConfig DB than other data

I'm currently looking into setting up a VM for testing a few ideas.
Reply With Quote