| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4443|Reply: 10
Collapse the left

How to setup email - Registration and password recovery?

[Copy link]

 United States

Post time: 2020-12-28 01:09
| Show all posts |Read mode
Edited by evanhenry at 2020-12-28 01:11

Hey guys,
I want to set up email so users who register can receive an activation email and forgot password?

I see there is an option under Admin > Email but I am not sure what options to choose. I tried php send function but new users are not receiving emails.

I searched this forum but I didn't get a proper explanation.

Can you tell me the steps to setup email?

Cheerios......
Evan

 Russia

Post time: 2021-01-02 18:21
| Show all posts
The best solution is to use an external SMTP server:
· SMTP server using sockets (supports ESMTP authentication)
Then set your provider SMTP parameters (just an example):
SMTP server:         smtp.hotmail.com
SMTP port:         25
Authentication:         Yes (Check it)
Email sender address:         blabla@outlook.com
SMTP Authentication User Name:         blabla@outlook.com
SMTP authentication password:         yor_user_password
Post time: 2024-04-05 06:53
| Show all posts
Edited by padheye at 2024-04-05 20:34
vot 2021-01-02 18:21
The best solution is to use an external SMTP server:
· SMTP server using sockets (supports ESMTP au ...

so I am trying to use this external SMTP server. Tried testing manually it is working.

But after adding the details at SMTP at Discuz, the test mail function say test failed.








I tried looking at my logs at my server where forum is hosted. I am not able to figure out why this happening.


Even tried disabling the local server email. Not much help.




Can you please check and guide me little bit.

View Log: /var/log/mail.log


  1. Apr  5 02:00:12 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 30 secs): user=<>, rip=43.153.21.216, lip=174.138.177.22, TLS, session=<N1/y0E8V/MYrmRXY>
  2. Apr  5 02:21:55 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=198.235.24.246, lip=174.138.177.22, session=<9vqeHlAVFunG6xj2>
  3. Apr  5 02:29:03 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=167.94.138.50, lip=174.138.177.22, TLS: Connection closed, session=<5nsdOFAVup6nXooy>
  4. Apr  5 03:28:12 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=205.210.31.200, lip=174.138.177.22, TLS, session=<nECnC1EVsvHN0h/I>
  5. Apr  5 05:42:20 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=205.210.31.55, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol, session=<4RZe61IVoMrN0h83>
  6. Apr  5 06:01:30 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=198.235.24.184, lip=174.138.177.22, TLS, session=<ubLpL1MVRvzG6xi4>
  7. Apr  5 06:05:51 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=167.94.146.52, lip=174.138.177.22, TLS: Connection closed, session=<mwJ7P1MVKpqnXpI0>
  8. Apr  5 06:06:50 server dovecot[2502543]: pop3-login: Disconnected: Too many bad commands (no auth attempts in 0 secs): user=<>, rip=35.203.210.159, lip=174.138.177.22, session=<qrv0QlMVzv0jy9Kf>
  9. Apr  5 06:11:37 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=198.199.108.70, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, session=<irkYVFMVnK/Gx2xG>
  10. Apr  5 06:22:31 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=141.98.11.154, lip=174.138.177.22, session=<j+YRe1MVivqNYgua>
  11. Apr  5 07:42:59 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=167.94.146.56, lip=174.138.177.22, TLS: Connection closed, session=<V9bSmlQVCOunXpI4>
  12. Apr  5 07:49:02 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=162.142.125.13, lip=174.138.177.22, TLS: Connection closed, session=<tf5/sFQVoq+ijn0N>
  13. Apr  5 08:03:16 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=162.142.125.213, lip=174.138.177.22, TLS: Connection closed, session=<ar9m41QVysGijn3V>
  14. Apr  5 09:55:39 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=185.161.248.148, lip=174.138.177.22, session=<rL1RdVYVwvq5ofiU>
  15. Apr  5 09:59:10 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=185.198.69.6, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, session=<WITXgVYV3Pe5xkUG>
  16. Apr  5 10:02:59 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=69.164.217.74, lip=174.138.177.22, session=<p+Z9j1YV6IBFpNlK>
  17. Apr  5 11:03:24 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=107.170.240.46, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, session=<DeCaZ1cVXoprqvAu>
  18. Apr  5 11:58:01 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=2.57.149.186, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, session=<SAvlKlgVLf4COZW6>
  19. Apr  5 12:04:04 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=35.202.9.133, lip=174.138.177.22, TLS: Connection closed, session=<TP2NQFgVsuQjygmF>
  20. Apr  5 12:58:38 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=104.152.52.91, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol, session=<gO6xA1kVvKNomDRb>
  21. Apr  5 12:58:38 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=104.152.52.91, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol, session=<Do2zA1kVvKNomDRb>
  22. Apr  5 12:58:38 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=104.152.52.91, lip=174.138.177.22, session=<lbyzA1kVvKNomDRb>
  23. Apr  5 12:58:40 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=104.152.52.91, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol, session=<xYnRA1kVvKNomDRb>
  24. Apr  5 12:59:03 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 4 secs): user=<>, rip=104.152.52.124, lip=174.138.177.22, session=<Wn81BVkVcs1omDR8>
  25. Apr  5 13:34:31 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=192.241.194.9, lip=174.138.177.22, session=<Hz0ChFkVLLHA8cIJ>
  26. Apr  5 13:47:14 server dovecot[2502543]: imap-login: Aborted login (no auth attempts in 4 secs): user=<>, rip=87.236.176.205, lip=174.138.177.22, TLS, session=<0O9/sVkVj7RX7LDN>
  27. Apr  5 14:02:17 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=141.98.11.154, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, session=</sFU51kVxPqNYgua>
  28. Apr  5 14:54:03 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=185.198.69.17, lip=174.138.177.22, session=<hKN7oFoVZvu5xkUR>
  29. Apr  5 16:42:33 server dovecot[2502543]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=80.66.88.215, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, session=<pLp2JFwVTP5QQljX>
  30. Apr  5 16:59:56 server dovecot[2502543]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=45.153.166.80, lip=174.138.177.22, TLS handshaking: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, session=<ACqgYlwV3fwtmaZQ>
