WDYL INFO:
This addon was actually made using a script.
But since I dont have time to create this sript myself you got to do it with the files and this info.

--- Step 1: A form needs to be filled in ---
Mail Forwarding AddOn for iRedirector

This AddOn is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
THE USE OF THIS SOFTWARE IS COMPLETELY AT YOUR OWN RISK!

Installation
It is required that you have root access to your server. The AddOn has been tested on RedHat 7.x using sendmail only.

First of all make sure that iRedirector is already installed.

Then just follow the instructions carefully to set up the mail forwarding AddOn.


Absolute path of your iRedirector folder:

e.g.: /home/sites/site13/web/iredirector/

URL of your iRedirector folder:

e.g.: http://www.yourdomain.com/iredirector/

Absolute path of your "virtusertable":

e.g.: /etc/mail/virtusertable

Absolute path of your "virtusertable.db":

e.g.: /etc/mail/virtusertable.db


--------------------------------------------------------------------------------
Update Email Aliases every 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 minutes.

---

--- Step 2: Download files + instructions ---
1.) Download the files above.

2.) Change into your iRedirector folder. Create a sub-folder "data". CHMOD it 777.

3.) Upload the mailfwd.php into your iRedirector folder.

4.) Upload the files .htaccess, cronfile and mailfwd.sh into the data-folder.

5.) Telnet or SSH into your server. su root. now do the following:
cd /home/sites/site13/web/iredirector/data
chown root:root mailfwd.sh
chmod 711 mailfwd.sh
crontab cronfile
To test if the cronjob has been successfully added type: "crontab -l"

6.) That's it. You should now test if the email forwarding does actually work. Feel free to contact us at support@scripts24.com if you have any problems or questions.

---