Current time: 10-05-2024, 09:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
Mail rely question
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #7
RE: Mail rely question
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.
05-23-2008 07:00 AM
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)