/l3/users/clint/postfix/freebsd6.clinika.local/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 |
|
#:q!
|
#egrep -v "^#|^\ *$" master.cf
smtp inet n - n - - smtpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify ... -o smtp_fallback_relay= showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache |
#egrep -v "^#|^\ *$" master.cf
smtp inet n - n - - smtpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify ... -o smtp_fallback_relay= showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache |
#egrep -v "^#|^\ *$" master.cf
smtp inet n - n - - smtpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify ... -o smtp_fallback_relay= showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache |
#egrep -v "^#|^\ *$" master.cf
smtp inet n - n - - smtpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify ... -o smtp_fallback_relay= showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache |
#cp master.cf master.cf_distr
|
#cp master.cf master.cf_distr
|
#cp master.cf master.cf_distr
|
#cp master.cf master.cf_distr
|
#vim master.cf
--- /tmp/l3-saved-1387.13896.5909 Wed May 28 19:36:02 2008 +++ master.cf Wed May 28 19:36:31 2008 @@ -1,104 +1,20 @@ -# -# Postfix master process configuration file. For details on the format -# of the file, see the master(5) manual page (command: "man 5 master"). -# -# Do not forget to execute "postfix reload" after editing this file. -# -# ========================================================================== + +#========================================================================== # service type private unpriv chroot wakeup maxproc command + args -# (yes) (yes) (yes) (never) (100) -# ========================================================================== -smtp inet n - n - - smtpd -#submission inet n - n - - smtpd -# -o smtpd_tls_security_level=encrypt -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING -#smtps inet n - n - - smtpd -# -o smtpd_tls_wrappermode=yes -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING -#628 inet n - n - - qmqpd -pickup fifo n - n 60 1 pickup -cleanup unix n - n - 0 cleanup +# (yes) (yes) (yes) (never) (50) +# +#========================================================================== +smtp inet n - y - - smtpd +pickup fifo n n n 60 1 pickup +cleanup unix - - n - 0 cleanup qmgr fifo n - n 300 1 qmgr -#qmgr fifo n - n 300 1 oqmgr -tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce -trace unix - - n - 0 bounce -verify unix - - n - 1 verify -flush unix n - n 1000? 0 flush -proxymap unix - - n - - proxymap -proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp -# When relaying mail as backup MX, disable fallback_relay to avoid MX loops -relay unix - - n - - smtp - -o smtp_fallback_relay= -# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq -error unix - - n - - error -retry unix - - n - - error -discard unix - - n - - discard local unix - n n - - local -virtual unix - n n - - virtual -lmtp unix - - n - - lmtp -anvil unix - - n - 1 anvil -scache unix - - n - 1 scache -# -# ==================================================================== -# Interfaces to non-Postfix software. Be sure to examine the manual -# pages of the non-Postfix software to find out what options it wants. -# -# Many of the following services use the Postfix pipe(8) delivery -# agent. See the pipe(8) man page for information about ${recipient} -# and other message envelope options. -# ==================================================================== -# -# maildrop. See the Postfix MAILDROP_README file for details. -# Also specify in main.cf: maildrop_destination_recipient_limit=1 -# -#maildrop unix - n n - - pipe -# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} -# -# ==================================================================== -# -# The Cyrus deliver program has changed incompatibly, multiple times. -# -#old-cyrus unix - n n - - pipe -# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} -# -# ==================================================================== -# -# Cyrus 2.1.5 (Amos Gouaux) -# Also specify in main.cf: cyrus_destination_recipient_limit=1 -# -#cyrus unix - n n - - pipe -# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} -# -# ==================================================================== -# -# See the Postfix UUCP_README file for configuration details. -# -#uucp unix - n n - - pipe -# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) -# -# ==================================================================== -# -# Other external delivery methods. -# -#ifmail unix - n n - - pipe -# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) -# -#bsmtp unix - n n - - pipe -# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient -# -#scalemail-backend unix - n n - 2 pipe -# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store -# ${nexthop} ${user} ${extension} -# -#mailman unix - n n - - pipe -# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py -# ${nexthop} ${user} +cyrus unix - n n - - pipe + flags=R user=cyrus argv=/cyrus/bin/deliver -e -q -m ${extension} ${user} +uucp unix - n n - - pipe + flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) |
#vim master.cf
--- /tmp/l3-saved-1387.13896.5909 Wed May 28 19:36:02 2008 +++ master.cf Wed May 28 19:36:31 2008 @@ -1,104 +1,20 @@ -# -# Postfix master process configuration file. For details on the format -# of the file, see the master(5) manual page (command: "man 5 master"). -# -# Do not forget to execute "postfix reload" after editing this file. -# -# ========================================================================== + +#========================================================================== # service type private unpriv chroot wakeup maxproc command + args -# (yes) (yes) (yes) (never) (100) -# ========================================================================== -smtp inet n - n - - smtpd -#submission inet n - n - - smtpd -# -o smtpd_tls_security_level=encrypt -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING -#smtps inet n - n - - smtpd -# -o smtpd_tls_wrappermode=yes -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING -#628 inet n - n - - qmqpd -pickup fifo n - n 60 1 pickup -cleanup unix n - n - 0 cleanup +# (yes) (yes) (yes) (never) (50) +# +#========================================================================== +smtp inet n - y - - smtpd +pickup fifo n n n 60 1 pickup +cleanup unix - - n - 0 cleanup qmgr fifo n - n 300 1 qmgr -#qmgr fifo n - n 300 1 oqmgr -tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce -trace unix - - n - 0 bounce -verify unix - - n - 1 verify -flush unix n - n 1000? 0 flush -proxymap unix - - n - - proxymap -proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp -# When relaying mail as backup MX, disable fallback_relay to avoid MX loops -relay unix - - n - - smtp - -o smtp_fallback_relay= -# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq -error unix - - n - - error -retry unix - - n - - error -discard unix - - n - - discard local unix - n n - - local -virtual unix - n n - - virtual -lmtp unix - - n - - lmtp -anvil unix - - n - 1 anvil -scache unix - - n - 1 scache -# -# ==================================================================== -# Interfaces to non-Postfix software. Be sure to examine the manual -# pages of the non-Postfix software to find out what options it wants. -# -# Many of the following services use the Postfix pipe(8) delivery -# agent. See the pipe(8) man page for information about ${recipient} -# and other message envelope options. -# ==================================================================== -# -# maildrop. See the Postfix MAILDROP_README file for details. -# Also specify in main.cf: maildrop_destination_recipient_limit=1 -# -#maildrop unix - n n - - pipe -# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} -# -# ==================================================================== -# -# The Cyrus deliver program has changed incompatibly, multiple times. -# -#old-cyrus unix - n n - - pipe -# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} -# -# ==================================================================== -# -# Cyrus 2.1.5 (Amos Gouaux) -# Also specify in main.cf: cyrus_destination_recipient_limit=1 -# -#cyrus unix - n n - - pipe -# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} -# -# ==================================================================== -# -# See the Postfix UUCP_README file for configuration details. -# -#uucp unix - n n - - pipe -# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) -# -# ==================================================================== -# -# Other external delivery methods. -# -#ifmail unix - n n - - pipe -# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) -# -#bsmtp unix - n n - - pipe -# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient -# -#scalemail-backend unix - n n - 2 pipe -# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store -# ${nexthop} ${user} ${extension} -# -#mailman unix - n n - - pipe -# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py -# ${nexthop} ${user} +cyrus unix - n n - - pipe + flags=R user=cyrus argv=/cyrus/bin/deliver -e -q -m ${extension} ${user} +uucp unix - n n - - pipe + flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) |
#vim master.cf
--- /tmp/l3-saved-1387.13896.5909 Wed May 28 19:36:02 2008 +++ master.cf Wed May 28 19:36:31 2008 @@ -1,104 +1,20 @@ -# -# Postfix master process configuration file. For details on the format -# of the file, see the master(5) manual page (command: "man 5 master"). -# -# Do not forget to execute "postfix reload" after editing this file. -# -# ========================================================================== + +#========================================================================== # service type private unpriv chroot wakeup maxproc command + args -# (yes) (yes) (yes) (never) (100) -# ========================================================================== -smtp inet n - n - - smtpd -#submission inet n - n - - smtpd -# -o smtpd_tls_security_level=encrypt -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING -#smtps inet n - n - - smtpd -# -o smtpd_tls_wrappermode=yes -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING -#628 inet n - n - - qmqpd -pickup fifo n - n 60 1 pickup -cleanup unix n - n - 0 cleanup +# (yes) (yes) (yes) (never) (50) +# +#========================================================================== +smtp inet n - y - - smtpd +pickup fifo n n n 60 1 pickup +cleanup unix - - n - 0 cleanup qmgr fifo n - n 300 1 qmgr -#qmgr fifo n - n 300 1 oqmgr -tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce -trace unix - - n - 0 bounce -verify unix - - n - 1 verify -flush unix n - n 1000? 0 flush -proxymap unix - - n - - proxymap -proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp -# When relaying mail as backup MX, disable fallback_relay to avoid MX loops -relay unix - - n - - smtp - -o smtp_fallback_relay= -# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq -error unix - - n - - error -retry unix - - n - - error -discard unix - - n - - discard local unix - n n - - local -virtual unix - n n - - virtual -lmtp unix - - n - - lmtp -anvil unix - - n - 1 anvil -scache unix - - n - 1 scache -# -# ==================================================================== -# Interfaces to non-Postfix software. Be sure to examine the manual -# pages of the non-Postfix software to find out what options it wants. -# -# Many of the following services use the Postfix pipe(8) delivery -# agent. See the pipe(8) man page for information about ${recipient} -# and other message envelope options. -# ==================================================================== -# -# maildrop. See the Postfix MAILDROP_README file for details. -# Also specify in main.cf: maildrop_destination_recipient_limit=1 -# -#maildrop unix - n n - - pipe -# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} -# -# ==================================================================== -# -# The Cyrus deliver program has changed incompatibly, multiple times. -# -#old-cyrus unix - n n - - pipe -# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} -# -# ==================================================================== -# -# Cyrus 2.1.5 (Amos Gouaux) -# Also specify in main.cf: cyrus_destination_recipient_limit=1 -# -#cyrus unix - n n - - pipe -# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} -# -# ==================================================================== -# -# See the Postfix UUCP_README file for configuration details. -# -#uucp unix - n n - - pipe -# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) -# -# ==================================================================== -# -# Other external delivery methods. -# -#ifmail unix - n n - - pipe -# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) -# -#bsmtp unix - n n - - pipe -# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient -# -#scalemail-backend unix - n n - 2 pipe -# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store -# ${nexthop} ${user} ${extension} -# -#mailman unix - n n - - pipe -# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py -# ${nexthop} ${user} +cyrus unix - n n - - pipe + flags=R user=cyrus argv=/cyrus/bin/deliver -e -q -m ${extension} ${user} +uucp unix - n n - - pipe + flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) |
#vim master.cf
--- /tmp/l3-saved-1387.13896.5909 Wed May 28 19:36:02 2008 +++ master.cf Wed May 28 19:36:31 2008 @@ -1,104 +1,20 @@ -# -# Postfix master process configuration file. For details on the format -# of the file, see the master(5) manual page (command: "man 5 master"). -# -# Do not forget to execute "postfix reload" after editing this file. -# -# ========================================================================== + +#========================================================================== # service type private unpriv chroot wakeup maxproc command + args -# (yes) (yes) (yes) (never) (100) -# ========================================================================== -smtp inet n - n - - smtpd -#submission inet n - n - - smtpd -# -o smtpd_tls_security_level=encrypt -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING -#smtps inet n - n - - smtpd -# -o smtpd_tls_wrappermode=yes -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING -#628 inet n - n - - qmqpd -pickup fifo n - n 60 1 pickup -cleanup unix n - n - 0 cleanup +# (yes) (yes) (yes) (never) (50) +# +#========================================================================== +smtp inet n - y - - smtpd +pickup fifo n n n 60 1 pickup +cleanup unix - - n - 0 cleanup qmgr fifo n - n 300 1 qmgr -#qmgr fifo n - n 300 1 oqmgr -tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce -trace unix - - n - 0 bounce -verify unix - - n - 1 verify -flush unix n - n 1000? 0 flush -proxymap unix - - n - - proxymap -proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp -# When relaying mail as backup MX, disable fallback_relay to avoid MX loops -relay unix - - n - - smtp - -o smtp_fallback_relay= -# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq -error unix - - n - - error -retry unix - - n - - error -discard unix - - n - - discard local unix - n n - - local -virtual unix - n n - - virtual -lmtp unix - - n - - lmtp -anvil unix - - n - 1 anvil -scache unix - - n - 1 scache -# -# ==================================================================== -# Interfaces to non-Postfix software. Be sure to examine the manual -# pages of the non-Postfix software to find out what options it wants. -# -# Many of the following services use the Postfix pipe(8) delivery -# agent. See the pipe(8) man page for information about ${recipient} -# and other message envelope options. -# ==================================================================== -# -# maildrop. See the Postfix MAILDROP_README file for details. -# Also specify in main.cf: maildrop_destination_recipient_limit=1 -# -#maildrop unix - n n - - pipe -# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} -# -# ==================================================================== -# -# The Cyrus deliver program has changed incompatibly, multiple times. -# -#old-cyrus unix - n n - - pipe -# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} -# -# ==================================================================== -# -# Cyrus 2.1.5 (Amos Gouaux) -# Also specify in main.cf: cyrus_destination_recipient_limit=1 -# -#cyrus unix - n n - - pipe -# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} -# -# ==================================================================== -# -# See the Postfix UUCP_README file for configuration details. -# -#uucp unix - n n - - pipe -# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) -# -# ==================================================================== -# -# Other external delivery methods. -# -#ifmail unix - n n - - pipe -# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) -# -#bsmtp unix - n n - - pipe -# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient -# -#scalemail-backend unix - n n - 2 pipe -# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store -# ${nexthop} ${user} ${extension} -# -#mailman unix - n n - - pipe -# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py -# ${nexthop} ${user} +cyrus unix - n n - - pipe + flags=R user=cyrus argv=/cyrus/bin/deliver -e -q -m ${extension} ${user} +uucp unix - n n - - pipe + flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) |
#less /var/log/maillog
|
#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
|
#cd /usr/ports/mail/procmail
|
#cd /usr/ports/mail/procmail
|
#cd /usr/ports/mail/procmail
|
#cd /usr/ports/mail/procmail
|
#make all install
Starting test 3 on /tmp/_locktest Terminated Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ /* 65 moves in 64 steps of size 16384 when reallocing */ #define INEFFICIENTrealloc #define GOT_bin_test #define MAX_argc 15300 /* Your system's strstr() is 1.50 times SLOWER than my C-routine */ ... increased privileges. /usr/local/bin/procmail /usr/local/bin/lockfile If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.procmail.org/ |
#make all install
Starting test 3 on /tmp/_locktest Terminated Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ /* 65 moves in 64 steps of size 16384 when reallocing */ #define INEFFICIENTrealloc #define GOT_bin_test #define MAX_argc 15300 /* Your system's strstr() is 1.50 times SLOWER than my C-routine */ ... increased privileges. /usr/local/bin/procmail /usr/local/bin/lockfile If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.procmail.org/ |
#make all install
Starting test 3 on /tmp/_locktest Terminated Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ /* 65 moves in 64 steps of size 16384 when reallocing */ #define INEFFICIENTrealloc #define GOT_bin_test #define MAX_argc 15300 /* Your system's strstr() is 1.50 times SLOWER than my C-routine */ ... increased privileges. /usr/local/bin/procmail /usr/local/bin/lockfile If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.procmail.org/ |
#less /var/log/maillog
|
#ls
Makefile distinfo files pkg-descr pkg-plist work |
#cd -
/usr/local/etc/postfix |
#pwd
/usr/local/etc/postfix |
#ls
LICENSE canonical main.cf.default postfix-files TLS_LICENSE dist makedefs.out postfix-script access generic master.cf relocated aliases header_checks master.cf_distr transport bounce.cf.default main.cf post-install virtual |
#mv master.cf_distr master.cf
|
#mv master.cf_distr master.cf
|
#mv master.cf_distr master.cf
|
#mv master.cf_distr master.cf
|
#/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
|
#telnet freebsd6.clinika.local 25
Trying 192.168.7.250... Connected to freebsd6.clinika.local. Escape character is '^]'. 220 freebsd6.clinika.local ESMTP Postfix (2.5.1) ^]q telnet> q Connection closed. |
#telnet freebsd6.clinika.local 25
Trying 192.168.7.250... Connected to freebsd6.clinika.local. Escape character is '^]'. 220 freebsd6.clinika.local ESMTP Postfix (2.5.1) ^]q telnet> q Connection closed. |
#telnet freebsd6.clinika.local 25
Trying 192.168.7.250... Connected to freebsd6.clinika.local. Escape character is '^]'. 220 freebsd6.clinika.local ESMTP Postfix (2.5.1) ^]q telnet> q Connection closed. |
#telnet freebsd6.clinika.local 25
Trying 192.168.7.250... Connected to freebsd6.clinika.local. Escape character is '^]'. 220 freebsd6.clinika.local ESMTP Postfix (2.5.1) ^]q telnet> q Connection closed. |
#mail root
Subject: test ;sldf . EOT |
#mail root
Subject: test ;sldf . EOT |
#mail root
Subject: test ;sldf . EOT |
#mail root
Subject: test ;sldf . EOT |
#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 |
#less /var/log/maillog
|
#mail root
Subject: ds sdf . EOT |
#less /var/log/maillog
|
#vim main.cf
--- /tmp/l3-saved-1387.11307.10451 Wed May 28 19:47:19 2008 +++ main.cf Wed May 28 19:50:18 2008 @@ -81,7 +81,7 @@ # $mydomain is used as a default value for many other configuration # parameters. # -#mydomain = clinika.local +mydomain = clinika.local # SENDING MAIL # @@ -158,7 +158,7 @@ # # See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS". # -#mydestination = $myhostname, localhost.$mydomain, localhost +mydestination = $myhostname, localhost.$mydomain, localhost #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, # mail.$mydomain, www.$mydomain, ftp.$mydomain @@ -243,9 +243,9 @@ # Specify "mynetworks_style = host" when Postfix should "trust" # only the local machine. # -#mynetworks_style = class +mynetworks_style = class #mynetworks_style = subnet -mynetworks_style = host +#mynetworks_style = host # Alternatively, you can specify the mynetworks list by hand, in # which case Postfix ignores the mynetworks_style setting. @@ -290,7 +290,7 @@ # list this system as their primary or backup MX host. See the # permit_mx_backup restriction description in postconf(5). # -#relay_domains = $mydestination +relay_domains = $mydestination # INTERNET OR INTRANET |
#/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
|
#mail root
Subject: sfd fg / . EOT |
#less /var/log/maillog
|
#:q!
|
#:q!
|
#:q!
|
#:q!
|
#/usr/local/etc/rc.d/postfix restart
postfix/postfix-script: stopping the Postfix mail system postfix/postfix-script: waiting for the Postfix mail system to terminate 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: waiting for the Postfix mail system to terminate 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: waiting for the Postfix mail system to terminate 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: waiting for the Postfix mail system to terminate postfix/postfix-script: starting the Postfix mail system |
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#mail root
Subject: sdf sdf . EOT |
#mail root
Subject: sdf sdf . EOT |
#mail root
Subject: sdf sdf . EOT |
#mail root
Subject: sdf sdf . EOT |
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#less /var/log/maillog
|
#ls
LICENSE canonical main.cf.default postfix-script TLS_LICENSE dist makedefs.out relocated access generic master.cf transport aliases header_checks post-install virtual bounce.cf.default main.cf postfix-files |
#cd ..
|
#ls
pam.d postfix rc.d wgetrc wgetrc.sample |
#cd /usr/local/etc/postfix/
|
#cd /usr/ports/mail/postfix
|
#make deinstall
===> Deinstalling for mail/postfix ===> Deinstalling postfix-2.5.1_2,1 |
#make deinstall
===> Deinstalling for mail/postfix ===> Deinstalling postfix-2.5.1_2,1 |
#make deinstall
===> Deinstalling for mail/postfix ===> Deinstalling postfix-2.5.1_2,1 |
#make deinstall
===> Deinstalling for mail/postfix ===> Deinstalling postfix-2.5.1_2,1 |
Время первой команды журнала | 22:35:19 2008- 5-28 | ||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 23:16:58 2008- 5-28 | ||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 3.96 | ||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.69 | ||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.42 | ||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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