Diversion [Solved] Got "67" error when trying to send mail from Diversion

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

sn2018

Occasional Visitor
Just setup Diversion and configured it to send email with a Google email address When I try the test email, I got

curl: (67) Login denied

The settings is in the attached file. Is there some other settings I need to add?
 

Attachments

  • Snap148.jpg
    Snap148.jpg
    80.3 KB · Views: 21

RMerlin

Asuswrt-Merlin dev
By default Google will refuse plain AUTH, and require the use of OAUTH. You will need to configure your account to allow "less secure" logns.
 

Wallace_n_Gromit

Senior Member

amplatfus

Senior Member
Hi,

Mine is configured like this. I created a app password into google account for this.

Code:
  1. Edit From address:   i.e.: [email protected]
  2. Edit To name:        your desired name
  3. Edit To address:     [email protected]
  4. Edit Router name:    choose it
  5. Edit User name:      [email protected]
  6. Edit Password:       your password
  7. Edit SMTP Server:    smtp.gmail.com
  8. Edit Server port:    465
  9. Edit Protocol:       smtps
 10. Edit SSL flag:       Set to --insecure if curl problems occur
 11. Send testmail to confirm settings

I receive a warning: deprecated key derivation used. Using -iter or -pbkdf2 woud be better. (warning.png attached)
But is working (inbox.png attached).

Good luck,
amplatfus
 

Attachments

  • warning.png
    warning.png
    27 KB · Views: 17
  • inbox.png
    inbox.png
    3.1 KB · Views: 18

sn2018

Occasional Visitor
Hi,

Mine is configured like this. I created a app password into google account for this.

Code:
  1. Edit From address:   i.e.: [email protected]
  2. Edit To name:        your desired name
  3. Edit To address:     [email protected]
  4. Edit Router name:    choose it
  5. Edit User name:      [email protected]
  6. Edit Password:       your password
  7. Edit SMTP Server:    smtp.gmail.com
  8. Edit Server port:    465
  9. Edit Protocol:       smtps
10. Edit SSL flag:       Set to --insecure if curl problems occur
11. Send testmail to confirm settings

I receive a warning: deprecated key derivation used. Using -iter or -pbkdf2 woud be better. (warning.png attached)
But is working (inbox.png attached).

Good luck,
amplatfus
Thank you. My problem was using the real email address on 1 and "fake" name on 5. Reverse the 2 fixed it.
 

elorimer

Very Senior Member
I receive a warning: deprecated key derivation used. Using -iter or -pbkdf2 woud be better. (warning.png attached)
But is working (inbox.png attached).
You can add those to the diversion scripts that call the password. It is in several places. Note that you have to add it to the script that encrypts the password too, as it has to be encrypted and de-encrypted the same. I think it is on @thelonelycoder's to do list, but the transition isn't simple. It isn't really a high priority, because security isn't the point here, it is handling weird passwords.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top