The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"отправка писем в Postfix с IP алиасов"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"отправка писем в Postfix с IP алиасов"  
Сообщение от tserge email(ok) on 26-Апр-06, 14:39 
Hello all,

никто не сталкивался с вопросом можно ли Postfix-у сказать с какого IP
адреса ему отсылать наружу сообщения? Т.е есть почтовый сервер, на одном
Eth интервейсе есть IP алиасы (eth0:1, eth0:2).

Можно ли как-то его заставить отправлять почту для каких-то доменов
(исходящую) с определённого IP адреса, возможно ли вообще такое?

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]


1. "отправка писем в Postfix с IP алиасов"  
Сообщение от jonatan (ok) on 26-Апр-06, 15:28 
smtp_bind_address (default: empty)
An optional numerical network address that the SMTP client should bind to when making an IPv4 connection.

This can be specified in the main.cf file for all SMTP clients, or it can be specified in the master.cf file for a specific client, for example:

  /etc/postfix/master.cf:
        smtp ... smtp -o smtp_bind_address=11.22.33.44
Note 1: when inet_interfaces specifies no more than one IPv4 address, and that address is a non-loopback address, it is automatically used as the smtp_bind_address. This supports virtual IP hosting, but can be a problem on multi-homed firewalls. See the inet_interfaces documentation for more detail.

Note 2: address information may be enclosed inside [], but this form is not recommended here.

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

2. "отправка писем в Postfix с IP алиасов"  
Сообщение от tserge email(ok) on 03-Май-06, 15:12 
>smtp_bind_address (default: empty)
>An optional numerical network address that the SMTP client should bind to
>when making an IPv4 connection.
>
>This can be specified in the main.cf file for all SMTP clients,
>or it can be specified in the master.cf file for a
>specific client, for example:
>
>  /etc/postfix/master.cf:
>        smtp ... smtp -o
>smtp_bind_address=11.22.33.44


Спасибо! Это работает на ура.


Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру