ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexandr R. Ogurtzoff  " <iscander@mercuri.mk.ua>
To: community@altlinux.ru
Subject: Re: [Comm] fetchmail+procmail+root
Date: Mon, 5 May 2003 16:21:31 +0300
Message-ID: <200305051621.31814.iscander@mercuri.mk.ua> (raw)
In-Reply-To: <20030501085849.GA3211@bee-s.com>

В сообщении от Четверг 01 Май 2003 11:58 Ружников Вадим 
написал(a):
> Здравствуйте!

Здравствуйте, Вадим!

> Вот уже сколько бьюсь, но что-то  в голове не
> укладывается : ( Мне хотелось, чтобы после начала
> соединения с инетом у меня сразу fetchmail забирал почту.
> Тогда(как мне тут посоветовали, спасибо) сделал скрипт в
> /etc/ppp/ip-up.d:
>
> #!/bin/sh
> fetchmail -f /root/.fetchmailrc
>
> почему здесь именно root, а с конфигом другого
> пользователя не работает? Но в конфигах postfix
> прописано, что нужно почту переправлять другому
> непривелигированному пользователю, ладно, почта
> скачивается, и это замечательно.
 У меня это работает на доменных ящиках и соот ветсвенно 
распихивается согласно  настройкам alias в postfix.

Строчечка запуска выглядит как   

 fetchmail -D mercuri.mk.ua -E "Received" -f \ 
/etc/.fetchmailrc > /dev/null 2>&1

> А как мне теперь еще в выше приведенный скрипт прикрутить
> procmail. Все настройки мне делать для root'a? А
> каталоги, куда сливать почту должны быть тоже рутовские
> или можно в каталог пользователя
а уже каждый пользователь сортирует почту у себя в каталоге 
при помощи ~/.procmailrc
 

  parent reply	other threads:[~2003-05-05 13:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-01  8:58 Ружников Вадим
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   [this message]
2003-05-06  0:41 ` [Comm] fetchmail+procmail+root 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=200305051621.31814.iscander@mercuri.mk.ua \
    --to=iscander@mercuri.mk.ua \
    --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