Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/29bd6108-4094-48ca-8976-10df52774551 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
6.8 KiB
Frequently Asked Questions
General
What is DMARQ?
DMARQ is a DMARC (Domain-based Message Authentication, Reporting, and Conformance) reporting and analysis tool. It helps organizations monitor their email authentication status, analyze DMARC reports, and improve email deliverability and security.
Who should use DMARQ?
DMARQ is useful for:
- IT administrators who manage email systems
- Security professionals concerned with email security
- Organizations that want to monitor their DMARC compliance
- Email marketing teams who want to improve deliverability
Is DMARQ open source?
Yes, DMARQ is open source software licensed under the MIT License. You can freely use, modify, and distribute it according to the terms of the license.
How much does DMARQ cost?
DMARQ is free to use. As an open source project, there's no license fee. You only need to cover the costs of hosting the application on your own infrastructure.
Setup and Installation
What are the system requirements for DMARQ?
The minimum requirements are:
- 1 CPU core (2+ recommended for production)
- 2GB RAM (4GB+ recommended for production)
- 20GB storage
- Docker Engine 20.10.0+ (for Docker installation)
- Python 3.13+ (for manual installation)
How do I install DMARQ?
There are two main ways to install DMARQ:
- Docker: The recommended method using Docker Compose
- Manual Installation: Traditional installation on a server
See our Docker Setup or Manual Installation guides for detailed instructions.
Can I run DMARQ on shared hosting?
DMARQ requires the ability to run Docker containers or a Python application server. Most shared hosting environments don't provide this level of access, so you'll likely need a VPS or dedicated server.
How do I update DMARQ to a new version?
For Docker installations:
git pull
docker-compose down
docker-compose up -d --build
For manual installations:
git pull
cd backend
pip install -r requirements.txt
cd app
alembic upgrade head
# Restart your application server
DMARC Reports
What are DMARC reports?
DMARC reports are feedback reports that email providers send to domain owners about emails they receive that claim to be from your domain. There are two types:
- Aggregate Reports (RUA): XML files with statistical data about email authentication results
- Forensic Reports (RUF): Detailed reports about specific authentication failures
How do I receive DMARC reports?
You need to publish a DMARC record in your domain's DNS that includes your reporting email address. For example:
v=DMARC1; p=none; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com
How does DMARQ collect DMARC reports?
DMARQ can collect reports in three ways:
- IMAP Integration: Automatically fetching from your email inbox
- Manual Upload: Uploading reports through the web interface
- API Upload: Sending reports via the API
How far back can I see DMARC data?
DMARQ stores all the data you import, so you can see historical data from the point you started collecting reports. There's no built-in limit to how far back data can be stored.
Using DMARQ
How do I add a domain to monitor?
- Log in to DMARQ
- Navigate to the Domains section
- Click "Add Domain"
- Enter your domain name and click "Add"
Can I monitor multiple domains?
Yes, DMARQ supports monitoring an unlimited number of domains. You can add all the domains you want to track in the Domains section.
How often are reports processed?
If you're using IMAP integration, reports are processed according to your configured polling interval (default is every 60 minutes). Manually uploaded reports are processed immediately.
What should my DMARC policy be?
DMARQ can help you make this decision by showing your current compliance rate, but typically:
- Start with
p=noneto monitor without affecting delivery - Move to
p=quarantinewhen you reach 90%+ compliance - Move to
p=rejectwhen you reach 95%+ compliance
Technical Questions
Can I use an external database?
Yes, DMARQ supports both SQLite (for smaller deployments) and PostgreSQL (for production). You can configure an external PostgreSQL database in your environment variables.
How do I back up DMARQ data?
For SQLite:
cp data/dmarq.db backup-$(date +%Y%m%d).db
For PostgreSQL:
docker-compose exec db pg_dump -U dmarq dmarq > backup-$(date +%Y%m%d).sql
Can I run DMARQ behind a reverse proxy?
Yes, DMARQ works well behind a reverse proxy like Nginx or Apache. This is recommended for production deployments. See our Docker Setup guide for an example Nginx configuration.
What API endpoints are available?
DMARQ provides a comprehensive REST API. See the API Reference for detailed documentation of all available endpoints.
Troubleshooting
Why am I not seeing any reports?
Check the following:
- Verify your DMARC record is correctly published in DNS
- Ensure your reporting email is correctly set up
- Check IMAP settings if using IMAP integration
- Confirm that enough time has passed (can take 24-48 hours to start receiving reports)
IMAP integration isn't working. What should I check?
- Verify your IMAP server and port are correct
- Check that your username and password are correct
- Ensure IMAP access is enabled for your email account
- If using Gmail, you may need to create an app-specific password
- Check if your email provider requires special settings
How do I report a bug?
You can report bugs on our GitHub Issues page. Please include:
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- DMARQ version
- Any relevant error messages
I'm getting database errors. How do I fix them?
For SQLite:
- Create a backup of your database file
- Run the database integrity check:
sqlite3 data/dmarq.db "PRAGMA integrity_check;"
For PostgreSQL:
- Check database connection parameters
- Verify the database server is running
- Check for disk space issues
Contributing
How can I contribute to DMARQ?
There are many ways to contribute:
- Code contributions (features, bug fixes)
- Documentation improvements
- Testing and bug reporting
- Translations
- Feature suggestions
See our Contributing Guide for more information.
Where do I find the source code?
The source code is available on GitHub: https://github.com/yourusername/dmarq
Is there a community forum?
We're building a community around DMARQ. For now, you can:
- Join discussions in the GitHub repository
- Ask questions in the issue tracker
- Connect with other users in the #dmarq channel on the Email Security Discord