On Thu, 05 Aug 2010 16:21:08 -0400, Brian Evans - Postfix List
<grkni...@scent-team.com> wrote:
> On 8/5/2010 4:09 PM, Arthur Titeica wrote:
>> On Thu, 05 Aug 2010 15:57:48 -0400, Brian Evans - Postfix List
>> <grkni...@scent-team.com>  wrote:
>>> On 8/5/2010 3:39 PM, Arthur Titeica wrote:
>>>> On Thu, 5 Aug 2010 12:33:07 -0700, Walter Pinto<wal...@amhosting.com>
>>>> wrote:
>>>>> smtp_bind_address = x.x.x.x
>>>> I knew I forgot something :)
>>>>
>>>> I've tried that in master.cf in the form
>>>>
>>>> smtp      inet  n       -       -       -       30       smtpd
>>>>          -o smtp_bind_address=94.62.132.84
>>>>          -o smtp_bind_address6=2001:4d18:0:5::6a
>>>>
>>> smtp_bind_address has no effect on the *smtpd* daemon
>> Oh, so a new service in master.cf like
>>
>> smtp      inet  n       -       -       -       30       smtp
>>           -o smtp_bind_address=94.62.132.84
>>           -o smtp_bind_address6=2001:4d18:0:5::6a
>>
>> would be OK?
>>
> No, it sounds like you want to change the existing smtp client line:
> 
> smtp      unix  -       -       -       -       -       smtp
> 
> If you wanted to add a new service, it would look like:
> 
> smtp_alt      unix  -       -      -       -       -       smtp
> 
> (Assumption made that postfix is running in chroot from your previous
> example)

Indeed! I didn't even saw that one. Looks OK after a few tests.
One more question: I guess I can't use multiple smtp_bind_address
inside *one* smtp instance and I have to create multiple smtp instances
(as in your example: smtp_alt)?

-- 
Arthur Titeica

Reply via email to