Prerequisites
Before setting up email forwarding, make sure you have:
- Access to HestiaCP control panel
- An email account created in HestiaCP or a domain with email service enabled
Method 1: Forwarding via HestiaCP Web Interface
Step 1: Log in to HestiaCP
https://YOUR_SERVER_IP:8083
Step 2: Navigate to MAIL Section
Click on MAIL in the top menu bar.
Step 3: Select Your Domain
Click on the domain for which you want to set up forwarding.
Step 4: Add Forwarder
Click on the Forwarders tab, then click Add Forwarder.
Step 5: Configure Forwarding
- Source Email: The email address to forward from (e.g.,
info@example.com) - Destination Email: Where to send emails (e.g.,
personal@gmail.com) - 📧 Keep a copy: Check this to keep a copy on the source mailbox
Step 6: Save
Click Add to create the forwarder.
Method 2: Forwarding via SSH Command Line
ssh hxroot@YOUR_SERVER_IP -p 22
/usr/local/hestia/bin/v-add-mail-domain-forward admin example.com info personal@gmail.com
Common Forwarding Scenarios
- Catch-all forward: Forward all emails to one address
- Alias forward: Multiple addresses to same mailbox
- External forward: Forward to Gmail, Outlook, etc.
Remove Forwarding
Via web interface: Click the delete icon next to the forwarder.
Via SSH:
/usr/local/hestia/bin/v-delete-mail-domain-forward admin example.com info
✅ Email forwarding has been configured successfully!