jetmore / jetmore/swaks

Try all MX servers of destination domain

Open
#53 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Perl
Stars
1.3k
Forks
95
PR merge metrics
No merged PRs in 30d

Description

I would helpfull to tell swaks to try **all** MX records of the destination domain.
Currently it aborts if the first (lowest) MX server is down or refuses the connection.
I know I can force it via "-s dedicated-server.example.com" but I am thinking of just specifiing
"-t [foobar@example.com](mailto:foobar@example.com)" without dig-ing for the MX records first.

Background info:
I am using swaks to verify a (big) bunch of external forwarding addresses with the "--quit-after RCPT "
switch and currently it fails, if the first MX of the destination domain is down or busy.
So a switch like "--try-all-MX" would be helpfull. Maybe together with a timeout parameter "--MX-timeout "

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading swaks's handling of the -t destination and --quit-after RCPT, then trace how the destination domain's first MX server is selected and connection failures are handled. Define the expected behavior for trying all MX records, including the proposed --try-all-MX and --MX-timeout options, and verify that forwarding-address checks continue when one MX server is unavailable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.