But if i add the domains to the transport file in ispcp, what would happen if someone uses an auto responder? is the transport file not used for domains that have auto responders enabled, thats what i thought and saw, so at some point in time a domain in that file might be listed twice , once for an autoresponder and once for a normal relay
Thanks...
kilburn Wrote:Your recipe:
1. Delete the domains from the /etc/ispcp/postfix/working/domains and /etc/postfix/ispcp/domains files
2. Add them to a new file named /etc/postfix/relay_domains
3. Execute: postconf relay_domains=hash:/etc/postfix/relay_domains
4. Execute: postmap /etc/postfix/relay_domains
5. Add the domains to the files /etc/ispcp/posftix/working/transport and /etc/postfix/ispcp/transport, following this scheme (where hostname or ip is the server where you want the mails delivered):
domain.tld :[hostname or ip]
6. Execute: postmap /etc/postfix/ispcp/transport
7. Check that the valid mail accounts exist in the /etc/postfix/relay_recipients file, add theme if they aren't
8. Execute: postmap /etc/postfix/relay_recipients
9. Execute: /etc/init.d/postfix reload
And test, ALL mails should be properly delivered to the destination that you've specified. From now on, the /etc/postfix/relay_recipients file should be manually modified (remember to postmap the file and reload the config in order to "activate" any change) whenever an account is added or deleted to the relayed domains.