ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Настройка postfix
@ 2003-11-20 10:13 Slava Dubrovskiy
  2003-11-20 12:02 ` Dmitry Nechaev
  0 siblings, 1 reply; 2+ messages in thread
From: Slava Dubrovskiy @ 2003-11-20 10:13 UTC (permalink / raw)
  To: Community

Hello Community!

Помогите с настройкой postfix. Есть сервер под ALM 2.2+частичный сизиф. 
Настроен dhcp+ddns+postfix+fechmail и т.д.
Есть 2 подсети 192.168.1. и 192.168.100. Адрес сервер 192.168.1.1
Проблема такая: когда у клиента IP адрес выделен через dhcp причем 
независимо из какой сети то почта ходит, но когда он статический 
независимо из какой сети, то постфикс не пускает, вот что пишет:

Out: 220 server.test.com.ua ESMTP Postfix
In:  HELO terminal
Out: 250 server.test.com.ua
In:  MAIL FROM: <slava@test.com.ua>
Out: 250 Ok
In:  RCPT TO: <testslava@mail.ru>
Out: 554 <testslava@mail.ru>: Recipient address rejected: Relay access denied
In:  QUIT
Out: 221 Bye


При этом в main.cf стоит:
==========skip===========
myorigin = $mydomain
mydestination = localhost, $myhostname, localhost.$mydomain, $mydomain, 
$config_directory/mydestination
mynetworks = $config_directory/mynetworks
relay_domains = $mydestination
дальше по умолчанию

/etc/postfix/mydestination
test.com.ua
test2.com.ua

/etc/postfix/mynetworks
127.0.0.1/32
192.168.1.0/32
192.168.100.0/32

Как разрешить принимать сообщения от компьютеров при статическом 
адресе?  может это проблемы с настройкой windows?





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

* Re: [Comm] Настройка postfix
  2003-11-20 10:13 [Comm] Настройка postfix Slava Dubrovskiy
@ 2003-11-20 12:02 ` Dmitry Nechaev
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Nechaev @ 2003-11-20 12:02 UTC (permalink / raw)
  To: community

В сообщении от Четверг 20 Ноябрь 2003 13:13 Slava Dubrovskiy написал(a):
> Hello Community!
>
> Помогите с настройкой postfix. Есть сервер под ALM 2.2+частичный сизиф.
> Настроен dhcp+ddns+postfix+fechmail и т.д.
> Есть 2 подсети 192.168.1. и 192.168.100. Адрес сервер 192.168.1.1
> Проблема такая: когда у клиента IP адрес выделен через dhcp причем
> независимо из какой сети то почта ходит, но когда он статический
> независимо из какой сети, то постфикс не пускает, вот что пишет:
>
> Out: 220 server.test.com.ua ESMTP Postfix
> In:  HELO terminal
> Out: 250 server.test.com.ua
> In:  MAIL FROM: <slava@test.com.ua>
> Out: 250 Ok
> In:  RCPT TO: <testslava@mail.ru>
> Out: 554 <testslava@mail.ru>: Recipient address rejected: Relay access
> denied In:  QUIT
> Out: 221 Bye
>
>
> При этом в main.cf стоит:
> ==========skip===========
> myorigin = $mydomain
> mydestination = localhost, $myhostname, localhost.$mydomain, $mydomain,
> $config_directory/mydestination
> mynetworks = $config_directory/mynetworks
> relay_domains = $mydestination
> дальше по умолчанию
>
> /etc/postfix/mydestination
> test.com.ua
> test2.com.ua
>
> /etc/postfix/mynetworks
> 127.0.0.1/32
> 192.168.1.0/32
> 192.168.100.0/32
/32 - это конкретный хост (в твоём случае - хост, имеющий адрес 192.168.1.0 
или 192.168.100.0). Поставь /24.

-- 
2.4.20-alt5-up GNU/Linux

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

end of thread, other threads:[~2003-11-20 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-20 10:13 [Comm] Настройка postfix Slava Dubrovskiy
2003-11-20 12:02 ` Dmitry Nechaev

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