Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FQDN/hostname isn't getting passed or set correctly #642

Open
naddika opened this issue Aug 25, 2022 · 1 comment
Open

FQDN/hostname isn't getting passed or set correctly #642

naddika opened this issue Aug 25, 2022 · 1 comment

Comments

@naddika
Copy link

naddika commented Aug 25, 2022

I have 2 servers:

  • 1st with Postfix, IP <11.11.11.11>, host: mail.1stserver.com
  • 2nd one with Phoenix application, IP <22.22.22.22>

The 1st server will reject all emails when a server sending one has no FQDN or perhaps rDNS record -- it's how it's been set up, deliverately.

On the 2nd server I now have the error:

{:temporary_failure, '11.11.11.11', "450 4.7.25 Client host rejected: cannot find your hostname, [22.22.22.22]\r\n"}

First,ly my 2nd server has rDNS which is equal to 22.22.22.22.vultrusercontent.com

Secondly, I've even set the value of hostname manually in the config of Bamboo too:

    config :my_app123, MyApp123.Mailer,
      adapter: Bamboo.SMTPAdapter,
      server: "mail.1stserver.com",
      hostname: "my_app123.com",
      [.........]

What's the matter?

When I send emails via the 1st via a python script on my local laptop or even email client using my this 1st server, all works well.

Copy link
Contributor

This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to prioritize it yet.
If this issue still relevant, please leave any comment if you have any new additional information that helps to solve this issue. We encourage you to create a pull request, if you can. We are happy to help you with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant