fattain-naime/cwp-superpowers/cwp-email
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "configure email", "set up Postfix", "configure Dovecot", "install Roundcube", "fix email delivery", "set up DKIM", "configure SPF", "set up spam filtering", "install SpamAssassin", "configure ClamAV", "fix mail queue", "set up email rate limiting", "install Rspamd", "configure OpenDKIM", or needs to manage any email service on a CWP server.
Install
npx vskill@latest install fattain-naime/cwp-superpowers/cwp-emailSKILL.md
CWP Email Management
Manage Postfix, Dovecot, Roundcube, spam filtering, and email authentication on CWP servers. Handle mail delivery issues, queue management, and security configuration.
Email Components
| Component | Software | Purpose | |
|---|---|---|---|
| MTA | Postfix | Mail transfer agent | |
| IMAP/POP3 | Dovecot | Mail retrieval protocol | |
| Webmail | Roundcube | Web email client | |
| Anti-spam | SpamAssassin | Spam filtering | |
| Anti-virus | ClamAV | Virus scanning | |
| Authentication | SPF, DKIM, OpenDKIM | Email authentication | |
| Rate Limiting | Policyd (cbpolicyd) | Email rate limiting | |
| Alternative Anti-spam | Rspamd | Lightweight spam filter |
Service Detection
Detect which email services are installed:
Configuration Files
| File | Purpose | |
|---|---|---|
/etc/postfix/main.cf | Postfix main configuration | |
/etc/postfix/master.cf | Postfix master process config | |
/etc/postfix/sender_blacklist | Sender blacklist | |
/etc/postfix/sender_whitelist | Sender whitelist | |
/etc/dovecot/dovecot.conf | Dovecot configuration | |
/etc/mail/spamassassin/local.cf | SpamAssassin configuration | |
/etc/amavisd/amavisd.conf | AMaViS configuration | |
/var/vmail | Email storage directory |
Service Management
Email Authentication
SPF (Sender Policy Framework)
SPF records are added as DNS TXT records:
DKIM (DomainKeys Identified Mail)
Configure DKIM per domain via CWP. Generate and manage keys through the CWP Admin panel under Email -> DKIM Manager.
DMARC
Add as DNS TXT record:
Email Rate Limiting
Install Policyd
Configure Rate Limits
Rspamd (SpamAssassin Alternative)
Rspamd is a lightweight alternative that reduces resource usage significantly:
| Metric | SpamAssassin | Rspamd | |
|---|---|---|---|
| Memory usage | ~1 GB | ~98 MB | |
| Messages/day | Standard | ~4,000 | |
| CPU usage | Higher | ~2% | |
| ARC signing | No | Yes |
Rspamd is recommended for email forwarding scenarios requiring ARC signing.
Mail Queue Management
Email Storage
- Location:
/var/vmail/DOMAIN/USER/ - Format: Maildir format
- Permissions: Managed by Dovecot
Roundcube Webmail
- URL:
https://SERVER_IP:2096 - Update:
/scripts/mail_roundcube_update
Common Issues and Solutions
Can't Send Emails
- Verify DKIM, SPF, and DMARC records are correct
- Check rDNS (reverse DNS) matches mail hostname
- Check IP against blacklists (MXToolbox)
- Verify Postfix is running:
systemctl status postfix
Amavisd 100% CPU
DKIM Double Signature
Prevent double DKIM signing when using AMaViS or OpenDKIM together. Edit /etc/postfix/master.cf:
Then restart Postfix:
Roundcube Errors
SpamAssassin start-limit-hit
Mail Permission Issues
Sender Blacklist/Whitelist
Edit /etc/postfix/sender_blacklist and /etc/postfix/sender_whitelist:
After editing:
Diagnostic Commands
Additional Resources
references/postfix.md-- Postfix configuration and mail transfer setupreferences/dovecot.md-- Dovecot IMAP/POP3 setup and tuningreferences/spam-filtering.md-- SpamAssassin and Rspamd configurationreferences/roundcube.md-- Roundcube webmail setup and troubleshooting
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cwp-email/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fattain-naime/cwp-superpowers/cwp-email)