* [Comm] Мониторинг через почтовик.
@ 2004-10-29 5:48 Pavel Shurubura
2004-10-29 6:05 ` Andrej Savelov
0 siblings, 1 reply; 6+ messages in thread
From: Pavel Shurubura @ 2004-10-29 5:48 UTC (permalink / raw)
To: community
Здравствуйте !
Подскажите, как решить такую задачу:
когда приходит письмо на определённый ящик, скажем
monitor@domain.org нужно перезапустить службу или просто
выполнить скрипт. Почтовик - sendmail.
--
With kindest regards, pvs.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Мониторинг через почтовик.
2004-10-29 5:48 [Comm] Мониторинг через почтовик Pavel Shurubura
@ 2004-10-29 6:05 ` Andrej Savelov
2004-10-29 6:16 ` Re[2]: " Sodom
0 siblings, 1 reply; 6+ messages in thread
From: Andrej Savelov @ 2004-10-29 6:05 UTC (permalink / raw)
To: community
On Friday 29 October 2004 12:48, Pavel Shurubura wrote:
> Здравствуйте !
>
> Подскажите, как решить такую задачу:
> когда приходит письмо на определённый ящик, скажем
> monitor@domain.org нужно перезапустить службу или просто
> выполнить скрипт. Почтовик - sendmail.
Добавить alias
monitor:|/path/to/script
Читать
man 5 aliases
A.C.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re[2]: [Comm] Мониторинг через почтовик.
2004-10-29 6:05 ` Andrej Savelov
@ 2004-10-29 6:16 ` Sodom
2004-10-29 6:35 ` Andrej Savelov
2004-11-01 9:57 ` Re[2]: [Comm] " Mike Lykov
0 siblings, 2 replies; 6+ messages in thread
From: Sodom @ 2004-10-29 6:16 UTC (permalink / raw)
To: Andrej Savelov
Здравствуйте, Andrej.
Вы писали 29 октября 2004 г., 10:05:45:
> On Friday 29 October 2004 12:48, Pavel Shurubura wrote:
>> Здравствуйте !
>>
>> Подскажите, как решить такую задачу:
>> когда приходит письмо на определённый ящик, скажем
>> monitor@domain.org нужно перезапустить службу или просто
>> выполнить скрипт. Почтовик - sendmail.
> Добавить alias
> monitor:|/path/to/script
> Читать
> man 5 aliases
> A.C.
Ага:
monitor:|reboot
и куча спама туда ;-)
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> https://lists.altlinux.ru/mailman/listinfo/community
--
С уважением,
Sodom mailto:community@sodom.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-11-01 9:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-29 5:48 [Comm] Мониторинг через почтовик Pavel Shurubura
2004-10-29 6:05 ` Andrej Savelov
2004-10-29 6:16 ` Re[2]: " Sodom
2004-10-29 6:35 ` Andrej Savelov
2004-10-29 15:37 ` [Comm] " Michael Shigorin
2004-11-01 9:57 ` Re[2]: [Comm] " Mike Lykov
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