/l3/users/clint/postfix/freebsd6.clinika.local/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 |
|
#cd mail/p5-Mail-SpamAssassin/
|
#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. |
#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. |
#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 |
#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 |
#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 |
#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 |
#pkg_info | grep DNS
p5-Net-DNS-0.59 Perl5 interface to the DNS resolver, and dynamic updates |
#pkg_info | grep DNS
p5-Net-DNS-0.59 Perl5 interface to the DNS resolver, and dynamic updates |
#pkg_info | grep DNS
p5-Net-DNS-0.59 Perl5 interface to the DNS resolver, and dynamic updates |
#pkg_info | grep DNS
p5-Net-DNS-0.59 Perl5 interface to the DNS resolver, and dynamic updates |
#pkg_delete p5-Net-DNS-0.59
|
#pkg_delete p5-Net-DNS-0.59
|
#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. |
#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. |
#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. |
#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. |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#pkg_delete p5-Compress-Zlib-1.42
|
#pkg_delete p5-Compress-Zlib-1.42
|
#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. |
#make deinstall
===> Deinstalling for mail/p5-Mail-SpamAssassin ===> p5-Mail-SpamAssassin not installed, skipping |
#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 |
#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 |
#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 |
#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 |
#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" + |
#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" + |
#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" + |
#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" + |
#cd
|
#cd
|
#cd
|
#cd
|
#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 $? |
#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 $? |
#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 $? |
#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 $? |
#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 $? |
#chmod 755 /usr/local/bin/spamfilter.sh
|
#ls /usr/local/bin/spamfilter.sh
/usr/local/bin/spamfilter.sh |
#ls /usr/local/bin/spamfilter.sh
/usr/local/bin/spamfilter.sh |
#ls /usr/local/bin/spamfilter.sh
/usr/local/bin/spamfilter.sh |
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x 1 root wheel 80 May 28 21:37 /usr/local/bin/spamfilter.sh |
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x 1 root wheel 80 May 28 21:37 /usr/local/bin/spamfilter.sh |
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x 1 root wheel 80 May 28 21:37 /usr/local/bin/spamfilter.sh |
#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 |
#chown spamd:spamd /usr/local/bin/spamfilter.sh
|
#chown spamd:spamd /usr/local/bin/spamfilter.sh
|
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x 1 spamd spamd 80 May 28 21:37 /usr/local/bin/spamfilter.sh |
#ls -l /usr/local/bin/spamfilter.sh
-rwxr-xr-x 1 spamd spamd 80 May 28 21:37 /usr/local/bin/spamfilter.sh |
#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} |
#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} |
#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} |
#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} |
#vim /usr/local/etc/mail/spamassassin/
|
#vim /usr/local/etc/mail/spamassassin/
|
#vim /usr/local/etc/mail/spamassassin/
|
#vim /usr/local/etc/mail/spamassassin/
|
#cdusr/local/etc/mail/spamassassin/
|
#cdusr/local/etc/mail/spamassassin/
|
#cdusr/local/etc/mail/spamassassin/
|
#cdusr/local/etc/mail/spamassassin/
|
#cp local.cf.sample local.cf
|
#cp local.cf.sample local.cf
|
#cp local.cf.sample local.cf
|
#cp local.cf.sample local.cf
|
#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 |
#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 |
#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 |
#/usr/local/etc/rc.d/sa-spamd start
Starting spamd. |
#/usr/local/etc/rc.d/sa-spamd start
Starting spamd. |
#/usr/local/etc/rc.d/sa-spamd start
Starting spamd. |
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system postfix/postfix-script: starting the Postfix mail system |
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system postfix/postfix-script: starting the Postfix mail system |
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system postfix/postfix-script: starting the Postfix mail system |
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system postfix/postfix-script: starting the Postfix mail system |
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#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 |
#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. |
#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. |
#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 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008