...
- This enables the Transport Map and allows any names to pass on through.
Code Block |
---|
#Enable transport maps
transport_maps = hash:/etc/postfix/transport
local_recipient_maps =
|
2) Create a file /etc/postfix/transport with these contents. Replace the servername "qa5" with your actual servername.If you have a real hostname responding to your MX, replace localhost with that real hostname.
Code Block |
---|
#When modifying this file use the command "postmap transport" to update the db qa5-us.sakaiproject.orglocalhost smtp:qa5-us.sakaiproject.orglocalhost:8025 |
3) Run the commands "postmap transport" and "service postfix reload" and you're all set. Watch the /var/log/mail.log for any mail forwarding messages.
Note if you are using localhost, you might need to change your domain resolution:
postconf -e 'smtp_host_lookup = dns, native'"
<restart postfix again> : service postfix reload