ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] courier-imap-1.6.2-alt3 & Listen IP
@ 2004-05-20  8:35 Евгений Ю Сосунов
  2004-05-20 10:28 ` Alexey Novikov
  2004-05-20 12:13 ` Dmitry Lebkov
  0 siblings, 2 replies; 3+ messages in thread
From: Евгений Ю Сосунов @ 2004-05-20  8:35 UTC (permalink / raw)
  To: community

Доброго времени суток.

Стоит courier-imap-1.6.2-alt3(ALT M 2.2), собственно из него нужен только
pop3 и imap.
Правлю конфиг /etc/courier-imap/pop3d...
Хочу чтобы слушал только один интерфейс+localhost.
--------------------------------------
##NAME: PORT:1
#
# Port to listen on for connections.  The default is port 110.
#
#  Multiple port numbers can be separated by commas.  When multiple port
#  numbers are used it is possibly to select a specific IP address for a
#  given port as "ip.port".  For example, "127.0.0.1.900,192.68.0.1.900"
#  accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1
#  The ADDRESS setting is a default for ports that do not have a specified
#  IP address.

PORT=110

##NAME: ADDRESS:0
#
# IP address to listen on.  0 means all IP addresses.

ADDRESS=127.0.0.1,192.168.0.3
-------------------------------------------------
Вот часть конфига. Но как только в ADDRESS я ставлю два интерфейса он
перестает слушать оба! С одним интерфейсом все замечательно.

Как быть? Где грабли?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] courier-imap-1.6.2-alt3 & Listen IP
  2004-05-20  8:35 [Comm] courier-imap-1.6.2-alt3 & Listen IP Евгений Ю Сосунов
@ 2004-05-20 10:28 ` Alexey Novikov
  2004-05-20 12:13 ` Dmitry Lebkov
  1 sibling, 0 replies; 3+ messages in thread
From: Alexey Novikov @ 2004-05-20 10:28 UTC (permalink / raw)
  To: community

>Доброго времени суток.
>
>Стоит courier-imap-1.6.2-alt3(ALT M 2.2), собственно из него нужен только
>pop3 и imap.
>Правлю конфиг /etc/courier-imap/pop3d...
>Хочу чтобы слушал только один интерфейс+localhost.
>--------------------------------------
>##NAME: PORT:1
>#
># Port to listen on for connections.  The default is port 110.
>#
>#  Multiple port numbers can be separated by commas.  When multiple port
>#  numbers are used it is possibly to select a specific IP address for a
>#  given port as "ip.port".  For example, "127.0.0.1.900,192.68.0.1.900"
>#  accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1
>#  The ADDRESS setting is a default for ports that do not have a specified
>#  IP address.
>
>PORT=110
>
>##NAME: ADDRESS:0
>#
># IP address to listen on.  0 means all IP addresses.
>
>ADDRESS=127.0.0.1,192.168.0.3
>-------------------------------------------------
>Вот часть конфига. Но как только в ADDRESS я ставлю два интерфейса он
>перестает слушать оба! С одним интерфейсом все замечательно.
>
>Как быть? Где грабли?
Помнится обсуждалось, что слушать можно либо на одном, либо
на всех интерфейсах/адресах. Хотя если смотреть на комментарий 
конфига... Кстати, там же написано про разные порты, а не адреса!
В смысле PORT=127.0.0.1.110,192.168.0.3.100.
Впрочем чего это я.:) Сам не пробовал.

-- 
С уважением,
Алексей Новиков



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] courier-imap-1.6.2-alt3 & Listen IP
  2004-05-20  8:35 [Comm] courier-imap-1.6.2-alt3 & Listen IP Евгений Ю Сосунов
  2004-05-20 10:28 ` Alexey Novikov
@ 2004-05-20 12:13 ` Dmitry Lebkov
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Lebkov @ 2004-05-20 12:13 UTC (permalink / raw)
  To: community

On Thu, 20 May 2004 14:35:30 +0600
"Евгений Ю Сосунов" <sosunov@sib.ancor.ru> wrote:

> Доброго времени суток.
> 
> Стоит courier-imap-1.6.2-alt3(ALT M 2.2), собственно из него нужен только
> pop3 и imap.
> Правлю конфиг /etc/courier-imap/pop3d...
> Хочу чтобы слушал только один интерфейс+localhost.
> --------------------------------------
> ##NAME: PORT:1
> #
> # Port to listen on for connections.  The default is port 110.
> #
> #  Multiple port numbers can be separated by commas.  When multiple port
> #  numbers are used it is possibly to select a specific IP address for a
> #  given port as "ip.port".  For example, "127.0.0.1.900,192.68.0.1.900"
> #  accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1
> #  The ADDRESS setting is a default for ports that do not have a specified
> #  IP address.
> 
> PORT=110
> 
> ##NAME: ADDRESS:0
> #
> # IP address to listen on.  0 means all IP addresses.
> 
> ADDRESS=127.0.0.1,192.168.0.3
> -------------------------------------------------
> Вот часть конфига. Но как только в ADDRESS я ставлю два интерфейса он
> перестает слушать оба! С одним интерфейсом все замечательно.
> 
> Как быть? Где грабли?

Грабли - в невнимательном чтении комментариев в конфиге. ;)

PORT=127.0.0.1.110,192.168.3.11.110
ADDRESS=127.0.0.1

# netstat -anp --inet --tcp|grep courier
tcp        0      0 127.0.0.1:110           0.0.0.0:*               LISTEN      31738/courier-pop3d
tcp        0      0 192.168.3.11:110        0.0.0.0:*               LISTEN      31738/courier-pop3d

--
WBR, Dmitry Lebkov


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-20 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20  8:35 [Comm] courier-imap-1.6.2-alt3 & Listen IP Евгений Ю Сосунов
2004-05-20 10:28 ` Alexey Novikov
2004-05-20 12:13 ` Dmitry Lebkov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git