|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Artem Ignatiev 2:5095/20.2 21 Feb 2005 02:06:31 To : Andrey Matveev Subject : e-mail vs dialup -------------------------------------------------------------------------------- 20 Feb 05, 18:05:00 Andrey Matveev общал All пpо всяких "e-mail vs dialup"... AM> Есть FreeBSD 5.3, ppp, postfix, fetchmail. AM> Из ppp.linkup вызывается скриптик, который говорит postfix'у отослать AM> почту на AM> smtp провайдера, а fetchmail'у получить почту с pop3 сервера. AM> Как из скриптика узнать, что postfix'у и fetchmail'у больше не нужен AM> инет и AM> можно сделать pppctl ... quit all? тайм-аут по неактивности? SETTING THE IDLE TIMER To check/set the idle timer, use the ``show bundle'' and ``set timeout'' commands: ppp ON awfulhak> set timeout 600 The timeout period is measured in seconds, the default value for which is 180 seconds (or 3 min). To disable the idle timer function, use the com- mand ppp ON awfulhak> set timeout 0 In -ddial and -dedicated modes, the idle timeout is ignored. In -auto mode, when the idle timeout causes the PPP session to be closed, the ppp program itself remains running. Another trigger packet will cause it to attempt to re-establish the link. Artem --- RavelQUILL 2.0b6LT for Macintosh * Origin: Enthalpy (2:5095/20.2) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/27311f724b88.html, оценка из 5, голосов 10
|