> > I need to redirect a few accounts on my Postfix server > to a different > > SMTP server, but this server is using port 2525 > instead of 25. I have > > tried this in my /etc/alias file: > > Don't do this in the /etc/alias file; instead, use > transport maps: > > http://www.postfix.org/transport.5.html > > > "joedoe: > [EMAIL PROTECTED]:2525" > > and > > "joedoe: [EMAIL PROTECTED] > 2525" > > > > The above does not work. How can I accomplish this? > > See the link posted above and pay close attention to > transport map syntax.
I tried this, but did not get it to work. Here is what I added to /etc/postfix/transport: [EMAIL PROTECTED] smtp:[EMAIL PROTECTED]:2525 My test mail wound up locally - not recirected. Maybe I have something backwards. I am not very familiar with this, but what I am trying to do is to setup a redirect for a handful of mail accounts in order to try out an outsourced email solution. Adding aliases to /etc/alias file would probably work perfectly since the redirect happens before any processing by Amavis, etc. takes place. The only problem to overcome is to make it use port 2525 when redirecting. Thanks, JB