ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Antonio <obidos@mail.ru>
To: Community <community@altlinux.ru>
Subject: Re: [Comm] Автоматизация доставки почты.
Date: Wed, 8 Oct 2003 14:48:02 +0400 (MSD)
Message-ID: <Pine.LNX.4.44.0310081435170.748-100000@tony.localnet> (raw)
In-Reply-To: <20031008124719.2a57c927.dov@media-link.info>

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

On Wed, 8 Oct 2003, Oleg Dolgov wrote:

> Звоню ifup/ifdown ppp0
>
> Хотелось бы организовать:
> 1. Составил письмо в Сильфиде (или еще в чем-нить), "отправил" (легло в
>    очередь внешнего МТА)

Есть некий "заменитель" sendmail/postfix специально для такого
случая -- msmtp+msmtpqueue, изначально писалось для mutt (если
еще не собрали в Сизифе, ищем на http://www.freshmeat.net), в
качестве мылера (точнее, команды отправки почты) Сильфиде
прописываем msmtp-enqueue.sh [options]

Если не изменяет память, на http://www.opennet.ru тоже была
какая-то дока про то, как заставить sendmail или postfix не
отправлять почту сразу.

> 2. Стартую скрипт, который:
>   2.1 Звонит

ifup ppp0, некая проверка на наличие ppp0, пока не появился,
далее не идем.

>   2.2 Стартует МТА на отправку из очереди на конкретные smtp

msmtp-runqueue.sh

>   2.3 Получает почту с указанных pop3 и складывает в соответствующие
>       папки

fetchmail + procmail, в архивах рассылки было довольно много +
OpenNet.

>   2.4 Положил трубку

ifdown ppp0

> 3. Проверяю почту Сильфидой в этих папках (я так думаю
>    /var/spool/mail/...)

procmail обычно раскладывает в ~/mail или куда укажете, но
хорошим тоном считается класть почту внутрь домашнего каталога.

> Может кто-нить уже так организовал? Или все на выделенках сидят?

Я не организовывал (ибо выделенка на работе), но написал
"выжимку" из того, что почерпнул из разных форумов и собственных
идей.

- -- 
Best regards,
	Tony.			mailto:obidos@mail.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE/g+tl2gaLrWRbr5URAnw2AKCyjWq2EoR6Kvuj+k/vL2Jzb4DC+QCgk/Os
FBzXzdVXijXCdrmn0we40aQ=
=1A6y
-----END PGP SIGNATURE-----






  reply	other threads:[~2003-10-08 10:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-08  9:47 Oleg Dolgov
2003-10-08 10:48 ` Antonio [this message]
2003-10-08 11:41   ` iLya Bryzgalow
2003-10-08 16:22   ` [Comm] " Michael Shigorin
2003-10-08 12:04 ` [Comm] " Aleksey Avdeev
2003-10-08 16:20 ` [Comm] " Michael Shigorin

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.44.0310081435170.748-100000@tony.localnet \
    --to=obidos@mail.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