Results 1 to 8 of 8
hi all ,
well i have configured postfix as inbound mail gateway . Every thing is working fine except the relay maps .
the option in the main .cf i.e ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-15-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 3
Postfix RELAY_RECIPIENT_MAPS
hi all ,
well i have configured postfix as inbound mail gateway . Every thing is working fine except the relay maps .
the option in the main .cf i.e relay_recipient_maps is configured properly.
and i have also postmap that file to created the hash file but my server is still accepting mails for user which are not present in my domain .
CAN ANY ONE TELL ME WHATS THE PROBLEM
Thanks
- 04-15-2008 #2Just Joined!
- Join Date
- Apr 2008
- Posts
- 3
well thanks you guys
no one helped me but i solved the probelm
it was a spelling misstake in my parameter .
- 04-15-2008 #3
- 04-19-2008 #4Just Joined!
- Join Date
- Apr 2008
- Posts
- 2
I sure would appreciate some suggestions/help setting up Postfix to forward inbound mail to two internal mail servers. I think I am trying to do the same thing you are and am having a devil of a time getting it working.
I am fairly new to Linux, but have successfully completed other linux projects.
I have a single static IP address with my ISP and all my servers are behind a router/firewall. I host multiple domains and use port forwarding (port 25) on the router to route inbound mail to my Exhange server. I now want to test Zimbra on Ubuntu as a second mail server, and I would like to forward inbound mail for domain B to Zimbra and mail for domain A to Exchange. Actually I would love to have all inbound mail duplicated on both servers during my test period.
I've followed instructions for common configurations on Postfix.org, but with little success and probably less real understanding. Any help would be greatly appreciated.
- 04-19-2008 #5
postfix transport_maps - Google Search
that sounds like what you want. transport maps allow you say
so you can define what the next hop is for a domain or email account.Code:@domain1 smtp:[mailserver1] @domain2 smtp:[mailserver2] user1@domain1 smtp:[mailserver2]
- 04-20-2008 #6Just Joined!
- Join Date
- Apr 2008
- Posts
- 2
Thanks for the suggestion. I will look for relevant posts that hopefully have clear examples of parameters required in the various postfix configuration files.
- 04-20-2008 #7
- 06-11-2008 #8Just Joined!
- Join Date
- Jun 2008
- Posts
- 1
relay_recipients_maps not working
I've the line below in my main.cf file
relay_recipient_maps = hash:/etc/postfix/relay_recipients
I've run the postmap
postmap /etc/postfix/relay_recipients
below is results "ls" command
mail postfix # ls /etc/postfix/
1 local_recipients.db master.cf pcre-header.cf postfix-files relay_domains relay_recipients saslpass transport.db
local_recipients main.cf pcre-body.cf post-install postfix-script relay_domains.db relay_recipients.db transport transport.db.db
mail postfix #
But postfix is still letting every message through.
Would anyone know what the problem is
relay_recipients contents e.g.
# modise@domain.com
modise@domain.com OK
modise1@domain.com OK


Reply With Quote

