Thread: New to postfix
View Single Post

  #2 (permalink)  
Old 08-11-2003
Thomas Spuhler
 
Posts: n/a
Default Re: New to postfix

Robert Wappler wrote:

> 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


Since you are new to postfix you look too far. Postfix is so easy compared
with sendmail.
Just put a relay line (somewhere at the end)into your main.cf as this.

relayhost = yoursendmailrelaybox


Then wait about 10 min or type as root: postfix reload


Tom
Reply With Quote