ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Oleg Shulga <oleg@pribor.kharkov.ua>
To: community@lists.altlinux.org
Subject: Re: [Comm] Postfix. Пересылка всей почты на почтовый сервер.
Date: Mon, 27 Mar 2006 15:05:46 +0300
Message-ID: <e08ket$8fs$1@sea.gmane.org> (raw)
In-Reply-To: <4427BA37.000001.12884@tide.yandex.ru>

unix9 пишет:
> Приветствую Всех! Есть у меня почтовый сервер(основной). Решил я создать еще один почтовый сервер, который будет принимать почту, проверять на вирусы и пересылать на основной сервер.
> В /etc/postfix/main.cf я прописал relay_domains = $mydestination в сам mydestination прописал свой домен(pupkin.ru) В днс-серверах прописал новую мх запись и поставил его первым. Затем рестарт днс-сервера и постфиксов на обоих машинах. Затем решаю проверить работу серверов, захожу телнетом на релей-сервер отправяю письмо и оно не отсылается на старый сервер, а падает в ящик пользователя. Вопрос, может я что-то забыл прописать или вооще порядок действий не тот, подскажите?
Теперь надо сказать постфиксу как доставлять почту на "основной" сервер.
в main.cf
transport_maps = hash:/etc/postfix/transport

далее предполагаю, что основной сервер принимает по smtp
в /etc/postfix/transport
pupkin.ru   smtp:[ip.of.main.server]:25

не забываем
postmap /etc/postfix/transport

-- 
WBR
Oleg Shulga



  parent reply	other threads:[~2006-03-27 12:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-27 10:11 unix9
2006-03-27 10:35 ` Шенцев Алексей Владимирович
2006-03-27 12:05 ` Oleg Shulga [this message]
2006-03-27 12:34   ` unix9

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='e08ket$8fs$1@sea.gmane.org' \
    --to=oleg@pribor.kharkov.ua \
    --cc=community@lists.altlinux.org \
    /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