Hey everyone,
I have Vikunja running on my home server and everything seems to work as it should - except for E-Mail-Notifications.
Vikunja is manually installed in a LXC, so no Docker involved.
Base System is Debian 11, in case that matters.
This is my Mail config:
mailer:
# Whether to enable the mailer or not. If it is disabled, all users are enabled right away and password reset is >
enabled: true
# SMTP Host
host: "mail.mydomain.de"
# SMTP Host port.
# **NOTE:** If you're unable to send mail and the only error you see in the logs is an `EOF`, try setting the por>
port: 465
# SMTP Auth Type. Can be either `plain`, `login` or `cram-md5`.
authtype: "login"
# SMTP username
username: "MyUsername"
# SMTP password
password: "MyPassword"
# Wether to skip verification of the tls certificate on the server
skiptlsverify: false
# The default from address when sending emails
fromemail: "MyEmail"
# The length of the mail queue.
queuelength: 100
# The timeout in seconds after which the current open connection to the mailserver will be closed.
queuetimeout: 30
# By default, vikunja will try to connect with starttls, use this option to force it to use ssl.
forcessl: false
And, for now, my logging config:
log:
# A folder where all the logfiles should go.
path: /opt/vikunja/logs
# Whether to show any logging at all or none
enabled: true
# Where the normal log should go. Possible values are stdout, stderr, file or off to disable standard logging.
standard: "file"
# Change the log level. Possible values (case-insensitive) are CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG.
level: "DEBUG"
# Whether or not to log database queries. Useful for debugging. Possible values are stdout, stderr, file or off t>
database: "file"
# The log level for database log messages. Possible values (case-insensitive) are CRITICAL, ERROR, WARNING, NOTIC>
databaselevel: "DEBUG"
# Whether to log http requests or not. Possible values are stdout, stderr, file or off to disable http logging.
http: "file"
# Echo has its own logging which usually is unnecessary, which is why it is disabled by default. Possible values >
echo: "off"
# Whether or not to log events. Useful for debugging. Possible values are stdout, stderr, file or off to disable >
events: "file"
# The log level for event log messages. Possible values (case-insensitive) are ERROR, INFO, DEBUG.
eventslevel: "DEBUG"
# Whether or not to log mail log messages. This will not log mail contents. Possible values are stdout, stderr, f>
mail: "file"
# The log level for mail log messages. Possible values (case-insensitive) are ERROR, WARNING, INFO, DEBUG.
maillevel: "DEBUG"
I have E-Mail Reminders enabled and according to the standard.log
those reminders are being sent:
2024-02-16T22:07:00.027376892Z: DEBUG â–¶ models/func1 226 [Task Reminder Cron] Sent reminder email for task 9 to user 1
2024-02-16T22:07:00.028027781Z: DEBUG â–¶ models/func1 227 [Task Reminder Cron] Sent reminder email for task 9 to user 1
I haven’t received a single E-Mail yet and the mail.log
remains completely empty. I’m using the same credentials and Settings for other services so I know those are working fine otherwise. Also I would expect an error in the logs if it’s related to the credentials.
I find it really odd that there’s absolutely nothing in the logs relating E-Mails. There’s also nothing happening when trying to get a password reset Mail.
I’m out of ideas what else to check, so I hope someone here can give me any pointers on what to check.
Thanks!