Creating a catch-all email address in Ajenti V is very easy. All it takes is two simple steps. Simply scroll down to see how to create and configure a catch-all email address in Ajenti V.
Step 1: Configure & Create Catch-All Email Settings
After logging in to Ajenti V using your browser, click on the Mail tab to the left. Beneath where it says NEW MAILBOX, for Address, enter only an asterisk–*. If you have already added domain names to Ajenti V, you may choose the domain name you would like to do forwarding on; otherwise, choose Custom Domain. In the Custom domain field, enter in the domain name of the catch-all email address you’d like to configure. For this example, I am using domain.com as my custom domain. Click the + FORWARDING button.
If you would like to create a catch-all email account for all of your domains, enter in only an asterisk, *, for the Address, just as we have done above. Select Custom domain, and for the Custom domain field, enter in only two quotation marks–“”. Click the + Forwarding button.
Step 2: Enter in Target Email Address You Want to Forward Email to
Click on the catch-all email address you just created. Beneath Target address, click + ADD. Instead of firstname.lastname@example.org, put in your actual email address that you would like to forward your catch-all email to. Scroll down and click APPLY CHANGES. In this example, I am forwarding all mail that comes in for any recipient @domain.com to email@example.com.
Below is how it looks when you create a catch-all email account that forwards email for all of your domains to your designated target address.
Not Receiving Catch-All Email
If you are not receiving the email of your newly configured catch-all email address, ensure you have opened up TCP ports 143 and 993 and that these ports are not blocked.
If these two ports are open, ensure you have added the domain name you have configured the catch-all email address for to your Ajenti websites.
If you have added the above domain name you’d like to configure the catch-all email address for, ensure your DNS settings at your domain name’s registrar are correctly pointed at your Ajenti V VPS / Dedicated server’s IP address.
Ensure you have correctly entered in your target email address.
Make sure your installation hasn’t been configured to use non-default ports. To check the ports used by exim, type in the following via SSH:
lsof -i -P | grep exim
Make sure your firewall is not blocking any of these ports.
Try debugging further by checking the delivery path by typing in the following:
exim -bt firstname.lastname@example.org
If you have made sure of all the above points, try rebooting your server to see if that fixes it and allows you to receive the catch-all email at your target address.