ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Antonio <obidos@mail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Vopros po nastroyke pochtovogo servera
Date: Wed Oct 24 14:16:01 2001
Message-ID: <Pine.LNX.4.40.0110241411430.1074-100000@tony.localnet> (raw)
In-Reply-To: <3BD033CD.B0AD84E9@iptelecom.net.ua>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 19 Oct 2001 sinergy@iptelecom.net.ua wrote:

> Суть вкратце такова : есть один почтовый аккаунт у
> провайдера (login - jan, к примеру) есть домен вида
> stjan.kiev.ua на стороне провайдера. Вся почта
> (elena@stjan.kiev.ua, dima@stjan.kiev.ua,
> jane@stjan.kiev.ua) попадает к провайдеру на аккаунт jan.
> Каким образом можно эту почту скачать к нам на сервер и
> раздать пользователям?

Как один из вариантов:  (1)fetchmail забирает почту от
провайдера, передает (2)procmail'у, который соответственно
раскладывает ее по юзерам. Далее в дело вступает (3)POP3/IMAP
(по вкусу) сервер. После чего виндовые юзера забирают свою почту
с пункта (3).

По пунктам (1) и (2) могу посильно помочь. Пункт (3) не делал.

(1). /root/.fetchmailrc:
====
set daemon 900 # через сколько секунд ломиться за почтой
defaults timeout 120 fetchall pass8bits fetchlimit 64
# Без fetchlimit'а можно получить проблему в случае ОЧЕНЬ
# большого количества писем.
poll mail.stjan.kiev.ua proto pop3: user jan pass "janpassword"
# вместо ^ подставить почтовый сервер провайдера, вместо "proto
pop3:" (в случае поддержки провайдером) можно писать "proto
imap:".
====

Запуск fetchmail вставляем в один из стартовых скриптов.
Проверяем, что у MTA на нашей машине есть указание отдавать
почту procmail'у.

(2). /etc/procmailrc:
Правила разбора зависят от того, какой header используется для
указания того, кому предназначено письмо.

По первым прикидкам примерно так.

- -- 
Best regards,
	Tony.			mailto:obidos@mail.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE71pd02gaLrWRbr5URAgghAJsHqYf1h+pFo8owik1vfZMzI5/GZgCgqisL
BD9MBcMEXt4bE8kpc2LREHY=
=FrYj
-----END PGP SIGNATURE-----





  parent reply	other threads:[~2001-10-24 14:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-24 13:36 sinergy
2001-10-24 13:55 ` Andrew Nazarkin
2001-10-24 14:08 ` Vlad Drakula
2001-10-24 14:16 ` Antonio [this message]
2001-10-24 16:14 ` Alexei Takaseev

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=Pine.LNX.4.40.0110241411430.1074-100000@tony.localnet \
    --to=obidos@mail.ru \
    --cc=mandrake-russian@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