Журнал лабораторных работ

Содержание

Журнал

Среда (05/28/08)

/dev/ttyp2
23:50:42
#cd ma
mail/ math/
23:50:42
#cd mail/p5-Mail-SpamAssassin/

23:50:55
#make install
===>   p5-Mail-SpamAssassin-3.2.4_4 depends on package: p5-Net-DNS>=0.63 - not found
===>   Found p5-Net-DNS-0.59, but you need to upgrade to p5-Net-DNS>=0.63.
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
23:50:55
#make install
===>   p5-Mail-SpamAssassin-3.2.4_4 depends on package: p5-Net-DNS>=0.63 - not found
===>   Found p5-Net-DNS-0.59, but you need to upgrade to p5-Net-DNS>=0.63.
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
23:50:57
#pkg_info -l | grep DNS
pkg_info: option requires an argument -- l
usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]
                [-t template] -a | pkg-name ...
       pkg_info [-qQ] -W filename
       pkg_info [-qQ] -O origin
       pkg_info
23:50:57
#pkg_info -l | grep DNS
pkg_info: option requires an argument -- l
usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]
                [-t template] -a | pkg-name ...
       pkg_info [-qQ] -W filename
       pkg_info [-qQ] -O origin
       pkg_info
23:50:57
#pkg_info -l | grep DNS
pkg_info: option requires an argument -- l
usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]
                [-t template] -a | pkg-name ...
       pkg_info [-qQ] -W filename
       pkg_info [-qQ] -O origin
       pkg_info
23:50:57
#pkg_info -l | grep DNS
pkg_info: option requires an argument -- l
usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]
                [-t template] -a | pkg-name ...
       pkg_info [-qQ] -W filename
       pkg_info [-qQ] -O origin
       pkg_info
23:51:17
#pkg_info | grep DNS
p5-Net-DNS-0.59     Perl5 interface to the DNS resolver, and dynamic updates
23:51:17
#pkg_info | grep DNS
p5-Net-DNS-0.59     Perl5 interface to the DNS resolver, and dynamic updates
23:51:17
#pkg_info | grep DNS
p5-Net-DNS-0.59     Perl5 interface to the DNS resolver, and dynamic updates
23:51:17
#pkg_info | grep DNS
p5-Net-DNS-0.59     Perl5 interface to the DNS resolver, and dynamic updates
23:51:24
#pkg_delete p5-Net-DNS-0.59

23:51:24
#pkg_delete p5-Net-DNS-0.59

