Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smtp fails with zoho. #2644

Closed
euantorano opened this issue Jan 27, 2017 · 3 comments · Fixed by #3985
Closed

smtp fails with zoho. #2644

euantorano opened this issue Jan 27, 2017 · 3 comments · Fixed by #3985
Labels
b:1.8 Branch: 1.8.x s:resolved Status: Resolved. Solution implemented or scheduled t:bug Type: Bug. An issue causing error / flaw / malfunction
Milestone

Comments

@euantorano
Copy link
Member

The smtp mailhandler does not support sending emails via zoho smtp server (smtp.zoho.com, on port 465 with ssl enabled). It fails on line 250 of the smtp mail handler script with the "$this->send_data('.', '250');" call, with the server responding back with a 553 code instead of a 250 code.

Original thread: smtp fails with zoho.

@euantorano euantorano added b:1.8 Branch: 1.8.x t:bug Type: Bug. An issue causing error / flaw / malfunction s:confirmed Status: Confirmed. Retested and found the issue exists labels Jan 27, 2017
@euantorano euantorano added this to the 1.8.11 milestone Jan 27, 2017
@Stefan-MyBB Stefan-MyBB modified the milestones: 1.8.11, 1.8.12 Apr 1, 2017
@Stefan-MyBB Stefan-MyBB modified the milestones: 1.8.12, 1.8.13 May 22, 2017
@Stefan-MyBB Stefan-MyBB modified the milestones: 1.8.13, 1.8.14 Nov 6, 2017
@dvz dvz removed this from the 1.8.14 milestone Nov 22, 2017
@effone
Copy link
Member

effone commented Jun 6, 2018

As much possible I have carried out digging for this it is appearing that zoho returns 553 relaying disallowed in following cases:

  • host not registered in zoho db
  • from ID & sender ID is different

This can take much time trying fixing but shall we try for a fix as we are switching to 3rd party mail library ...

Also a fix is mentioned somewhere which I don't know working or not, just for reference:

I can't test this without a MyBB install, but if it uses the native PHP mail function, you may need to add the -f option to the mail() function call since you are using sendmail.. Note it is the 5th parameter (I wasted a day once thinking it that was 4th)
mail('nobody@example.com', 'the subject', 'the message', null, '-flocaluserr@thisdomain.com');

@euantorano
Copy link
Member Author

euantorano commented Jun 6, 2018 via email

@effone
Copy link
Member

effone commented Jun 6, 2018

Setting it to wontfix.

@effone effone added the s:wontfix Status: Won't Fix. Will not be addressed label Jun 6, 2018
@effone effone closed this as completed Jun 9, 2018
@euantorano euantorano added s:resolved Status: Resolved. Solution implemented or scheduled and removed s:confirmed Status: Confirmed. Retested and found the issue exists s:wontfix Status: Won't Fix. Will not be addressed labels May 10, 2020
@euantorano euantorano added this to the 1.8.23 milestone May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b:1.8 Branch: 1.8.x s:resolved Status: Resolved. Solution implemented or scheduled t:bug Type: Bug. An issue causing error / flaw / malfunction
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants