Just like the title says, notification emails that are being sent out have replaced my domain URL with www.wantsfly.com. The remainder of the URL is untouched (ex: /content/blablabla). Notification was installed just a few days ago and has worked fine since. This is an IP only server in a testing environment, we haven't even gotten any traffic outside of the few people that are working on it. How could this happen? Where in the database or otherwise is Notify retrieving the domain name?

Comments

charlie-s’s picture

So it appears that someone threw a prx.php at the server (6.13, all modules current), which failed, and I have checked the logs and see that all requests "failed", however Notify is still using this proxy URL mentioned above instead of our IP address. Searching the entire MySQL database reveals that "wantsfly" only exists in a few of the log records, and exists nowhere in Notify's tables. So where is notify getting this from?

charlie-s’s picture

Priority: Normal » Critical

Updated status to critical because the module is in reality unusable in this state.

The links in the Notify emails are showing the domain of whatever IP or server or proxy visited the site last before cron ran.

So instead of mydomain.com/content/here-is-the-article we are seeing emails everyday with different domains, like
12.34.56.78/content/here-is-the-article
proxy.org/content/here-is-the-article

StratisFear’s picture

I'm a real drupal noob here but while researching other stuff I have a couple of ideas for you.

Are you using Poormans Cron? I heard that the way the last visitor ends up being the domain on the triggered mail is related to that, some bug between Poorman's and Notify.

Also, check your settings.php and make sure its edited to read your site domain. There's a line that's db_url which you change from www.example.com to www.yourdomain.com. Don't forget to remove the hash at the beginning of the line.

matt2000’s picture

Priority: Critical » Minor
Status: Active » Closed (won't fix)

StratisFear's advice is sound. Poorman's cron is a likely cause. There is nothing inherent to notify module that would cause this.