23:51:39
#make install
Looks good
Writing Makefile for Compress::Raw::Zlib
===>  Building for p5-Compress-Raw-Zlib-2.011
cp lib/Compress/Raw/Zlib.pm blib/lib/Compress/Raw/Zlib.pm
AutoSplitting blib/lib/Compress/Raw/Zlib.pm (blib/lib/auto/Compress/Raw/Zlib)
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
cc -c  -I/usr/include  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe    -DVERSION=\"2.011\"  -DXS_VERSION=\"2.011\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DGZIP_OS_CODE=3 -DUSE_PPPORT_H Zlib.c
Running Mkbootstrap for Compress::Raw::Zlib ()
chmod 644 Zlib.bs
rm -f blib/arch/auto/Compress/Raw/Zlib/Zlib.so
...
Installing /usr/local/lib/perl5/5.8.8/man/man3/IO::Uncompress::AnyInflate.3
Installing /usr/local/lib/perl5/5.8.8/man/man3/IO::Compress::Gzip.3
Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/IO/Compress/Zlib/.packlist
===>   Compressing manual pages for p5-IO-Compress-Zlib-2.011
===>   Registering installation for p5-IO-Compress-Zlib-2.011
===>   Returning to build of p5-Mail-SpamAssassin-3.2.4_4
===>   p5-Mail-SpamAssassin-3.2.4_4 depends on package: p5-Compress-Zlib>=2.04 - not found
===>   Found p5-Compress-Zlib-1.42, but you need to upgrade to p5-Compress-Zlib>=2.04.
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
23:51:39
#make install
Looks good
Writing Makefile for Compress::Raw::Zlib
===>  Building for p5-Compress-Raw-Zlib-2.011
cp lib/Compress/Raw/Zlib.pm blib/lib/Compress/Raw/Zlib.pm
AutoSplitting blib/lib/Compress/Raw/Zlib.pm (blib/lib/auto/Compress/Raw/Zlib)
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
cc -c  -I/usr/include  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe    -DVERSION=\"2.011\"  -DXS_VERSION=\"2.011\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DGZIP_OS_CODE=3 -DUSE_PPPORT_H Zlib.c
Running Mkbootstrap for Compress::Raw::Zlib ()
chmod 644 Zlib.bs
rm -f blib/arch/auto/Compress/Raw/Zlib/Zlib.so
...
Installing /usr/local/lib/perl5/5.8.8/man/man3/IO::Uncompress::AnyInflate.3
Installing /usr/local/lib/perl5/5.8.8/man/man3/IO::Compress::Gzip.3
Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/IO/Compress/Zlib/.packlist
===>   Compressing manual pages for p5-IO-Compress-Zlib-2.011
===>   Registering installation for p5-IO-Compress-Zlib-2.011
===>   Returning to build of p5-Mail-SpamAssassin-3.2.4_4
===>   p5-Mail-SpamAssassin-3.2.4_4 depends on package: p5-Compress-Zlib>=2.04 - not found
===>   Found p5-Compress-Zlib-1.42, but you need to upgrade to p5-Compress-Zlib>=2.04.
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
23:51:39
#make install
Looks good
Writing Makefile for Compress::Raw::Zlib
===>  Building for p5-Compress-Raw-Zlib-2.011
cp lib/Compress/Raw/Zlib.pm blib/lib/Compress/Raw/Zlib.pm
AutoSplitting blib/lib/Compress/Raw/Zlib.pm (blib/lib/auto/Compress/Raw/Zlib)
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
cc -c  -I/usr/include  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe    -DVERSION=\"2.011\"  -DXS_VERSION=\"2.011\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DGZIP_OS_CODE=3 -DUSE_PPPORT_H Zlib.c
Running Mkbootstrap for Compress::Raw::Zlib ()
chmod 644 Zlib.bs
rm -f blib/arch/auto/Compress/Raw/Zlib/Zlib.so
...
Installing /usr/local/lib/perl5/5.8.8/man/man3/IO::Uncompress::AnyInflate.3
Installing /usr/local/lib/perl5/5.8.8/man/man3/IO::Compress::Gzip.3
Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/IO/Compress/Zlib/.packlist
===>   Compressing manual pages for p5-IO-Compress-Zlib-2.011
===>   Registering installation for p5-IO-Compress-Zlib-2.011
===>   Returning to build of p5-Mail-SpamAssassin-3.2.4_4
===>   p5-Mail-SpamAssassin-3.2.4_4 depends on package: p5-Compress-Zlib>=2.04 - not found
===>   Found p5-Compress-Zlib-1.42, but you need to upgrade to p5-Compress-Zlib>=2.04.
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
23:51:39
#make install
Looks good
Writing Makefile for Compress::Raw::Zlib
===>  Building for p5-Compress-Raw-Zlib-2.011
cp lib/Compress/Raw/Zlib.pm blib/lib/Compress/Raw/Zlib.pm
AutoSplitting blib/lib/Compress/Raw/Zlib.pm (blib/lib/auto/Compress/Raw/Zlib)
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
cc -c  -I/usr/include  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe    -DVERSION=\"2.011\"  -DXS_VERSION=\"2.011\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DGZIP_OS_CODE=3 -DUSE_PPPORT_H Zlib.c
Running Mkbootstrap for Compress::Raw::Zlib ()
chmod 644 Zlib.bs
rm -f blib/arch/auto/Compress/Raw/Zlib/Zlib.so
...
Installing /usr/local/lib/perl5/5.8.8/man/man3/IO::Uncompress::AnyInflate.3
Installing /usr/local/lib/perl5/5.8.8/man/man3/IO::Compress::Gzip.3
Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/IO/Compress/Zlib/.packlist
===>   Compressing manual pages for p5-IO-Compress-Zlib-2.011
===>   Registering installation for p5-IO-Compress-Zlib-2.011
===>   Returning to build of p5-Mail-SpamAssassin-3.2.4_4
===>   p5-Mail-SpamAssassin-3.2.4_4 depends on package: p5-Compress-Zlib>=2.04 - not found
===>   Found p5-Compress-Zlib-1.42, but you need to upgrade to p5-Compress-Zlib>=2.04.
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
23:52:21
#pkg_info | grep Compress
p5-Compress-Raw-Zlib-2.011 Low-Level Interface to zlib compression library
p5-Compress-Zlib-1.42 Perl5 interface to zlib compression library
p5-IO-Compress-Base-2.011 Base Class for IO::Uncompress modules
p5-IO-Compress-Zlib-2.011 Perl5 interface for reading and writing of (g)zip files
p5-IO-Zlib-1.04_1   IO:: style interface to Compress::Zlib
23:52:21
#pkg_info | grep Compress
p5-Compress-Raw-Zlib-2.011 Low-Level Interface to zlib compression library
p5-Compress-Zlib-1.42 Perl5 interface to zlib compression library
p5-IO-Compress-Base-2.011 Base Class for IO::Uncompress modules
p5-IO-Compress-Zlib-2.011 Perl5 interface for reading and writing of (g)zip files
p5-IO-Zlib-1.04_1   IO:: style interface to Compress::Zlib
23:52:21
#pkg_info | grep Compress
p5-Compress-Raw-Zlib-2.011 Low-Level Interface to zlib compression library
p5-Compress-Zlib-1.42 Perl5 interface to zlib compression library
p5-IO-Compress-Base-2.011 Base Class for IO::Uncompress modules
p5-IO-Compress-Zlib-2.011 Perl5 interface for reading and writing of (g)zip files
p5-IO-Zlib-1.04_1   IO:: style interface to Compress::Zlib
23:52:36
#pkg_delete p5-Compress-Zlib-1.42
pkg_delete: package 'p5-Compress-Zlib-1.42' is required by these other packages
and may not be deinstalled:
p5-IO-Zlib-1.04_1
23:52:36
#pkg_delete p5-Compress-Zlib-1.42
pkg_delete: package 'p5-Compress-Zlib-1.42' is required by these other packages
and may not be deinstalled:
p5-IO-Zlib-1.04_1
23:52:36
#pkg_delete p5-Compress-Zlib-1.42
pkg_delete: package 'p5-Compress-Zlib-1.42' is required by these other packages
and may not be deinstalled:
p5-IO-Zlib-1.04_1
23:53:00
#pkg_delete p5-Compress-Zlib-1.42

23:53:00
#pkg_delete p5-Compress-Zlib-1.42

23:53:00
#make install
  - version 0.34 or higher on Unix systems
  - version 0.46 or higher on Windows systems
***************************************************************************
NOTE: the optional Mail::SPF module is not installed.
  Used to check DNS Sender Policy Framework (SPF) records to fight email
  address forgery and make it easier to identify spams.  (This is preferred
  over Mail::SPF::Query.)
***************************************************************************
NOTE: the optional Mail::SPF::Query module is not installed.
  Used to check DNS Sender Policy Framework (SPF) records to fight email
...
optional module missing: DBI
optional module missing: LWP::UserAgent
optional module missing: HTTP::Date
optional module missing: Archive::Tar
optional module missing: IO::Zlib
optional module missing: Encode::Detect
warning: some functionality may not be available,
please read the above report before continuing!
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
23:53:17
#make deinstall
===>  Deinstalling for mail/p5-Mail-SpamAssassin
===>   p5-Mail-SpamAssassin not installed, skipping
23:53:56
#make clean
===>  Cleaning for perl-5.8.8
===>  Cleaning for p5-Net-DNS-0.63
===>  Cleaning for p5-IO-Zlib-1.09
===>  Cleaning for p5-HTML-Parser-3.55
===>  Cleaning for p5-IO-Compress-Zlib-2.011
===>  Cleaning for p5-Compress-Zlib-2.011
===>  Cleaning for p5-Mail-Tools-2.02
===>  Cleaning for p5-Digest-SHA1-2.11
===>  Cleaning for p5-libwww-5.805
===>  Cleaning for p5-Archive-Tar-1.38_1
...
===>  Cleaning for p5-ExtUtils-CBuilder-0.18
===>  Cleaning for p5-ExtUtils-ParseXS-2.15
===>  Cleaning for p5-YAML-0.58
===>  Cleaning for libtool-1.5.22_2
===>  Cleaning for libiconv-1.9.2_2
===>  Cleaning for p5-GSSAPI-0.23
===>  Cleaning for p5-Scalar-List-Utils-1.18,1
===>  Cleaning for p5-Test-Base-0.52
===>  Cleaning for p5-Spiffy-0.30
===>  Cleaning for p5-Mail-SpamAssassin-3.2.4_4
23:54:31
#make all all
***************************************************************************
NOTE: the optional Mail::DomainKeys module is not installed.
  If this module is installed, and you enable the DomainKeys plugin,
  SpamAssassin will perform Domain Key lookups when Domain Key
  information is present in the message headers.  (Note that new versions
  of Mail::DKIM render this module superfluous.)
***************************************************************************
NOTE: the optional Mail::DKIM module is not installed.
  If this module is installed, and you enable the DKIM plugin,
  SpamAssassin will perform DKIM lookups when a DKIM-Signature
