Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2013, 05:34 PM
jemiller226 jemiller226 is offline
 
Join Date: Jan 2012
Location: Cranberry Twp, PA
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Password reset email not sending

Hi all. When users try to use the password reset function on my forum (3.7.2), they never receive the email. As admin, I do not have this problem, so I know email itself is functioning properly, but all other usergroups appear to.

Is there a setting I'm missing somewhere?
Reply With Quote
  #2  
Old 09-09-2013, 05:49 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible that the people having problems all have gmail or something like that? Sometimes one of those services will block a server for spam or some reason like that.
Reply With Quote
  #3  
Old 09-10-2013, 03:12 PM
jemiller226 jemiller226 is offline
 
Join Date: Jan 2012
Location: Cranberry Twp, PA
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like that's the case. I'm on Gmail and it works fine, and it works for others on Gmail, but users who are on Hotmail and Yahoo can't receive the email. Knowing this helps, but at the same time it doesn't. I'm an experienced IT guy, but I do next to nothing with mail servers.

I've found instructions on how to get removed from Hotmail and Yahoo blacklists, but they're asking for information I'm not sure I have access to. Where would the outgoing mail logs be for the PHP mail system that VB uses?

EDIT: Might it be because the email address we use for the password reset message comes from an @gmail.com address when the actual server is @fasthosts.net.uk? Even Gmail pops up a phishing warning. Hotmail and Yahoo might just be blocking it outright. I'm not sure that's something that can be helped, though, because Fasthosts is the host, but the email address would still be @somethingelse.co.uk, and it would likely trigger the same filters.
Reply With Quote
  #4  
Old 09-10-2013, 03:29 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know much about it either. I don't know where the logs would be (or even if all outgoing mail is logged), but someone else might. I guess if you have vb configured for "SMTP Email" then there might be a log on whatever server the smtp is running on, otherwise I don't think there would be a log unless the php mail function keeps one.

It might be a good idea to talk to your host about it, maybe they have an alternate server you can use for outgoing mail.
Reply With Quote
  #5  
Old 09-10-2013, 04:49 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or maybe this will help: http://www.fasthosts.co.uk/knowledge...article_id=320

If you set "SMTP Email" to yes (under Email Options in the admin cp), then enter smtp.fasthosts.co.uk as the SMTP host.
Reply With Quote
  #6  
Old 09-10-2013, 05:41 PM
jemiller226 jemiller226 is offline
 
Join Date: Jan 2012
Location: Cranberry Twp, PA
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting.

If I use smtp.fasthosts.co.uk, I still get the phishing warning because of the email address listed as the sender, so it probably still wouldn't work (but we're not worse off than we were before). I'm still going to have someone test it, though.

If I use smtp.gmail.com with TLS/SSL and port 587 as per here, I get Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error." which is obviously less than helpful.

If I try the same but going to AdminCP > Settings > Options > Cookies and HTTP Header Options and turning off gzip, I get
Code:
Warning: fsockopen() [function.fsockopen]: SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number in [path]/includes/class_mail.php on line 604

Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in [path]/includes/class_mail.php on line 604

Warning: fsockopen() [function.fsockopen]: unable to connect to tls://smtp.gmail.com:587 (Unknown error) in [path]/includes/class_mail.php on line 604
If I use TLS/SSL with port 465, it acts like it's going to send the email but I get nothing (which is what Hotmail and Yahoo users see).
Reply With Quote
  #7  
Old 09-10-2013, 06:09 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I missed your edit above - I really don't know if the email mismatch would cause hotmail to reject it or not.

I think the "Failed to enable crypto" message might mean that php on your server isn't configured to allow encrypted connections (as it says in the comment for that option, openssl has to be compiled in to php).
Reply With Quote
  #8  
Old 09-10-2013, 06:13 PM
jemiller226 jemiller226 is offline
 
Join Date: Jan 2012
Location: Cranberry Twp, PA
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, and given my host, the chance that I'd get that request done is exceedingly small. I'd really love to move everything for a number of reasons, this being but one, but I just can't be bothered. My luck I'd just break the database and then...well, I guess I wouldn't have to worry about the forum anymore.

At any rate, I'm going to get someone on Hotmail to test using the smtp.fasthosts.co.uk setting, and if that doesn't work, I guess we'll have to manually deal with requests from affected users. There can't be that many folks with Hotmail and Yahoo accounts, can there?

--------------- Added [DATE]1378848962[/DATE] at [TIME]1378848962[/TIME] ---------------

This just got weird. One of the users who cannot get the password reset email DOES get the automated happy birthday email. Obviously, the latter is far from critical, but of course that's what goes through.

--------------- Added [DATE]1378861897[/DATE] at [TIME]1378861897[/TIME] ---------------

Enabled -f parameter. It worked. I ignored that because it says, "In all likelihood, your problem will not be caused by this setting." I hope that in future versions they've amended that.
Reply With Quote
  #9  
Old 09-11-2013, 09:17 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jemiller226 View Post
Enabled -f parameter. It worked. I ignored that because it says, "In all likelihood, your problem will not be caused by this setting." I hope that in future versions they've amended that.

Wow. I don't know what that does, but I'm glad you got it working.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04302 seconds
  • Memory Usage 2,243KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete