ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Mailing List <community@altlinux.ru>
Cc: "Ружников Вадим" <vadim_r@bee-s.com>
Subject: [Comm] Re: fetchmail+procmail+root
Date: Tue, 6 May 2003 03:41:12 +0300
Message-ID: <20030506004112.GL14991@osdn.org.ua> (raw)
In-Reply-To: <20030501085849.GA3211@bee-s.com>

On Thu, May 01, 2003 at 01:58:49PM +0500, Ружников Вадим wrote:
> Вот уже сколько бьюсь, но что-то  в голове не укладывается : (
> Мне хотелось, чтобы после начала соединения с инетом у меня
> сразу fetchmail забирал почту. Тогда(как мне тут посоветовали,
> спасибо) сделал скрипт в /etc/ppp/ip-up.d:
> 
> #!/bin/sh
> fetchmail -f /root/.fetchmailrc

Ой!  А почто так?

Делается пользователь pop3, с домашником, но без шелла; ему домой
кладется .fetchmailrc и .procmailrc, причем права на них лучше
поставить 600 сразу во избежание выяснения этого по логам и
дкументации.

Дальше он чего-то там раскидает по пользователям, а они пусть
разбираются.  Запускать, естественно, из-под su - pop3 -c "fe..."

Если "только для себя" -- должно хватить и просто запускания
из-под себя с созданием всего в своем же $HOME.  Права -- те же,
это важно.

> Соответственно, что моя почта скачивалась, о чем
> свидетельствовал gkrellm, но ее я всю естественно,
> потерял(видимо после неправильной сортировки).

Нет, ее ж не сказано было оставлять на сервере (keep), видимо.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


      parent reply	other threads:[~2003-05-06  0:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-01  8:58 [Comm] fetchmail+procmail+root Ружников Вадим
2003-05-04  9:56 ` Aleks Silin
2003-05-04 12:23 ` Valentin Nechayev
2003-05-04 14:09 ` Dmitry Vukolov
2003-05-05 13:21 ` Alexandr R. Ogurtzoff  
2003-05-06  0:41 ` Michael Shigorin [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=20030506004112.GL14991@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@altlinux.ru \
    --cc=vadim_r@bee-s.com \
    /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