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

feat(smtp): add config option to disable sending email via ipv6 #3009

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

QuinnDamerell
Copy link

This quick feature adds a config flag allowing users to disable emailing via IPv6.

The inspiration behind this is a scenario I'm facing; I have a VPS with IPv4 and IPv6, but the IPv6 address is deny listed for some email hosts (like Gmail). I tried some workaround, like disabling IPv6 on the VM and disabling the DNS resolver from returning AAAA records, but this was the best and most reliable fix.

I'm sure I'm not the first user to hit an issue like this, so this would be helpful for everyone!

Copy link
Contributor

github-actions bot commented Aug 3, 2024

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@@ -413,6 +413,11 @@ module Postal
description "The e-mail to use as the from address outgoing emails from Postal"
default "postal@example.com"
end

boolean :disable_ipv6 do
description "Disalbles sending emails via IPv6, only IPv4 will be used"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed an typo, I think Disalbles should be Disables

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

Successfully merging this pull request may close these issues.

3 participants