Create Forwarding Email Address on Ajenti V in Nginx & Ubuntu

It is very easy to create a forwarding email address in Ajenti V. There are two easy steps. Continue on to see how to create and configure a forwarding email address in Ajenti V.

Step 1: Configure & Create Forwarding 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 in the part of the email address before the @ sign that you’d like to enable email forwarding on (e.g. example). If you have already added domain names to Ajenti V, you may choose the domain name you would like to do email forwarding on; otherwise, choose Custom Domain. In the Custom domain field, enter in the domain name of the forwarding email address you’d like to configure. For this example, I am using domain.com as my custom domain. Click the + FORWARDING button.

Ajenti V Create Forwarding Email Address Custom Domain

Step 2: Enter in Target Email Address You Want to Forward Email to

Click on the forwarding email address you just created. Beneath Target address, click + ADD. Instead of someone@example.com, put in your actual email address that you would like to forward your forwarding email to. Scroll down and click APPLY CHANGES. In this example, I am forwarding all mail that comes in for example@domain.com to example@gmail.com.

Ajenti V Forwarding Email Address Target

Troubleshooting

Not Receiving Forwarding Email

If you are not receiving the email of your newly configured forwarding 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 forwarding email address for to your Ajenti websites.

If you have added the above domain name you’d like to configure the forwarding 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 example@domain.com

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 forwarding email at your target address.