Hi all,
Notification feature worked for a long time now I'm not getting any notifications. Error when I try to test is: Failed to authenticate to mail server Only what changed is that I installed Kaspersky IS. I even tried disabling but it does not make any difference.
Can someone please post their working settings?
Here's what worked for me until recently:
Failed to authenticate to mail server with Gmail
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
- Newbie
- Posts: 3
- Joined: February 25th, 2015, 3:51 pm
Re: Failed to authenticate to mail server with Gmail
Just use gmail-smtp-in.l.google.com as SMTP server.
No username/password/authentication needed. That is ... as long as you send (from and) to gmail.com
No username/password/authentication needed. That is ... as long as you send (from and) to gmail.com
-
- Newbie
- Posts: 3
- Joined: February 25th, 2015, 3:51 pm
Re: Failed to authenticate to mail server with Gmail
Thanks for the prompt reply!
Replaced smtp.gmail.com:587 with gmail-smtp-in.l.google.com left "OPTIONAL Account Username" and "OPTIONAL Account Password" blank, saved changes and did test, it was showing verifying and then at the end says "Failed to connect to mail server".
If I leave "Email Sender" blank and do a test, it says "Email Sent!" but I never receive it in my Gmail inbox?
And yes I was sending from/to Gmail before.
Replaced smtp.gmail.com:587 with gmail-smtp-in.l.google.com left "OPTIONAL Account Username" and "OPTIONAL Account Password" blank, saved changes and did test, it was showing verifying and then at the end says "Failed to connect to mail server".
If I leave "Email Sender" blank and do a test, it says "Email Sent!" but I never receive it in my Gmail inbox?
And yes I was sending from/to Gmail before.
Re: Failed to authenticate to mail server with Gmail
On my setup, gmail-smtp-in.l.google.com works perfectly. See logging below.
If you get "Failed to connect to mail server", I would suspect a virusscanner or firewall on your system, or a blocking of port 25 by your ISP.
See http://wiki.sabnzbd.org/firewalls-and-virus-scanners for some general information.
As you installed Kaspersky IS, I would suspect that. Easy test: de-install and remove Kaspersky completely (no, de-activating does not solve it), and try again.
If you get "Failed to connect to mail server", I would suspect a virusscanner or firewall on your system, or a blocking of port 25 by your ISP.
See http://wiki.sabnzbd.org/firewalls-and-virus-scanners for some general information.
As you installed Kaspersky IS, I would suspect that. Easy test: de-install and remove Kaspersky completely (no, de-activating does not solve it), and try again.
Code: Select all
2015-02-26 07:28:42,990::INFO::[api:683] Sending testmail
2015-02-26 07:28:43,113::DEBUG::[emailer:80] Connecting to server gmail-smtp-in.l.google.com:25
2015-02-26 07:28:43,482::DEBUG::[emailer:93] Non-SSL mail server detected reconnecting to server gmail-smtp-in.l.google.com:25
2015-02-26 07:28:43,650::DEBUG::[emailer:107] TLS mail server detected
2015-02-26 07:28:44,652::INFO::[emailer:150] Notification e-mail succesfully sent
-
- Newbie
- Posts: 3
- Joined: February 25th, 2015, 3:51 pm
Re: Failed to authenticate to mail server with Gmail
Got it to work with old settings!
Here's what I did:
Went to http://www.google.com/settings/security "Access for less secure apps" was turned off, turned it on and voila started working right away.
Thanks again!
Here's what I did:
Went to http://www.google.com/settings/security "Access for less secure apps" was turned off, turned it on and voila started working right away.
Thanks again!
Re: Failed to authenticate to mail server with Gmail
Thanks for the followup
Re: Failed to authenticate to mail server with Gmail
Described also here: http://wiki.sabnzbd.org/configure-notifications-0-7 section "How to setup for Google mail"