New to postfix

This is a discussion on New to postfix within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; RedHat made a change from sendmail to postfix in RH9. So far so good. But can anyone tell me how ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #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
  #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
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:43 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0