Current time: 05-07-2024, 03:02 AM Hello There, Guest! (LoginRegister)


Post Reply 
Website local, mailserver external
Author Message
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #13
RE: Website local, mailserver external
main.cf
Quote:transport_maps = hash:/etc/postfix/transport_map.hash
relay_domains = hash:/etc/postfix/relay_domains.hash
relay_recipient_maps = hash:/etc/postfix/relay_recipient_maps.hash
/etc/postfix/transport_map.hash
Quote:domaintorelay.tld relay:[ipofservertorelayto]
/etc/postfix/relay_domains.hash
Quote:domaintorelay.tld OK
/etc/postfix/relay_recipient_maps.hash
Quote:user1@domaintorelay.tld OK
user2@domaintorelay.tld OK
user3@domaintorelay.tld OK

postmap /etc/postfix/transport_map.hash
postmap /etc/postfix/relay_domains.hash
postmap /etc/postfix/relay_recipient_maps.hash
postfix reload

you must ensure that for the other domains you want to receive mails appropriate entrys in the transportmap exists!
(This post was last modified: 09-09-2007 07:11 PM by rbtux.)
09-09-2007 07:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Website local, mailserver external - rbtux - 09-09-2007 07:09 PM

Forum Jump:


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