New answers tagged

1

The problem is indeed on your customer's end. Your Postfix is configured to reject invalid hostnames provided by anything that attempts to deliver mail to it. This is a reasonable measure and prevents a lot of spam. But, your customer's mail server connected and provided an invalid hostname in the EHLO greeting. When Postfix tried to look up the hostname, ...


1

If you have a hosted product, one really easy way is to just have one vhost that answers every request and then look into the actual request headers to see what domain was requested in your code and then work with this. Depending on the specific circumstances, that might be all there is to it or you might have more complex situations, in the worst case ...


0

You may try this if using MySQL 5.7 version mysql> SELECT SUBSTRING_INDEX(USER(), '@', -1) AS ip, @@hostname as hostname, @@port as port, DATABASE() as current_database; +-----------+-----------------+------+------------------+ | ip | hostname | port | current_database | +-----------+-----------------+------+------------------+ | ...



Top 50 recent answers are included