Current time: 11-27-2024, 08:42 AM Hello There, Guest! (LoginRegister)


Post Reply 
Mail rely question
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: Mail rely question
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.
(This post was last modified: 05-16-2008 12:01 AM by kilburn.)
05-15-2008 11:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Mail rely question - robmorin - 05-15-2008, 03:48 AM
RE: Mail rely question - kilburn - 05-15-2008, 03:56 AM
RE: Mail rely question - robmorin - 05-15-2008, 04:32 AM
RE: Mail rely question - kilburn - 05-15-2008, 07:02 PM
RE: Mail rely question - robmorin - 05-15-2008, 10:15 PM
RE: Mail rely question - kilburn - 05-15-2008 11:59 PM
RE: Mail rely question - robmorin - 05-23-2008, 07:00 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)