In case you are still looking for a solution to this, here’s how I did it:
- In Cyberpanel admin, create a catchall email account
- In phpmyAdmin > Cyberpanel database, insert:
@yourdomain.com → [email protected]
- Follow the instructions in the article:
IMPORTANT: In dovecot.conf, change this:
plugin {
sieve = ~/dovecot.sieve
sieve_global_path = /etc/dovecot/sieve/default.sieve
sieve_dir = ~/sieve
sieve_global_dir = /etc/dovecot/sieve/global/
}
To this:
plugin {
sieve = /home/vmail/%d/%n/dovecot.sieve
sieve_global_path = /etc/dovecot/sieve/default.sieve
sieve_dir = /home/vmail/%d/%n/sieve
sieve_global_dir = /etc/dovecot/sieve/global/
}
- Login to rainloop with your catchall and create a filter:
Conditions: Recipients (To or cc) @yourdomain.com
Actions: Forward to [email protected]
UNCHECK Keep
Hope that helps someone!