#7310 Copr wants to send a larger amount of emails
Closed: Fixed 5 years ago Opened 5 years ago by frostyx.

Copr currently sends email notifications in cases when a legal flag on a project is raised, and also when someone applies permissions for a project. Both of these are not so frequent situations and we use following code to send notifications.

s = smtplib.SMTP("localhost")
s.sendmail("root@copr-fe.cloud.fedoraproject.org", recipient, msg)

We would like to add additional email notifications with much higher traffic (e.g. periodically warning people about an upcoming deletion of data in outdated chroot in their project).

  • Describe what you need us to do:
    Please recommend us the best way to send that many emails. Should we keep using our current sendmail code, should we use another SMTP server, ...?

  • When do you need this? (YYYY/MM/DD)
    There is no deadline. We are running out of disk space though, and this would help us to free some of it.

  • When is this no longer needed or useful? (YYYY/MM/DD)
    NA

  • If we cannot complete your request, what is the impact?
    We will send hundreds of emails using the current code


So, you can keep doing what you are doing if you like and I would think it would work fine.

We could allow you to relay through our bastion.fedoraproject.org (where all our email goes out), but I don't know that it would get us anything really in this case.

Note that you likely want to look up users fas email address and mail to that. Only users that have cla+1 other group have a @fedoraproject.org alias, so you will need to mail whatever account they list in fas directly.

Thoughts?

Thank you @kevin for the advice.
We will continue using the current code. If it turns out, that there is a problem with that, I will reopen this issue.

Metadata Update from @frostyx:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata