Email stopped after upgrading to graylog 4.3.2

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!

1. Describe your incident:
After upgrading to Graylog 4.3.2, graylog stopped sending emails and presents an error message in the Overview page: “The Graylog server encountered an error while trying to send an email. This is the detailed error message: java.lang.NullPointerException” , sending worked previous to the upgrade.

2. Describe your environment:

  • OS Information: Ubuntu 20.04

  • Package Version: graylog-server 4.3.2-1

  • Service logs, configurations, and environment variables:
    Email vars in server.conf:

# Email transport
transport_email_enabled = true
transport_email_hostname = localhost
transport_email_port = 25
#transport_email_protocol = smtp
#transport_email_use_auth = false
#transport_email_auth_username =
#transport_email_auth_password = secret
transport_email_subject_prefix = [graylog]
#transport_email_from_email =

# Encryption settings
#    Using SMTP with STARTTLS *and* SMTPS at the same time is *not* possible.

# Use SMTP with STARTTLS, see
transport_email_use_tls = false

# Use SMTP over SSL (SMTPS), see
# This is deprecated on most SMTP services!
transport_email_use_ssl = false

3. What steps have you already taken to try and solve the problem?
Have tested outgoing email from the system. Have turned on debugging in graylog but no additional information is logged about the mail issue.

4. How can the community help?
Has this been an issue for anybody else after upgrading to graylog 4.3.2 ?

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]


You may want to look at this post.

Thankyou, that seems to allow it to send mail now.


1 Like

Awesome, if you could mark this post as resolved for future search’s that would be great

Sorry, how do I mark as resolved?


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.