Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marialuizaleitao/email-checker-golang
A Go-based command-line tool for checking domain-specific email configuration details including MX, SPF, and DMARC records interactively.
https://github.com/marialuizaleitao/email-checker-golang
email-verification go
Last synced: about 2 months ago
JSON representation
A Go-based command-line tool for checking domain-specific email configuration details including MX, SPF, and DMARC records interactively.
- Host: GitHub
- URL: https://github.com/marialuizaleitao/email-checker-golang
- Owner: marialuizaleitao
- Created: 2024-06-27T18:04:34.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-06-27T18:29:12.000Z (6 months ago)
- Last Synced: 2024-07-12T05:03:54.575Z (6 months ago)
- Topics: email-verification, go
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Email Checker Tool in Go
This is a simple command-line tool written in Go for checking domain-specific email configuration details, including MX, SPF, and DMARC records.
## Features
- **Domain Input**: Accepts domain names interactively via standard input.
- **Checks**: For each domain entered, the tool checks:
- MX (Mail Exchange) records.
- SPF (Sender Policy Framework) records.
- DMARC (Domain-based Message Authentication, Reporting & Conformance) records.
- **Output**: Displays the results in a structured format containing:
- Domain name
- Presence of MX records
- Presence of SPF records and the SPF record itself (if found)
- Presence of DMARC records and the DMARC record itself (if found)## How to Use
1. **Installation**: Ensure you have Go installed on your system.
2. **Clone Repository**:
```bash
git clone https://github.com/marialuizaleitao/email-checker-golang.git
cd email-checker
3. **Run the Tool**```bash
go run main.go4. **Enter Domain Names:**
- Enter domain names one per line when prompted.
- Press Ctrl + C to exit the tool.5. **Output Example**
Upon entering a domain name, the tool will display:
```bash
Domain, HasMX, HasSPF, SPFRecord, HasDMARC, DMARCRecord
example.com, true, true, v=spf1 include:_spf.example.com ~all, true, v=DMARC1; p=none; rua=mailto:[email protected]
```
- HasMX: Indicates if MX records are found for the domain.
- HasSPF: Indicates if SPF records (v=spf1) are found and displays the SPF record.
- HasDMARC: Indicates if DMARC records (v=DMARC1) are found and displays the DMARC record.
## RequirementsGo 1.16 or later