foxcpp / foxcpp/maddy

Try to use IP address if no MX record?

Open
#809 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

Currently, when trying to either use an IP address as the domain for an email address, or a domain without an MX record, it returns: `SMTP error 554: MX lookup error`
Could there be an option to try to send to the IP address directly?
(This seems to work in Outlook, for compatibility's sake?)

It would be useful for local email communications, maybe the mx-less domain part less, but it'd still be useful, it would make sense for this to be disabled by default.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the MX lookup error in the SMTP delivery path and identify where an email domain is resolved before connection. Review the existing configuration and delivery tests, then verify that an explicit direct-IP option is disabled by default and that IP-address or MX-less delivery follows the intended behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.