ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksey E. Birukov" <birukov@vladinfo.ru>
To: community@altlinux.ru
Subject: Re: [Comm] помогите с procmailrc
Date: Sun, 27 Mar 2005 21:42:27 +0400
Message-ID: <200503272142.32004.birukov@vladinfo.ru> (raw)
In-Reply-To: <20050327184208.0779e796@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

В сообщении от 27 Март 2005 18:42 Sergey Kuznetsov написал(a):
> Здравствуйте!
>
> Sat, 26 Mar 2005 20:06:15 +0300 "Aleksey E. Birukov"
>
> <birukov@vladinfo.ru> писал:
> > Как описать следующее условие в procmailrc?
> >
> > Если письмо пришло с адреса test@mail.ru (это понятно *
> > ^From.*test@mail.ru) Письма положились в папку $HOME/testmail/
> > Выполнилась команда на bash, например: echo "вам письмо"
>
> Что-то вроде:
> :0:
>
> * ^From.*test@mail.ru
> {
>
> 	:0
> 	:
> 	|echo "вам письмо"
> 	|
> 	:0
>
> 	testmail
> }
Важно, чтобы команда ( echo "вам письмо") выполнялась после доставки почты! 
Если доставку в почтовый ящик поставить первой командой, тогда вторая команда 
просто не выполнится, потому что почта уже доставлена в почтовый ящик. Как 
можно это обойти?

-- 
$respect

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

  reply	other threads:[~2005-03-27 17:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-26 17:06 Aleksey E. Birukov
2005-03-27 14:42 ` Sergey Kuznetsov
2005-03-27 17:42   ` Aleksey E. Birukov [this message]
2005-03-27 17:51     ` [Comm] " Michael Shigorin
2005-03-27 18:42       ` Aleksey E. Birukov

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=200503272142.32004.birukov@vladinfo.ru \
    --to=birukov@vladinfo.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