Hi Ralf,

Thanks again :-) !,

If I keep relayhost there, it will still be possible to send mails to
others than my "whitelisted" transport_maps, or will transport_maps make
relayhost irrelevant (not working / commented out) ?

I guess my
<our_own_domain.com> smtp:<our_external_hosted_mailserver>
should also be:
<our_own_domain.com> relay:<our_external_hosted_mailserver>
as my postfix server is not doing the mailservice for this domain, but
our_external_hosted_mailserver is, so it should be relay here also right ?

Thanks in advance :-) !
~maymann

2012/1/3 Ralf Hildebrandt <ralf.hildebra...@charite.de>

> * Michael Maymann <mich...@maymann.org>:
> > Hi Ralf,
> >
> > Thanks - I now have...
> > ---
> > /etc/postfix/main.cf:
> > # transport_maps = hash:/etc/postfix/transport
> > relayhost = [our_isp_mailrelay]
> >
> > /etc/postfix/transport:
> > #<our_own_domain.com> smtp:<our_external_hosted_mailserver>
> > #<servicepartner1> relay:<our_isp_mailrelay>
> > #<servicepartner2> relay:<our_isp_mailrelay>
> > #<servicepartner3> relay:<our_isp_mailrelay>
> > #<servicepartner4> relay:<our_isp_mailrelay>
> > #<servicepartner5> relay:<our_isp_mailrelay>
> > ---
> > When i put this to production, my config should be like this, right:
> > ---
> > main.cf
> > transport_maps = hash:/etc/postfix/transport
> > #relayhost = [our_isp_mailrelay]
> >
> > /etc/postfix/transport:
> > <our_own_domain.com> smtp:<our_external_hosted_mailserver>
> > <servicepartner1> relay:<our_isp_mailrelay>
> > <servicepartner2> relay:<our_isp_mailrelay>
> > <servicepartner3> relay:<our_isp_mailrelay>
> > <servicepartner4> relay:<our_isp_mailrelay>
> > <servicepartner5> relay:<our_isp_mailrelay>
> > ---
> >
> > All our mail are going through to our_isp_mailrelay today, so I no longer
> > need the "relayhost = [our_isp_mailrelay]" in main.cf when I have
> > configured transport_maps - or how does this work ?
>
> That looks OK.
> You can keep the relayhost line if you like; stuff found in
> transport_maps takes precedence anyway.
>
> --
> Ralf Hildebrandt
>  Geschäftsbereich IT | Abteilung Netzwerk
>  Charité - Universitätsmedizin Berlin
>  Campus Benjamin Franklin
>  Hindenburgdamm 30 | D-12203 Berlin
>  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
>  ralf.hildebra...@charite.de | http://www.charite.de
>
>

Reply via email to