Wietse Venema a écrit : > Mathieu Kretchner: >> Hello, >> >> I've tried to search a configuration that help me to do this : >> >> All mail recieve by proxy.foo.com are sent to default.foo.com for local >> delivery. >> And all mail of the redirect_map are sent to new.foo.com for local delivery >> >> smtp ----> proxy.foo.com -----> default.foo.com >> | >> redirect_map ? >> --------------> new.foo.com >> >> I'm new to postfix routing mail and I'm a little bit lost ... >> >> So I think it's not a big deal to do but I don't know HOW ? > > Postfix routing is controlled by address classes. > http://www.postfix.org/ADDRESS_CLASS_README.html > > Wietse
Hello, Thanks for your reactivity but the recipient field are all addressed to proxy.foo.com and I've to discriminate by user account to redirect mail. I find transport table by the link you've given to me and add : transport_maps = hash:/etc/postfix/transport to main.cf and [EMAIL PROTECTED] :[default.foo.com] [EMAIL PROTECTED] :[new.foo.com] to transport file The goal is to do a migration of our imap server. We want to attache the service ip to proxy.foo.com and redirect mail wherever they must go. Am I wrong with this method ? Do I've to check elsewhere ?
begin:vcard fn:Mathieu Kretchner n:Kretchner;Mathieu org:INRIA;Syslog adr;dom:;;2004 route des lucioles - BP93;Sophia Antipolis;;06902 CEDEX email;internet:[EMAIL PROTECTED] tel;work:04 92 38 76 67 x-mozilla-html:FALSE version:2.1 end:vcard