Afficher un message
Vieux 15/04/2006, 10h57   #4
Jeffrey Overman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Bind to a specific interface for outgoing SMTP sessions

On Sat, 15 Apr 2006 11:06:00 +0200, Jeffrey Overman wrote:

> On Fri, 14 Apr 2006 15:30:16 +0000, Greg Hackney wrote:
>
>> Jeffrey Overman wrote:
>>> Hi,
>>>
>>> Is it possible to bind to a specific interface for outgoing SMTP sessions?
>>> I've got one real interface with 3 aliases configured for it. I'd like to use
>>> one of those aliases as the interface which is used for sending mail out.
>>>
>>> Can this be done with postfix? I know how to do it with sendmail and exim,
>>> but that won't get me far as I'm using postfix at the moment
>>>
>>> Thanx,
>>>

>>
>>
>> Some relevant configs in main.cf:
>>
>> inet_interfaces - contols which IP addresses that Postfix listens on.
>>
>> smtp_bind_address - specifies which IP address to send email from.
>>
>> myhostname - sets the Postfix name for the mail server7

>
> The smtp_bind_address did the trick. Thanx! The only strange thing is
> that when I do a 'postconf -d' and grep for the option, it doesn't have


Okay, that's a brain fart on my side. I shouldn't use the -d flag if I
want to see the actual value *doh*.

I'm going to get another cup of coffee.

Greetz,

--
Jeffrey Overman

Everybody needs to believe in something, I believe I'll have another beer...

  Réponse avec citation
 
Page generated in 0,05844 seconds with 9 queries