Closed (fixed)
Project:
Signup
Version:
5.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2008 at 23:04 UTC
Updated:
14 Oct 2010 at 10:02 UTC
Hi,
If somehow variable_get('site_mail') falls back to the default value, we end up directing possible bounceback spam at a *real* email address on the noadmin.com home page. By changing it to example.com, we let any bounces get dropped to the bit bucket.
Or perhaps a better solution - why not just determine the site domain, and append webmaster@?
--Andrew
| Comment | File | Size | Author |
|---|---|---|---|
| noadmin.patch | 1.22 KB | deviantintegral |
Comments
Comment #1
dwwGood one, thanks. Committed to HEAD, backported to DRUPAL-5, and committed there, too.
What core does is uses this:
We should probably just do the same. If you agree, don't bother with a patch, I can just make the change.
Comment #2
deviantintegral commentedUsing ini_get sounds good to me.
--Andrew
Comment #3
dwwHrm, except it's possible for ini_get('sendmail_from') to come up empty. I don't know if it's worth even more code, since core doesn't care about this case. Oh well, I think Be Like Core(tm) is going to win here, so I committed to HEAD and DRUPAL-5. ;)
Oh, and the old bogus use of "noadmin.com" was definitely a bug.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
rishish commentedis it a built in function..??
Comment #6
rishish commentedis there any way to use it in settings.php.
From where this function is exactly written.