From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.org>
Subject: [devel] Re: I: Sisyphus-20050621 unmets: -1 (122/70) [JT]
Date: Wed, 22 Jun 2005 02:54:31 +0400
Message-ID: <20050621225431.GT26232@solemn.turbinal.org> (raw)
In-Reply-To: <20050621215345.GA32305@basalt.office.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
On Wed, Jun 22, 2005 at 01:53:45AM +0400, Dmitry V. Levin wrote:
> On Wed, Jun 22, 2005 at 01:48:48AM +0400, Alexey Tourbin wrote:
> > Использовать /usr/lib/sendmail <<EOF мне не хочется.
>
> Почему?
Ну, вместо
mail -s "$subj" $mailto <unmets/msg
придется писать
/usr/lib/sendmail -oi -t $mailto <<EOF
Subject: $subj
$(cat unmets/msg)
EOF
а это портит внешний вид скрипта. :)
На самом деле, я нашёл (или conceived) одно острумное решение сразу
двух проблем: прхождения писем с адреса .org и указания кодировки:
procmail+formail. Примерно так:
:0 c
* ^From: at@altlinux.org
* ^To: qa@altlinux.org
* ^Subject: I: Sisyphus.*packages:
| { formail -I "From: Alexey Tourbin <at@altlinux.ru>" \
-I "To: Sisyphus users <sisyphus@altlinux.org>" \
-I "Content-Type: text/plain; charset=koi8-r" ; \
echo -e '\n-- \nSincerely yours,\nAlexey Tourbin / QA Team Robot' ; } \
|/usr/lib/sendmail -oi -t -f at@altlinux.ru
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-06-21 22:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-20 22:12 [devel] I: Sisyphus-20050621 unmets: -1 (122/70) Alexey M. Tourbin
2005-06-21 20:06 ` [devel] I: Sisyphus-20050621 unmets: -1 (122/70) [JT] Vitaly Lipatov
2005-06-21 21:48 ` [devel] " Alexey Tourbin
2005-06-21 21:53 ` Dmitry V. Levin
2005-06-21 22:54 ` Alexey Tourbin [this message]
2005-06-23 4:55 ` Alexey Tourbin
2005-06-23 6:29 ` [devel] mail в скриптах suxx! (was: I: Sisyphus-20050621 unmets: -1 (122/70) [JT]) Michael Shigorin
2005-07-23 1:01 ` [devel] " Alexey Tourbin
2005-06-23 6:32 ` [devel] q: sisyphus-stats@? (was: I: Sisyphus-20050621 unmets: -1 (122/70)) Michael Shigorin
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=20050621225431.GT26232@solemn.turbinal.org \
--to=at@altlinux.ru \
--cc=devel@altlinux.org \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git