On Sun, Aug 20, 2006 at 12:51:13AM +0400, Alexey Tourbin wrote: > Может кому надо. > > ~/.procmailrc: > LOGFILE=$MAILDIR/.maillog > LOGABSTRACT=all > > ~/bin/maillog: > #!/bin/sh > log=$1 && shift || log=~/Mail/.maillog > tail -n 30 -f "$log" |perl -MEncode -Mopen=OUT,:locale -ln /dev/fd/3 3<<'__EOF__' > /^\s*Subject:\s*/ and $subj = Encode::decode("MIME-Header", $') || $'; > /^\s*Folder:\s*(\S+)/ and printf "%-8s\t%s\n", $1, $subj; > __EOF__ Вот версия получше.