From: Dmitry Nechaev <dima@academy.cap.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Настройка postfix
Date: Thu, 20 Nov 2003 15:02:57 +0300
Message-ID: <200311201502.57943.dima@academy.cap.ru> (raw)
In-Reply-To: <3FBC93B6.3090408@psv.com.ua>
В сообщении от Четверг 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
prev parent reply other threads:[~2003-11-20 12:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 10:13 Slava Dubrovskiy
2003-11-20 12:02 ` Dmitry Nechaev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200311201502.57943.dima@academy.cap.ru \
--to=dima@academy.cap.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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