This comprehensive email validation script is designed specifically for Termux, providing a robust solution for verifying email addresses through multiple validation stages.
-
Multi-Stage Validation
- Regex-based format checking
- DNS MX record lookup
- SMTP protocol verification
-
Termux-Optimized
- Mobile-friendly script
- Lightweight and efficient
- Easy to install and use
- Termux installed on Android device
- Basic understanding of bash scripting
- Active internet connection
-
Update Termux packages:
pkg update
-
Install required dependencies:
pkg install dnsutils pkg install swaks pkg install netcat
-
Clone the repository:
git clone https://github.com/arjunghosh/email-validation-script.git cd email-validation-script
-
Make scripts executable:
chmod +x CRUD_Run_check_email.sh chmod +x check_email_validity.sh
./check_email_validity.sh email@example.com
./check_email_validity.sh email1@example.com email2@example.com
Run the comprehensive test suite:
./test_suite.sh
- Edit
config.conf
to customize validation parameters - Adjust timeout values
- Configure logging preferences
The script provides comprehensive error messages:
- Format validation errors
- DNS resolution issues
- SMTP connection problems
- Automatic log generation
- Configurable log rotation
- Detailed error tracking
Common issues and solutions are documented in the script's comments and comprehensive documentation.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
[Specify your license here - e.g., MIT License]
Arjun Ghosh
- GitHub: @arjunghosh
- Email: arjun.ghosh81@gmail.com
For a detailed guide on email validation, script architecture, and advanced usage, refer to the comprehensive documentation in the repository.
Disclaimer: This script is for educational and testing purposes. Always respect email server policies and terms of service.