Hi Walu,
You will need to edit the main.cf and add the domain xxx.xx.ke to the
relay_domains and smtp restrictions.
for example
relay_domains = $mydestination xxx.xx.ke
add the relay domains check in the
smtp recipient restrictions.
smtpd_recipient_restrictions = permit_mynetworks check_relay_domains
Then you will need to define the transport
transport_maps = hash:/path/to/transport/file
inside transport file
xxx.xx.ke smtp:hostname/IP
Then once completed. Create the transport database from the prompt
(while inside the transport file directory)
postmap transport
HTH - also please see
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backupI have never had to do this type of config before but ideally the url
above should clear some of the challenges.
Regards,
Michuki.
On 12/16/10 9:03 AM, Walubengo J wrote:
> Quick one,
>
> I have postfix (on ubuntu) as the main smtp facing the internet. Its
> already
configured and is receiving nd sending mail on behalf of the
> domain xxx.xx.ke
>
> Now, I have another internal mail server (on the inside 192.x.x.x.) that
> routes internal mails and forwards external mails to the postfix server
> for outbound delivery.
>
> Problem: How to configure Postfix to forward inbound
> external(internet-based) mails to the internal mail server. Do I tweak
> the "transport.db" or the "virtual.db" files to get his working and how?
>
> walu.
>
>
>
>
>
> _______________________________________________
> Skunkworks mailing list
>
Skunkworks@lists.my.co.ke>
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks>
------------
> Skunkworks Rules
>
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94> ------------
> Other services @
http://my.co.ke