https://github.com/jawherkl/mail-server-checker
The Mail Server Checker is a PHP new tool designed to analyze and verify the different protocols (SPF, DMARC, DKIM) releated to the domain mail server.
https://github.com/jawherkl/mail-server-checker
dkim dmarc php spf symfony
Last synced: about 1 year ago
JSON representation
The Mail Server Checker is a PHP new tool designed to analyze and verify the different protocols (SPF, DMARC, DKIM) releated to the domain mail server.
- Host: GitHub
- URL: https://github.com/jawherkl/mail-server-checker
- Owner: JawherKl
- Created: 2024-10-08T13:05:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-08T13:27:27.000Z (over 1 year ago)
- Last Synced: 2025-03-30T10:41:31.129Z (about 1 year ago)
- Topics: dkim, dmarc, php, spf, symfony
- Language: PHP
- Homepage:
- Size: 1.22 MB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mail Server Checker (MSC)

## Overview
The **Mail Server Checker** is a PHP tool designed to analyze and verify various email protocols (SPF, DMARC, DKIM) related to domain mail servers. It retrieves and displays DNS records, providing a comprehensive analysis of your email server's configuration and security.
## Features
- Retrieve and display various DNS records for a specified domain.
- Supported record types: A, NS, MX, SOA, TXT.
- Verify SPF, DMARC, and DKIM records for email security.
- Clean and structured output for easy readability.
- Detailed error reporting and suggestions for fixing issues.
## Requirements
- PHP 7.4 or higher
- Composer
## Installation
1. Clone the repository:
```bash
git clone https://github.com/JawherKl/mail-server-checker.git
```
2. Navigate to the project directory:
```bash
cd mail-server-checker
```
3. Install dependencies using Composer:
```bash
composer install
```
## Usage
To check a domain's mail server configuration, run the following command:
```bash
php checker.php example.com
```
Replace `example.com` with the domain you want to check. The tool will display the DNS records and verify the SPF, DMARC, and DKIM configurations.
## Example Output
```plaintext
Domain: example.com
A Records:
- 192.0.2.1
NS Records:
- ns1.example.com
- ns2.example.com
MX Records:
- mail.example.com (Priority: 10)
SPF Record:
- v=spf1 include:_spf.example.com ~all
DMARC Record:
- v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com
DKIM Record:
- Selector: default
- Public Key: (Public key data here)
Analysis:
- SPF: Pass
- DMARC: Pass
- DKIM: Pass
```
## Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.