Thread: New to postfix
View Single Post

  #1 (permalink)  
Old 08-10-2003
Robert Wappler
 
Posts: n/a
Default New to postfix

RedHat made a change from sendmail to postfix in RH9. So far so good.
But can anyone tell me how to get transport.db working?
There is a small LAN around with a sendmail server somwhere listed in
the MX-record of my local network. The sendail works fine.
My target was to get postfix unsing the sendmail box as relay, nothing
further configuration, because the sendmail is doing the whole rewrite
and so on.
My first thought using /etc/postfix/transport with an entry like this
.. smtp:pseudo.domain
After makemap hash transport.db < transport and a postfix reload it
still connected directly to the recipient's MX-Record (without
sender-rewrite).
Ok, I forgot to insert
transport_map = hash:/etc/postfix/transport
Again a postfix reload without success.
Where is the mistake? Isn't "." the catch-all-key in transport.db or
what am doing wrong?
The current solution is a relayhost-directive in main.cf. But I would
like to use transport.db for my purposes.

Thanks in advance...
Robert

Reply With Quote