Hi,
New self-hosted Indico user, need help with email setup. Everything works except email sending in specific cases.
Setup ver:
Ubuntu 24.04.4
python 3.12
Indico 3.3.12
My Flow: Indico - Postfix - msmtp - Microsoft 365 (O365)
Issue:
Some emails fail with: A message can’t be sent because it contains no recipients
Working / Not working cases
- Registration + .ical - fails (no recipients)
- Registration without .ical - works
- Reminder (standard) + .ical - works
- Reminder (custom) + .ical - fails (no recipients)
- Reminder (custom) without .ical - works
Seems like I missed something in configuration or routing, but I can’t identify what.
Indico config (indico.conf)
EMAIL_BACKEND = ‘indico.vendor.django_mail.backends.smtp.EmailBackend’
SMTP_SERVER = (‘localhost’, 25)
SMTP_USE_TLS = False
SMTP_LOGIN = ‘’
SMTP_PASSWORD = ‘’
SMTP_FROM_ADDRESS = ‘events@demo.org’
SMTP_REPLY_TO_ADDRESS = ‘events@demo.org’
USE_CELERY = False
SMTP_SENDER_FALLBACK = ‘events@demo.org’
SMTP_ALLOWED_SENDERS = {‘*@demo.orgdemo.org’}
NO_REPLY_EMAIL = ‘events@demo.org’
SUPPORT_EMAIL = ‘it@demo.org’
PUBLIC_SUPPORT_EMAIL = ‘it@demo.org’
msmtp config (/opt/indico/.msmtprc)
defaults
auth xoauth2
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /tmp/msmtp.log
account office365
host smtp_office365_com
port 587
from events@demo.org
user it@demo.org
passwordeval “bash /SCRIPTS/oauth2/3_getRefreshTOKEN.sh”
account default : office365
postfix main.cf
default_transport = msmtp
relay_transport = msmtp
postfix master.cf
msmtp unix - n n - - pipe
flags=Rq user=indico argv=/usr/bin/msmtp -t
Any ideas what could cause missing recipients only when .ical is attached?
Appreciate your help.