ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: ASA <llb@udm.ru>
To: Aleksey Avdeev <community@altlinux.ru>
Subject: Re: [Comm] fetchmail-daemon общая конфигурация и скрытие паролей пользователей.
Date: Sat, 6 Sep 2003 14:19:10 +0500
Message-ID: <19313063554.20030906141910@udm.ru> (raw)
In-Reply-To: <3F49F83C.5070409@mail15.com>

Hello Aleksey,

Monday, August 25, 2003, 4:51:25 PM, you wrote:

AA>    Решаю задачу сбора пользовательской почты с внешних ящиков с
AA> помощью fetchmail-daemon. Не получается разделить 
AA> конфигурирование доступа (root`ом) и задание пользовательских 
AA> паролей (самим пользователем).

...

AA>    Вопрос: Можно ли, каким либо образом, подружить конфигурацию 2
AA> с ~/.netrc или какимнибудь другим, подобным, механизмом? Чтобы 
AA> конфигурацию для fetchmail задавал root, а пользователь - только 
AA> указывал нужные ему сервера и регистрационную информацию (логин с 
AA> паролем). Куда смотреть и что читать?

Я решал подобную задачу. Имхо, проще всего сделать так:
1) пусть юзера пишут свои данные в файле типа ~/.myfetchmail
данные про сервера и пароли.
2) от root'а по крону запускается скрипт, который лазит по
хомешникам юзеров на предмет ~/.myfetchmail и в случае
более-менее примитивной корректности данных в этом файле
запускал бы просто fetchmail со всеми необходимыми параметрами,
включая -m 

Небольшая грабля при таком способе: fetchmail не принимает
пароли со стандартного входа, только с консоли. Лечится правкой
исходников - найти в них вызов isatty и подставить 0 ;)

-- 
Best regards,
 ASA                            mailto:llb@udm.ru



      reply	other threads:[~2003-09-06  9:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-25 11:51 Aleksey Avdeev
2003-09-06  9:19 ` ASA [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=19313063554.20030906141910@udm.ru \
    --to=llb@udm.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