* [Comm] Maildrop: фильтр с записью во внешний файл
@ 2003-07-21 6:57 Прокопьев Евгений
2003-07-22 3:38 ` igo
0 siblings, 1 reply; 2+ messages in thread
From: Прокопьев Евгений @ 2003-07-21 6:57 UTC (permalink / raw)
To: community
Здравствуйте!
Необходимо по приходу письма в maildir записывать в некий файл размер
сообщения. Прочитав man maildropex, написал .mailfilter следующего
содержания:
echo "$SIZE" >> messages.txt
После отправления тестового письма в mailq вижу
(temporary failure. Command output: .mailfilter(1): Syntax error. )
Пытаюсь писать по аналигии с bash: `echo `$SIZE` >> messages.txt`
Файл создается, но пустой. Что делать?
--
С уважением, Прокопьев Евгений
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Maildrop: фильтр с записью во внешний файл
2003-07-21 6:57 [Comm] Maildrop: фильтр с записью во внешний файл Прокопьев Евгений
@ 2003-07-22 3:38 ` igo
0 siblings, 0 replies; 2+ messages in thread
From: igo @ 2003-07-22 3:38 UTC (permalink / raw)
To: community
Прокопьев Евгений пишет:
> Здравствуйте!
>
> Необходимо по приходу письма в maildir записывать в некий файл размер
> сообщения. Прочитав man maildropex, написал .mailfilter следующего
> содержания:
>
> echo "$SIZE" >> messages.txt
>
> После отправления тестового письма в mailq вижу
>
> (temporary failure. Command output: .mailfilter(1): Syntax error. )
>
> Пытаюсь писать по аналигии с bash: `echo `$SIZE` >> messages.txt`
>
> Файл создается, но пустой. Что делать?
>
`echo $SIZE >> messages.txt`
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-22 3:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-21 6:57 [Comm] Maildrop: фильтр с записью во внешний файл Прокопьев Евгений
2003-07-22 3:38 ` igo
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