...
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm >blib/lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Bayes.pm >blib/lib/Mail/SpamAssassin/Bayes.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/DBBasedAddrList.pm >blib/lib/Mail/SpamAssassin/DBBasedAddrList.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/WhiteListSubject.pm >blib/lib/Mail/SpamAssassin/Plugin/WhiteListSubject.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/NetSet.pm >blib/lib/Mail/SpamAssassin/NetSet.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/AWL.pm >blib/lib/Mail/SpamAssassin/Plugin/AWL.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/HTMLEval.pm >blib/lib/Mail/SpamAssassin/Plugin/HTMLEval.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Logger.pm >blib/lib/Mail/SpamAssassin/Logger.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/Hashcash.pm >blib/lib/Mail/SpamAssassin/Plugin/Hashcash.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin.pm >blib/lib/Mail/SpamAssassin/Plugin.pm
23:54:31
#make all all
***************************************************************************
NOTE: the optional Mail::DomainKeys module is not installed.
  If this module is installed, and you enable the DomainKeys plugin,
  SpamAssassin will perform Domain Key lookups when Domain Key
  information is present in the message headers.  (Note that new versions
  of Mail::DKIM render this module superfluous.)
***************************************************************************
NOTE: the optional Mail::DKIM module is not installed.
  If this module is installed, and you enable the DKIM plugin,
  SpamAssassin will perform DKIM lookups when a DKIM-Signature
...
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm >blib/lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Bayes.pm >blib/lib/Mail/SpamAssassin/Bayes.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/DBBasedAddrList.pm >blib/lib/Mail/SpamAssassin/DBBasedAddrList.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/WhiteListSubject.pm >blib/lib/Mail/SpamAssassin/Plugin/WhiteListSubject.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/NetSet.pm >blib/lib/Mail/SpamAssassin/NetSet.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/AWL.pm >blib/lib/Mail/SpamAssassin/Plugin/AWL.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/HTMLEval.pm >blib/lib/Mail/SpamAssassin/Plugin/HTMLEval.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Logger.pm >blib/lib/Mail/SpamAssassin/Logger.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/Hashcash.pm >blib/lib/Mail/SpamAssassin/Plugin/Hashcash.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin.pm >blib/lib/Mail/SpamAssassin/Plugin.pm
23:54:31
#make all all
***************************************************************************
NOTE: the optional Mail::DomainKeys module is not installed.
  If this module is installed, and you enable the DomainKeys plugin,
  SpamAssassin will perform Domain Key lookups when Domain Key
  information is present in the message headers.  (Note that new versions
  of Mail::DKIM render this module superfluous.)
***************************************************************************
NOTE: the optional Mail::DKIM module is not installed.
  If this module is installed, and you enable the DKIM plugin,
  SpamAssassin will perform DKIM lookups when a DKIM-Signature
...
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm >blib/lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Bayes.pm >blib/lib/Mail/SpamAssassin/Bayes.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/DBBasedAddrList.pm >blib/lib/Mail/SpamAssassin/DBBasedAddrList.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/WhiteListSubject.pm >blib/lib/Mail/SpamAssassin/Plugin/WhiteListSubject.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/NetSet.pm >blib/lib/Mail/SpamAssassin/NetSet.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/AWL.pm >blib/lib/Mail/SpamAssassin/Plugin/AWL.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/HTMLEval.pm >blib/lib/Mail/SpamAssassin/Plugin/HTMLEval.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Logger.pm >blib/lib/Mail/SpamAssassin/Logger.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin/Hashcash.pm >blib/lib/Mail/SpamAssassin/Plugin/Hashcash.pm
/usr/local/bin/perl5.8.8 build/preprocessor -Mconditional -Mvars -DVERSION="3.002004"  -DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/share/spamassassin"  -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/var/db/spamassassin" <lib/Mail/SpamAssassin/Plugin.pm >blib/lib/Mail/SpamAssassin/Plugin.pm

Четверг (05/29/08)

00:35:45
#vim /etc/rc.conf
--- /tmp/l3-saved-18330.17958.22538	Wed May 28 21:35:58 2008
+++ /etc/rc.conf	Wed May 28 21:36:14 2008
@@ -15,3 +15,6 @@
 sendmail_outbound_enable="NO"
 sendmail_msp_queue_enable="NO"
 postfix_enable="YES"
+spamd_enable="YES"
+spamd_flags="-u spamd -H /var/spool/spamd"
+
00:35:45
#vim /etc/rc.conf
--- /tmp/l3-saved-18330.17958.22538	Wed May 28 21:35:58 2008
+++ /etc/rc.conf	Wed May 28 21:36:14 2008
@@ -15,3 +15,6 @@
 sendmail_outbound_enable="NO"
 sendmail_msp_queue_enable="NO"
 postfix_enable="YES"
