On Mon, Nov 16, 2009 at 02:56:08PM -0500, Wietse Venema wrote: > Dhiraj Chatpar: > > HI, > > > > I am getting this error when i am trying to connect my postfix > > via transport_maps = tcp:localhost:2525 > > > > Nov 16 13:48:34 mail postfix/trivial-rewrite[4403]: fatal: unsupported > > dictionary type: tcp > > Use "postconf -m" to see what types of map are supported.
Given the port number (2525), it is most likely that the TCP service in question is an SMTP server. As others have pointed out, the "transport_maps" parameter is a list of "type:name" *tables* that map recipient domains to a transport:nexthop. If the OP wants to set a global default nexthop, that's done with default_transport: default_transport = smtp:[localhost]:2525 similar settings are available for other address classes: relay_transport = ... virtual_transport = ... local_transport = ... Additionally, the "relayhost" parameter provides a default nexthop, without overriding the transport. http://www.postfix.org/BASIC_CONFIGURATION_README.html#relayhost http://www.postfix.org/ADDRESS_REWRITING_README.html#delivering http://www.postfix.org/ADDRESS_REWRITING_README.html#resolve http://www.postfix.org/ADDRESS_CLASS_README.html#classes http://www.postfix.org/postconf.5.html#default_transport http://www.postfix.org/postconf.5.html#relay_transport http://www.postfix.org/postconf.5.html#virtual_transport http://www.postfix.org/postconf.5.html#local_transport http://www.postfix.org/postconf.5.html#relayhost http://www.postfix.org/postconf.5.html#transport_maps http://www.postfix.org/transport.5.html -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.