Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2008, 08:06 PM
GrowReport's Avatar
GrowReport GrowReport is offline
 
Join Date: Jan 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 501 error Unexpected response from SMTP server during FROM address

I guess I have posted this question in the wrong place already so mods, sorry.

I have the newest version of VB running and I use SMTP to send mail.

I get this error when I use the diagnostics tools.

"The mailing function returned an error while trying to send the mail.
The following errors were outputted by PHP when attempting to send mail:

Warning: 501 Unexpected response from SMTP server during FROM address transmission in [path]/includes/class_mail.php on line 586"

I know the SMTP settings are correct my outlook can send and receive email with no problem. Only the forum can't.

Any clues?

Thanks
Reply With Quote
  #2  
Old 06-12-2008, 09:00 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to post the full error from the mail log on the server, a 501 error can be generated for a few reasons.

What sendmail options do you have set in the admincp?
Reply With Quote
  #3  
Old 06-12-2008, 09:31 PM
GrowReport's Avatar
GrowReport GrowReport is offline
 
Join Date: Jan 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using SMTP under the email options. I have tried both -f and -+ options if that is what you are asking.

Is there somewhere else to check, i may have missed?

I sent my host a ticket to figure out where the email logs are, I can't find them.

I did tell VB to make error logs too but they are still blank.

Personally I think (but don't know) that VB is only sending the login once and the mail server requires the same login when you send outbound too.

My outlook works that way and it can connect and send with no problems.

When I do make changes I can get other error message so I know this is connecting just can't sent out as far as I can tell.

Does that make sense to anyone?

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

I used SSH and viewed the log in real time (well close to that anyway)

The connection attempt does not even show up in the log,

I tested the same account from my outlook and it showed up and it did work.

Would that lead anyone to think its a script setting or maybe something else.
Reply With Quote
  #4  
Old 06-13-2008, 07:40 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most likely problems during authentication. Thi is however very hard to troubleshoot without direct access to the server and log files. I suggest you open a support ticket on this.
Reply With Quote
  #5  
Old 06-13-2008, 12:59 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

most likely a missing module that is not built into and a part of your mail system, is the server using courier & sendmail?
Reply With Quote
  #6  
Old 06-13-2008, 01:46 PM
GrowReport's Avatar
GrowReport GrowReport is offline
 
Join Date: Jan 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked up until about a week ago when I started upgrading. I had problems with registration but I got that worked out now I am just stuck with a problem with email.

Thanks

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

I started a support ticket but it was a complete waste of time.

I think I got standard answer #21 "That is a problem with either your server not being able o connect to that SMTP server, a problem with that SMTP server itself, or you are using the wrong SMTP info. "

This of course is wrong but that is what support assumes!

Even though I told them Outlook can both send and recieve with the exact same settings it's the mail server not them.

So much for support!

Thanks for you help too.

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

I wrote an app in c# that caught the error.

There was an extra Mailto: in front of the sender name of the email. I found it in the code of the Site Name / URL / Contact Details. the line that matches up with the "Contact us Link" form field.

Thanks everyone, a lesson learned. That error number means that the send name is not in the proper or acceptable format for the mail server to read. It can connect but not send because the From name format is not known.

At least it works now, so thanks everyone.

I let support know too, that is something they should have at the least had a clue on (imo). But now they do and that's what matters. If it can help someone else down the road then that is a good thing.

Thanks again everyone

Peace
Reply With Quote
  #7  
Old 10-31-2008, 11:15 PM
mello mello is offline
 
Join Date: Apr 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the report I had the same problem and you are the only one that helps me

if there is any other one have the same problem please change the encoding of the page of Contact us link to something simple and not UTF-8 and then delete the character that you see it's strange and save


if you got others problem related with mail
http://www.vbulletin.com/docs/html/m...bleshoot_email
http://www.vbulletin.com/forum/showthread.php?t=227828
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 06:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06488 seconds
  • Memory Usage 2,217KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_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