From: "Андрей Новосёлов" <ksynolog@aip.mk.ua>
To: ALTLinux <community@altlinux.ru>
Subject: Re: [Comm] fetchmail
Date: 02 Mar 2003 09:31:34 +0200
Message-ID: <1046590231.2171.19.camel@localhost.localdomain> (raw)
In-Reply-To: <1046553595.5279.5.camel@golovin.home>
В Сбт, 01.03.2003, в 23:19, Andrey Golovin написал:
> > Далее, можно ли устроить автоматический забор почты так: в legal user
> > options есть такое
> > preconnect- Command to be executed before each connection
> > postconnect- Command to be executed after each connection
> > если я правильно понимаю, можно в кач-ве preconnect запустить дозвон, а
> > в роли postconnect - разорвать соединение. Тогда, прописав cron
> > запускать каждые 2 часа fetchmail:
> > 0 7-21/2 * * * fetchmail
> > если в настройках wvdial указано "по требованию" будет ли эта
> > конструкция функционировать?
>
> Не пробовал, но функционировать должно. Только если соединение "по
> требованию", то все эти pre- и postconnect не нужны (и наоборот),
Поясните, я не понял
не
> забудьте только автоматически обрывать соединение через некоторое время
> неиспользования.
Как это сделать и разве postconnect этого не сделает?
> ИМХО вариант дозвона по требованию чреват всякими мелкими пакостями,
> типа нежелательного дозвона при просмотре html.
Хорошо, а если не трогать крон.Если запускать так:
fetchmail -d 7200
по идее он должен раз в два часа проверять почту ( там время в секундах
должно указываться) и если правильно указать preconnect и postconnect
команды, то и крон не нужен.
--
With the best wishes & kindest regards, Andrey.
Registered LINUX user # 282220
next prev parent reply other threads:[~2003-03-02 7:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-01 20:33 Андрей Новосёлов
2003-03-01 21:19 ` Andrey Golovin
2003-03-02 7:31 ` Андрей Новосёлов [this message]
2003-03-02 23:17 ` Andrey Golovin
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=1046590231.2171.19.camel@localhost.localdomain \
--to=ksynolog@aip.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