+spamd_enable="YES"
+spamd_flags="-u spamd -H /var/spool/spamd"
+
00:35:45
#vim /etc/rc.conf
--- /tmp/l3-saved-18330.17958.22538	Wed May 28 21:35:58 2008
+++ /etc/rc.conf	Wed May 28 21:36:14 2008
@@ -15,3 +15,6 @@
 sendmail_outbound_enable="NO"
 sendmail_msp_queue_enable="NO"
 postfix_enable="YES"
+spamd_enable="YES"
+spamd_flags="-u spamd -H /var/spool/spamd"
+
00:35:45
#vim /etc/rc.conf
--- /tmp/l3-saved-18330.17958.22538	Wed May 28 21:35:58 2008
+++ /etc/rc.conf	Wed May 28 21:36:14 2008
@@ -15,3 +15,6 @@
 sendmail_outbound_enable="NO"
 sendmail_msp_queue_enable="NO"
 postfix_enable="YES"
+spamd_enable="YES"
+spamd_flags="-u spamd -H /var/spool/spamd"
+
00:36:14
#cd

00:36:14
#cd

00:36:14
#cd

00:36:14
#cd

00:36:48
#vim /usr/local/bin/spamfilter.sh
--- /dev/null	Wed May 28 21:37:33 2008
+++ /usr/local/bin/spamfilter.sh	Wed May 28 21:37:48 2008
@@ -0,0 +1,3 @@
+#!/usr/local/bin/bash
+/usr/local/bin/spamc | /usr/sbin/sendmail -i "$@"
+exit $?
00:36:48
#vim /usr/local/bin/spamfilter.sh
--- /dev/null	Wed May 28 21:37:33 2008
+++ /usr/local/bin/spamfilter.sh	Wed May 28 21:37:48 2008
@@ -0,0 +1,3 @@
+#!/usr/local/bin/bash
+/usr/local/bin/spamc | /usr/sbin/sendmail -i "$@"
+exit $?
00:36:48
#vim /usr/local/bin/spamfilter.sh
--- /dev/null	Wed May 28 21:37:33 2008
+++ /usr/local/bin/spamfilter.sh	Wed May 28 21:37:48 2008
@@ -0,0 +1,3 @@
+#!/usr/local/bin/bash
+/usr/local/bin/spamc | /usr/sbin/sendmail -i "$@"
+exit $?
00:36:48
#vim /usr/local/bin/spamfilter.sh
--- /dev/null	Wed May 28 21:37:33 2008
+++ /usr/local/bin/spamfilter.sh	Wed May 28 21:37:48 2008
@@ -0,0 +1,3 @@
+#!/usr/local/bin/bash
+/usr/local/bin/spamc | /usr/sbin/sendmail -i "$@"
+exit $?
00:36:48
#vim /usr/local/bin/spamfilter.sh
--- /dev/null	Wed May 28 21:37:33 2008
+++ /usr/local/bin/spamfilter.sh	Wed May 28 21:37:48 2008
@@ -0,0 +1,3 @@
+#!/usr/local/bin/bash
+/usr/local/bin/spamc | /usr/sbin/sendmail -i "$@"
+exit $?
00:37:48
#chmod 755 /usr/local/bin/spamfilter.sh

00:38:08
#ls /usr/local/bin/spamfilter.sh
/usr/local/bin/spamfilter.sh
00:38:08
#ls /usr/local/bin/spamfilter.sh
/usr/local/bin/spamfilter.sh
00:38:08
#ls /usr/local/bin/spamfilter.sh
/usr/local/bin/spamfilter.sh
00:38:14
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x  1 root  wheel  80 May 28 21:37 /usr/local/bin/spamfilter.sh
00:38:14
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x  1 root  wheel  80 May 28 21:37 /usr/local/bin/spamfilter.sh
00:38:14
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x  1 root  wheel  80 May 28 21:37 /usr/local/bin/spamfilter.sh
00:38:17
#vipw
mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin
bind:*:53:53::0:0:Bind Sandbox:/:/usr/sbin/nologin
proxy:*:62:62::0:0:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin
_pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/usr/sbin/nologin
_dhcp:*:65:65::0:0:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp
/uucico
pop:*:68:6::0:0:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80::0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin
user:$1$IKUfdGE0$oRYqJVjqysoed1C4LiPdR1:1001:0::0:0:User &:/home/user:/usr/local
/bin/bash
postfix:*:125:125::0:0:Postfix Mail System:/var/spool/postfix:/usr/sbin/nologin
spamd:*:58:58::0:0:SpamAssassin user:/var/spool/spamd:/sbin/nologin
:q!
vipw: no changes made
00:38:43
#chown spamd:spamd /usr/local/bin/spamfilter.sh

