-
Notifications
You must be signed in to change notification settings - Fork 231
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 not working / cannot test #489
Comments
Message: hello 😉
You can update the conf when you want and restart the docker stack to load the new settings.
For the web component you can simply try the reset password feature, it will send you an email. For the scheduler component the only way is to receive real notifications. You can subscribe common vendors ( |
Thank you for the reply. I also have some problems with email notifications. When I test it with password reset/account's email confirmation it works - I receive the emails. However, I do not receive any CVE reports' emails. I have set it up more than 10 days ago and my mailbox is empty (checked spam). I have a lot of subscriptions: ~30 vendors including entire Microsoft and Linux. Alert settings are also configured. airflow-webserver | [2025-01-04 13:30:46 +0000] [13] [INFO] Handling signal: ttin |
Hello, I have the same problem on my installation. Application emails (e.g. password reset) work fine, but I'm not getting any notifications. The configurations (server, user...) are identical. I'm not sure what to check? |
Hello, i am having the same issue than @yusben |
5137 | 2025-01-07, 23:00:11 | opencve | notifications.send_notifications | success | 2025-01-07, 22:00:00 | airflow Here is what i can find in audit logs, which would indicates that the operation of sending notification works correctly, meanwhile, no mail is sent. |
Hello everyone, We understand that testing the SMTP configuration of the scheduler while waiting for actual CVE changes is not ideal. To address this, we’ve created a new DAG (a workflow in Airflow) that allows you to test your scheduler's SMTP configuration by sending a test email. You can find the documentation here: Testing SMTP Configuration. This guide explains how to configure the SMTP settings and test them to ensure everything works correctly. If there’s a misconfiguration, the logs will display the error, allowing you to adjust your settings and resolve the issue. You can use this new DAG by installing a fresh instance of OpenCVE based on the master branch:
Send an emailReceive the test email |
@ncrocfer The new DAG appeared. Have set SMTP settings in scheduler/airflow.cfg as well and restarted the stack. As a result This is quite default ubuntu and docker installation. Both host and containers for example can execute successfully |
Googled this In airflow.cfg I configured SMTP settings under This article https://docs.opencve.io/guides/smtp_configuration/#scheduler contains correct instructions, but it never mentions, that there are other SMTP settings in this config. So, when you open the config file, firstly you see the wrong SMTP settings section. Thus, to avoid similar mistakes it would be great to have something like "The SMTP configuration of the scheduler component can be set in the scheduler/airflow.cfg file under Of course, this is only my use case and peculiarity, that I do not read every line of instructions for SMTP and comments in config file thoroughly since I do not expect any trickery in such typical settings. |
Message:
Is there any way to setup SMTP on a existing OpenCVE instance? The docs say you have to edit the .py and .cfg files before starting the stack for the first time.
I also would like to test the SMTP mailing, is there an easy way to do this?
Specifications
The text was updated successfully, but these errors were encountered: