question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use hostname FQDN when sending email

See original GitHub issue

Description

When emails are sent via Overseerr the header contains Received: from [127.0.0.1].

This can cause issues with some ESPs marking the email as spam as the sending server has not declared itself properly.

Desired Behavior

Ideally the sending server is supposed to specify the FQDN, not doing so leaves the email marked as spam in some ESPs

Additional Context

Radarr uses /etc/hosts to provide a unique ID from the container which is enough to actually get around the spam filter but it would be nice to properly specify the hostname.

When using host networking Docker will pull /etc/hosts from the Host OS into the container. Using the FQDN in /etc/hosts would be best way to go imo

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
pro4tlzzcommented, Apr 27, 2021

@pro4tlzz I think the application URL should be used as the hostname? We should be able to parse the application URL to be the hostname. We can then set a dummy hostname if that setting is blank?

That would be a good idea, it is easier to pull the FQDN from their than trying to locate the host file for each OS

0reactions
github-actions[bot]commented, May 5, 2021

🎉 This issue has been resolved in version 1.24.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Specifying fully qualified domain name for SMTP communication
Use the following method to manually specify a FQDN in the HELO/EHLO command of SMTP, ... mail.smtp.localhost=mail.yourcompany.com
Read more >
Postfix sends to FQDN Hostname instead of Domain Name
Postfix sends to FQDN Hostname instead of Domain Name ... I have installed a send only postfix. Postfix works when I send a...
Read more >
Fully Qualified Domain Name (FQDN): Complete Guide With ...
An FQDN consists of two distinct parts: a host name and a domain name. Going back to the “myserver.com” example, “myserver” is the...
Read more >
About fully qualified domain names (FQDNs) - IU KB
The FQDN consists of two parts: the hostname and the domain name. For example, an FQDN for a hypothetical mail server might be...
Read more >
When an alert email is generated, the FQDN of the server is ...
Resolve issue where the fully qualified domain name (FQDN) of the server is not included in alert email along with the hostname.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found