00:38:43
#chown spamd:spamd /usr/local/bin/spamfilter.sh

00:38:57
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x  1 spamd  spamd  80 May 28 21:37 /usr/local/bin/spamfilter.sh
00:38:57
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x  1 spamd  spamd  80 May 28 21:37 /usr/local/bin/spamfilter.sh
00:38:59
#vim /usr/local/etc/postfix/master.cf
--- /tmp/l3-saved-18330.22705.23885	Wed May 28 21:39:36 2008
+++ /usr/local/etc/postfix/master.cf	Wed May 28 21:41:07 2008
@@ -8,7 +8,10 @@
 # service type  private unpriv  chroot  wakeup  maxproc command + args
 #               (yes)   (yes)   (yes)   (never) (100)
 # ==========================================================================
-smtp      inet  n       -       n       -       -       smtpd
+####smtp      inet  n       -       n       -       -       smtpd
+smtp          inet  n       -       n       -       -       smtpd
+  -o content_filter=spamfilter:dummy
+######smtp      inet  n       -       n       -       -       smtpd
 #submission inet n       -       n       -       -       smtpd
 #  -o smtpd_tls_security_level=encrypt
 #  -o smtpd_sasl_auth_enable=yes
@@ -102,3 +105,5 @@
 #mailman   unix  -       n       n       -       -       pipe
 #  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
 #  ${nexthop} ${user}
+spamfilter unix - n n - - pipe
+  flags=Rq user=spamd argv=/usr/local/bin/spamfilter.sh -f ${sender} -- ${recipient}
00:38:59
#vim /usr/local/etc/postfix/master.cf
--- /tmp/l3-saved-18330.22705.23885	Wed May 28 21:39:36 2008
+++ /usr/local/etc/postfix/master.cf	Wed May 28 21:41:07 2008
@@ -8,7 +8,10 @@
 # service type  private unpriv  chroot  wakeup  maxproc command + args
 #               (yes)   (yes)   (yes)   (never) (100)
 # ==========================================================================
-smtp      inet  n       -       n       -       -       smtpd
+####smtp      inet  n       -       n       -       -       smtpd
+smtp          inet  n       -       n       -       -       smtpd
+  -o content_filter=spamfilter:dummy
+######smtp      inet  n       -       n       -       -       smtpd
 #submission inet n       -       n       -       -       smtpd
 #  -o smtpd_tls_security_level=encrypt
 #  -o smtpd_sasl_auth_enable=yes
@@ -102,3 +105,5 @@
 #mailman   unix  -       n       n       -       -       pipe
 #  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
 #  ${nexthop} ${user}
+spamfilter unix - n n - - pipe
+  flags=Rq user=spamd argv=/usr/local/bin/spamfilter.sh -f ${sender} -- ${recipient}
00:38:59
#vim /usr/local/etc/postfix/master.cf
--- /tmp/l3-saved-18330.22705.23885	Wed May 28 21:39:36 2008
+++ /usr/local/etc/postfix/master.cf	Wed May 28 21:41:07 2008
@@ -8,7 +8,10 @@
 # service type  private unpriv  chroot  wakeup  maxproc command + args
 #               (yes)   (yes)   (yes)   (never) (100)
 # ==========================================================================
-smtp      inet  n       -       n       -       -       smtpd
+####smtp      inet  n       -       n       -       -       smtpd
+smtp          inet  n       -       n       -       -       smtpd
+  -o content_filter=spamfilter:dummy
+######smtp      inet  n       -       n       -       -       smtpd
 #submission inet n       -       n       -       -       smtpd
 #  -o smtpd_tls_security_level=encrypt
 #  -o smtpd_sasl_auth_enable=yes
@@ -102,3 +105,5 @@
 #mailman   unix  -       n       n       -       -       pipe
 #  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
 #  ${nexthop} ${user}
+spamfilter unix - n n - - pipe
+  flags=Rq user=spamd argv=/usr/local/bin/spamfilter.sh -f ${sender} -- ${recipient}
00:38:59
#vim /usr/local/etc/postfix/master.cf
--- /tmp/l3-saved-18330.22705.23885	Wed May 28 21:39:36 2008
+++ /usr/local/etc/postfix/master.cf	Wed May 28 21:41:07 2008
@@ -8,7 +8,10 @@
 # service type  private unpriv  chroot  wakeup  maxproc command + args
 #               (yes)   (yes)   (yes)   (never) (100)
 # ==========================================================================
-smtp      inet  n       -       n       -       -       smtpd
+####smtp      inet  n       -       n       -       -       smtpd
+smtp          inet  n       -       n       -       -       smtpd
+  -o content_filter=spamfilter:dummy
+######smtp      inet  n       -       n       -       -       smtpd
 #submission inet n       -       n       -       -       smtpd
 #  -o smtpd_tls_security_level=encrypt
 #  -o smtpd_sasl_auth_enable=yes
@@ -102,3 +105,5 @@
 #mailman   unix  -       n       n       -       -       pipe
 #  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
 #  ${nexthop} ${user}
+spamfilter unix - n n - - pipe
+  flags=Rq user=spamd argv=/usr/local/bin/spamfilter.sh -f ${sender} -- ${recipient}
00:41:07
#vim /usr/local/etc/mail/spamassassin/
00:41:07
#vim /usr/local/etc/mail/spamassassin/
00:41:07
#vim /usr/local/etc/mail/spamassassin/
00:41:07
#vim /usr/local/etc/mail/spamassassin/
00:41:07
#cdusr/local/etc/mail/spamassassin/

00:41:07
#cdusr/local/etc/mail/spamassassin/

00:41:07
#cdusr/local/etc/mail/spamassassin/

00:41:07
#cdusr/local/etc/mail/spamassassin/

00:41:29
#cp local.cf.sample local.cf

00:41:29
#cp local.cf.sample local.cf

00:41:29
#cp local.cf.sample local.cf

00:41:29
#cp local.cf.sample local.cf

00:41:35
#vim local.cf
--- /tmp/l3-saved-18330.5060.19285	Wed May 28 21:41:38 2008
+++ local.cf	Wed May 28 21:42:08 2008
@@ -9,7 +9,7 @@
 
 #   Add *****SPAM***** to the Subject header of spam e-mails
 #
-# rewrite_header Subject *****SPAM*****
+rewrite_header Subject *****SPAM*****
 
 
 #   Save spam messages as a message/rfc822 MIME attachment instead of
@@ -31,17 +31,17 @@
 
 #   Set the threshold at which a message is considered spam (default: 5.0)
 #
-# required_score 5.0
+required_score 1.0
 
 
 #   Use Bayesian classifier (default: 1)
 #
-# use_bayes 1
+use_bayes 1
 
 
 #   Bayesian classifier auto-learning (default: 1)
 #
-# bayes_auto_learn 1
+bayes_auto_learn 1
 
 
 #   Set headers which may provide inappropriate cues to the Bayesian
00:41:35
#vim local.cf
--- /tmp/l3-saved-18330.5060.19285	Wed May 28 21:41:38 2008
+++ local.cf	Wed May 28 21:42:08 2008
@@ -9,7 +9,7 @@
 
 #   Add *****SPAM***** to the Subject header of spam e-mails
 #
-# rewrite_header Subject *****SPAM*****
+rewrite_header Subject *****SPAM*****
 
 
 #   Save spam messages as a message/rfc822 MIME attachment instead of
@@ -31,17 +31,17 @@
 
 #   Set the threshold at which a message is considered spam (default: 5.0)
 #
-# required_score 5.0
+required_score 1.0
 
 
 #   Use Bayesian classifier (default: 1)
 #
-# use_bayes 1
+use_bayes 1
 
 
 #   Bayesian classifier auto-learning (default: 1)
 #
-# bayes_auto_learn 1
+bayes_auto_learn 1
 
 
 #   Set headers which may provide inappropriate cues to the Bayesian
00:41:35
#vim local.cf
--- /tmp/l3-saved-18330.5060.19285	Wed May 28 21:41:38 2008
+++ local.cf	Wed May 28 21:42:08 2008
@@ -9,7 +9,7 @@
 
 #   Add *****SPAM***** to the Subject header of spam e-mails
 #
-# rewrite_header Subject *****SPAM*****
+rewrite_header Subject *****SPAM*****
 
 
 #   Save spam messages as a message/rfc822 MIME attachment instead of
@@ -31,17 +31,17 @@
 
 #   Set the threshold at which a message is considered spam (default: 5.0)
 #
-# required_score 5.0
+required_score 1.0
 
 
 #   Use Bayesian classifier (default: 1)
 #
-# use_bayes 1
+use_bayes 1
 
 
 #   Bayesian classifier auto-learning (default: 1)
 #
-# bayes_auto_learn 1
+bayes_auto_learn 1
 
 
 #   Set headers which may provide inappropriate cues to the Bayesian