Copy the Code

Thank you.





This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2024-04-07 21:29
| Show all posts
That type error is happening when a client system does not support modern TLS Standards.

What the OS you are using to install Discuz?
If it is Windows 7, try to update the TLS to version 1.2+

Post time: 2024-04-08 07:50
| Show all posts
vot 2024-04-07 21:29
That type error is happening when a client system does not support modern TLS Standards.

What the O ...

I tried but it is not working. Any idea how to switch it to 1.2

I am using Ubuntu 20.04





https://www.ssllabs.com/ssltest/ ... amp;s=172.67.176.83

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2024-04-08 21:05
| Show all posts
Hello,
Have you tried setting up sending emails via SMTP Google Mail?
Post time: 2024-04-08 21:20
| Show all posts
Eagle 2024-04-08 21:05
Hello,
Have you tried setting up sending emails via SMTP Google Mail?

what do you mean? like using my personal mail to send emails by using gmail SMTP.

I think that is not required. I triend to send it by that too, it yield the same result.

 Russia

Post time: 2024-04-11 19:37
| Show all posts
Post time: 2024-05-29 09:08
| Show all posts
vot 2024-04-11 19:37
May be this article can help?

How to Easily Enable TLS 1.3 in Nginx on Ubuntu 20.04

Still not able to make it work. Now I am not sure if this is from my side or the mail server side. Also sent you a DM

 Russia

Post time: 2024-06-06 19:46
| Show all posts
Try the next test:

1) sudo apt-get install sendmail-bin
2) Check in /etc/php5/apache2/php.ini:
  1. sendmail_path = /usr/sbin/sendmail -t -i
Copy the Code

3) try in php (tst.php):
  1. <?php
  2. echo  mail ("my_box@gmail.com",
  3.                   "test message",
  4.                   "test message",
  5.                   "From:Discuz-no-reply@gmail.com");
  6. ?>
Copy the Code
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-21 22:20 GMT+3 , Processed in 0.091077 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list