Skip to content
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

superlance crashmail doesn't work #123

Open
BenPGM opened this issue Oct 12, 2019 · 3 comments
Open

superlance crashmail doesn't work #123

BenPGM opened this issue Oct 12, 2019 · 3 comments
Labels

Comments

@BenPGM
Copy link

BenPGM commented Oct 12, 2019

Hello,
I tried installing superlance and running crashmail like this:

sudo apt-get install python-pip
sudo pip install superlance

after i do:

sudo nano /etc/supervisor/supervisord.conf

and after i added:

[eventlistener:crashmail]
command=/usr/local/bin/crashmail -a -m [email protected]
events=PROCESS_STATE

and I do not receive anything....

My fichier crashmail is :

#!/usr/bin/python

-- coding: utf-8 --

import re
import sys

from superlance.crashmail import main

if name == 'main':
sys.argv[0] = re.sub(r'(-script.pyw?|.exe)?$', '', sys.argv[0])
sys.exit(main())

Can you help me please ?

Thanks

Best regards

Ben

@shishirpy
Copy link

You are not receiving any mail probably because mail.fr is rejecting the mails from your system. I am having the same issue, try installing the mutt email client use it to see the mails in your system. You might have a number of rejected mails.

@impravin22
Copy link

@shishirpy @BenPGM
I tried to run crashmail like this:

sudo nano /etc/supervisor/supervisord.conf

[eventlistener:crashmail]
command=/usr/local/bin/crashmail -a -m [email protected]
events=PROCESS_STATE

and I do not receive anything....

Did you guys solve this?

@shishirpy
Copy link

shishirpy commented Oct 14, 2021

@shishirpy @BenPGM I tried to run crashmail like this:

sudo nano /etc/supervisor/supervisord.conf

[eventlistener:crashmail] command=/usr/local/bin/crashmail -a -m [email protected] events=PROCESS_STATE

and I do not receive anything....

Did you guys solve this?

Nope, I wasn't able to get it to work.
Since, I wanted notification in someway, I created an incoming hook our MS Teams and send an HTTP POST request for all my notifications.
I have written a custom event listener for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants