############################# Postfix relay domains support ############################# This plugin adds the support for relay domains using postfix. You can use it when the MTA managed by Modoboa is not the final destination of one or several domains. If activated, two new objects will be available from the *Domains* listing page: *relay domain* and *relay domain alias*. The extension is compatible with the *amavis* and *limits* ones. Resellers will be able to create both new objects. Replace by the name of the database you use.To tell Postfix this feature exists, you must generate two new map files and then update your configuration. To generate the map files, run the following command:: $ modoboa-admin.py postfix_maps --categories relaydomains --dbtype Replace values between ``<>`` by yours. Edit the :file:`/etc/postfix/main.cf` file and copy the following lines inside:: relay_domains = :/etc/postfix/sql-relaydomains.cf transport_maps = :/etc/postfix/sql-relaydomains-transport.cf :/etc/postfix/sql-relaydomain-aliases-transport.cf smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination check_recipient_access :/etc/postfix/sql-relay-recipient-verification.cf Replace ```` by the name of the database you use. Reload postfix.