Setup RequestTracker mail gateway with pre-existing Postfix mail system ( Virtual Users, Virtual domains, Etc).
If you already have a functioning mail system you probably do not want to setup a whole new gateway just to make request tracker run. You probably also do not want to run request tracker on your primary mail gateway.
This will show you how to integrate your new Request Tracker installation into an already existing Postfix/DoveCot system that uses Virtual Users and Virtual Domains via MySQL.
Primary mail gateway with Postfix using Virtual Users.
Access (SSH) to the Mail server.
Access to the “rt-mailgate” perl scripts shipped with RequestTracker.
- cp /etc/aliases /etc/aliases.bk
- rt email@example.com
- rt-comment firstname.lastname@example.org
Restart postfix to load your changes. Make sure to check the error log to see that nothing is “broken”. If you did not setup your user correctly in the “master.cf” file it will error out and postfix will not start correctly.
If you do not think the system is reading your transports file then make sure the following lines are in your postfix “main.cf” file and that they are correct.
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf, hash:/etc/aliases
alias_maps = hash:/etc/aliases