Cloud9Developer / Jellyfin-Newsletter-Plugin

GNU General Public License v3.0
74 stars 9 forks source link

Allow setting the SMTP HELO Hostname through configuration #68

Open StefanAbl opened 9 months ago

StefanAbl commented 9 months ago

When trying to send a mail from a Jellyfin container the mail is rejected by Postfix because the client does not have a a fully qualified domain name

NOQUEUE: reject: RCPT from REVERSE_DNS_ENTRY[IP_ADDRESS]: 504 5.5.2 <jellyfin-584fc76664-spsh2>: Helo command rejected: need fully-qualified hostname; from=<jellyfin@domain> to=<user@domain> proto=ESMTP helo=<jellyfin-584fc76664-spsh2>

It would be great if the hostname was configurable, instead of taking the default value from the command hostname. I found the following link that might be helpful to implementing this:

https://social.msdn.microsoft.com/Forums/en-US/77f45c5f-76be-400c-a529-a1e49d6d8e62/systemnetmailsmtpclient-fqdn-required?forum=netfxnetcom