postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: one Postfix instance serving messages in two

Re: one Postfix instance serving messages in two different directions

From: Jeroen Geilman <jeroen_at_nospam>
Date: Mon Oct 25 2010 - 18:58:51 GMT
To: postfix-users@postfix.org

On 10/25/2010 08:30 PM, Victor Duchovni wrote:
> On Mon, Oct 25, 2010 at 02:25:32PM -0400, Zhou, Yan wrote:
>
>
>> Can you elaborate how different smtpd can have different transport
>> settings? I won't want to create my own SMTPD process.
>>
>> The following won't work, because the "transport" cannot distinguish IP
>> address. I tried this but does not work. I wonder if only smtp process
>> can vary based on different IP.
>>
>> Seen in master.cf:
>>
>>
>> 1.2.3.4:smtp inet n - n - - smtpd
>>
>> 1.3.5.7:smtp inet n - n - - smtpd
>>
> Within a single Postfix instance, it is NOT possible to use difference
> transport tables for different smtpd(8) entries in master.cf. The
> transport lookup service and queue manager are global within a Postfix
> instance.
>

Yeh, I guess I added to the confusion with my mention of transport.

You could add a check_client_access and act on the result.

-- J.