00:42:08
#/usr/local/etc/rc.d/sa-spamd start
Starting spamd.
00:42:08
#/usr/local/etc/rc.d/sa-spamd start
Starting spamd.
00:42:08
#/usr/local/etc/rc.d/sa-spamd start
Starting spamd.
00:42:26
#less /var/log/maillog
00:42:26
#less /var/log/maillog
00:42:26
#less /var/log/maillog
00:42:41
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system
postfix/postfix-script: starting the Postfix mail system
00:42:41
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system
postfix/postfix-script: starting the Postfix mail system
00:42:41
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system
postfix/postfix-script: starting the Postfix mail system
00:42:41
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system
postfix/postfix-script: starting the Postfix mail system
00:42:52
#less /var/log/maillog
00:42:52
#less /var/log/maillog
00:42:52
#less /var/log/maillog
00:42:52
#less /var/log/maillog
00:43:05
#less /var/log/maillog
00:43:05
#less /var/log/maillog
00:43:05
#less /var/log/maillog
00:43:05
#less /var/log/maillog
00:43:05
#less /var/log/maillog
00:43:05
#less /var/log/maillog
00:43:05
#less /var/log/maillog
00:43:20
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 1 message 1 new
>N  1 root@freebsd6.clinik  Wed May 28 21:43  15/491   "test"
&
Message 1:
From root@freebsd6.clinika.local  Wed May 28 21:43:05 2008
X-Original-To: root
Delivered-To: root@freebsd6.clinika.local
To: root@freebsd6.clinika.local
Subject: test
Date: Wed, 28 May 2008 21:43:05 +0000 (UTC)
From: root@freebsd6.clinika.local (Charlie Root)
sueiii
& q
Saved 1 message in mbox
00:43:41
#telnet freebsd6 25
Trying 192.168.7.250...
Connected to freebsd6.clinika.local.
Escape character is '^]'.
220 freebsd6.clinika.local ESMTP Postfix (2.5.1)
HELO freebsd6
250 freebsd6.clinika.local
MAIL FROM:<sergey.cherepenin@gmail.com>
250 2.1.0 Ok
RCPT TO:<root@clinika.local>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
viagra viagra viagra viagra viagra viagra viagra viagra
.
250 2.0.0 Ok: queued as 537AA1702C
QUIT
221 2.0.0 Bye
Connection closed by foreign host.
00:43:41
#telnet freebsd6 25
Trying 192.168.7.250...
Connected to freebsd6.clinika.local.
Escape character is '^]'.
220 freebsd6.clinika.local ESMTP Postfix (2.5.1)
HELO freebsd6
250 freebsd6.clinika.local
MAIL FROM:<sergey.cherepenin@gmail.com>
250 2.1.0 Ok
RCPT TO:<root@clinika.local>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
viagra viagra viagra viagra viagra viagra viagra viagra
.
250 2.0.0 Ok: queued as 537AA1702C
QUIT
221 2.0.0 Bye
Connection closed by foreign host.
00:43:41
#telnet freebsd6 25
Trying 192.168.7.250...
Connected to freebsd6.clinika.local.
Escape character is '^]'.
220 freebsd6.clinika.local ESMTP Postfix (2.5.1)
HELO freebsd6
250 freebsd6.clinika.local
MAIL FROM:<sergey.cherepenin@gmail.com>
250 2.1.0 Ok
RCPT TO:<root@clinika.local>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
viagra viagra viagra viagra viagra viagra viagra viagra
.
250 2.0.0 Ok: queued as 537AA1702C
QUIT
221 2.0.0 Bye
Connection closed by foreign host.

Статистика

Время первой команды журнала23:50:42 2008- 5-28
Время последней команды журнала00:43:41 2008- 5-29
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %21.78
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.20
Количество командных строк в единицу времени, команда/мин 8.60
Частота использования команд
vim20|=================| 17.86%
less14|============| 12.50%
make12|==========| 10.71%
grep11|=========| 9.82%
pkg_info11|=========| 9.82%
ls8|=======| 7.14%
pkg_delete7|======| 6.25%
cd6|=====| 5.36%
cdusr/local/etc/mail/spamassassin/4|===| 3.57%
cp4|===| 3.57%
/usr/local/etc/rc.d/postfix4|===| 3.57%
telnet3|==| 2.68%
/usr/local/etc/rc.d/sa-spamd3|==| 2.68%
chown2|=| 1.79%
mail1|| 0.89%
chmod1|| 0.89%
vipw1|| 0.89%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ find / -name abc
    find: /home/devi-orig/.gnome2: Keine Berechtigung
    find: /home/devi-orig/.gnome2_private: Keine Berechtigung
    find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
    find: /home/devi-orig/.metacity: Keine Berechtigung
    find: /home/devi-orig/.inkscape: Keine Berechtigung
    ^C
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$