What's new

amtm amtm - e-mail settings.

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Try unsetting the '--insecure' flag to nothing

My guess is curl won't revert to plainauth if there is an ssl flag set
Unfortunately not working

# Server settings #
SMTP="192.168.0.3"
PORT="2525"
PROTOCOL="smtp"
SSL_FLAG=""

Code:
1. Send testmail
2. Send testmail, verbose output

Enter your selection [1-2 e=Exit] 2

*   Trying 192.168.0.3:2525...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to 192.168.0.3 (192.168.0.3) port 2525 (#0)
< 220 kostyaesmukov-smtp_to_telegram1 SMTP Guerrilla(unknown) #2 (1) 2022-12-14T05:57:24Z
> EHLO amtm-mail-body
< 250-kostyaesmukov-smtp_to_telegram1 Hello
< 250-SIZE 50000000
< 250-PIPELINING
< 250-ENHANCEDSTATUSCODES
< 250 HELP
* STARTTLS not supported.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Closing connection 0
curl: (64) STARTTLS not supported.

sending testmail failed
 
Last edited:
Unfortunately not working

curl: (64) STARTTLS not supported.
amtm has the --ssl-reqd flag set, you may not be able to get around it as Id imagine with that flag set curl won't revert to plainauth

You could maybe try removing that flag in /jffs/addons/amtm/email.mod in the send_testmail() function and do another test and if it works Im not sure where else in his scripts youd have to change it.
 
amtm has the --ssl-reqd flag set, you may not be able to get around it as Id imagine with that flag set curl won't revert to plainauth

You could maybe try removing that flag in /jffs/addons/amtm/email.mod in the send_testmail() function and do another test and if it works Im not sure where else in his scripts youd have to change it.
Thanks a lot!!! The test passed, notification is delivered!!!!

I also removed --ssl-reqd in the wan-failover.sh script I needed and everything also worked!
 
Last edited:
This is what I used for Gmail in the email settings for AMTM, and it worked

Code:
  1. Edit From address:   user@gmail.com
  2. Edit To name:        Some Person
  3. Edit To address:     user@outlook.com
  4. Edit Router name:    RT-AX88U
  5. Edit User name:      user@gmail.com
  6. Edit Password:       select Edit to view (application-specific password used)
  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

10. I left it empty and it works
 

Sign Up For SNBForums Daily Digest

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