/l3/users/sbond/nt-voip-2011-06/linux8.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 |
|
#ping kiev.unix.nt
![]() PING kiev.unix.nt (192.168.107.1) 56(84) bytes of data. 64 bytes from 192.168.107.1: icmp_req=1 ttl=63 time=0.783 ms ^C64 bytes from 192.168.107.1: icmp_req=2 ttl=63 time=1.09 ms --- kiev.unix.nt ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 5003ms rtt min/avg/max/mdev = 0.783/0.936/1.090/0.156 ms |
#ping kiev.unix.nt
PING kiev.unix.nt (192.168.107.1) 56(84) bytes of data. 64 bytes from 192.168.107.1: icmp_req=1 ttl=63 time=0.783 ms ^C64 bytes from 192.168.107.1: icmp_req=2 ttl=63 time=1.09 ms --- kiev.unix.nt ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 5003ms rtt min/avg/max/mdev = 0.783/0.936/1.090/0.156 ms |
#~
![]() // // Do any local configuration here // type master; file "/etc/bind/db.lvov.unix.nt"; };ne "lvov.unix.nt" { // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; "/etc/bind/named.conf.local" 14L, 241C |
#~
// // Do any local configuration here // type master; file "/etc/bind/db.lvov.unix.nt"; };ne "lvov.unix.nt" { // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; "/etc/bind/named.conf.local" 14L, 241C |
#~
![]() 1 apt-get install locales sudo console-cyrillic screen ntpdate bash-completion 2 exit 3 cd /tmp/ 4 wget xgu.ru/lilalo/install 5 vim install 6 bash install 7 apt-get install build-essential 8 bash install 9 vim /root/.bash_profile 10 vim /root/.bashrc ... 235 ping ny.unix.nt 236 ping kiev.unix.nt 237 ping kiev.unix.nt 238 host kiev.unix.nt 239 host ny.unix.nt 240 host la.unix.nt 241 vim /etc/bind/named.conf.options 242 vim /etc/bind/named.conf.local 243 vim /etc/bind/named.conf 244 history |
#~
1 apt-get install locales sudo console-cyrillic screen ntpdate bash-completion 2 exit 3 cd /tmp/ 4 wget xgu.ru/lilalo/install 5 vim install 6 bash install 7 apt-get install build-essential 8 bash install 9 vim /root/.bash_profile 10 vim /root/.bashrc ... 235 ping ny.unix.nt 236 ping kiev.unix.nt 237 ping kiev.unix.nt 238 host kiev.unix.nt 239 host ny.unix.nt 240 host la.unix.nt 241 vim /etc/bind/named.conf.options 242 vim /etc/bind/named.conf.local 243 vim /etc/bind/named.conf 244 history |
#ls /etc/bind
![]() bind.keys db.127 db.empty db.lvov.unix.nt named.conf named.conf.local rndc.key db.0 db.255 db.local db.root named.conf.default-zones named.conf.options zones.rfc1918 |
#ls /etc/bind
bind.keys db.127 db.empty db.lvov.unix.nt named.conf named.conf.local rndc.key db.0 db.255 db.local db.root named.conf.default-zones named.conf.options zones.rfc1918 |
#pingkiev.unix.nt
![]() bash: pingkiev.unix.nt: command not found |
#ping kiev.unix.nt
![]() PING kiev.unix.nt (192.168.107.1) 56(84) bytes of data. 64 bytes from 192.168.107.1: icmp_req=1 ttl=63 time=0.660 ms ^C64 bytes from 192.168.107.1: icmp_req=2 ttl=63 time=1.05 ms --- kiev.unix.nt ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 5004ms rtt min/avg/max/mdev = 0.660/0.856/1.053/0.198 ms |
#ping kiev.unix.nt
PING kiev.unix.nt (192.168.107.1) 56(84) bytes of data. 64 bytes from 192.168.107.1: icmp_req=1 ttl=63 time=0.660 ms ^C64 bytes from 192.168.107.1: icmp_req=2 ttl=63 time=1.05 ms --- kiev.unix.nt ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 5004ms rtt min/avg/max/mdev = 0.660/0.856/1.053/0.198 ms |
#ping kiev.unix.nt
![]() PING kiev.unix.nt (192.168.107.1) 56(84) bytes of data. 64 bytes from linux7.unix.nt (192.168.107.1): icmp_req=1 ttl=63 time=1.03 ms 64 bytes from linux7.unix.nt (192.168.107.1): icmp_req=2 ttl=63 time=1.08 ms 64 bytes from linux7.unix.nt (192.168.107.1): icmp_req=3 ttl=63 time=1.01 ms ^C --- kiev.unix.nt ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 1.010/1.041/1.085/0.048 ms |
#ping kiev.unix.nt
PING kiev.unix.nt (192.168.107.1) 56(84) bytes of data. 64 bytes from linux7.unix.nt (192.168.107.1): icmp_req=1 ttl=63 time=1.03 ms 64 bytes from linux7.unix.nt (192.168.107.1): icmp_req=2 ttl=63 time=1.08 ms 64 bytes from linux7.unix.nt (192.168.107.1): icmp_req=3 ttl=63 time=1.01 ms ^C --- kiev.unix.nt ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 1.010/1.041/1.085/0.048 ms |
#ls /etc/bind/
![]() bind.keys db.127 db.empty db.lvov.unix.nt named.conf named.conf.local rndc.key db.0 db.255 db.local db.root named.conf.default-zones named.conf.options zones.rfc1918 |
#ls /etc/bind/
bind.keys db.127 db.empty db.lvov.unix.nt named.conf named.conf.local rndc.key db.0 db.255 db.local db.root named.conf.default-zones named.conf.options zones.rfc1918 |
#~
![]() // This is the primary configuration file for the BIND DNS server named. // // Please read /usr/share/doc/bind9/README.Debian.gz for information on the // structure of BIND configuration files in Debian, *BEFORE* you customize // this configuration file. // // If you are just adding zones, please do that in /etc/bind/named.conf.local include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; "/etc/bind/named.conf" 11L, 463C |
#~
// This is the primary configuration file for the BIND DNS server named. // // Please read /usr/share/doc/bind9/README.Debian.gz for information on the // structure of BIND configuration files in Debian, *BEFORE* you customize // this configuration file. // // If you are just adding zones, please do that in /etc/bind/named.conf.local include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; "/etc/bind/named.conf" 11L, 463C |
#~
![]() // // Do any local configuration here // type master; file "/etc/bind/db.lvov.unix.nt"; };ne "lvov.unix.nt" { // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; "/etc/bind/named.conf.local" 14L, 241C |
#~
// // Do any local configuration here // type master; file "/etc/bind/db.lvov.unix.nt"; };ne "lvov.unix.nt" { // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; "/etc/bind/named.conf.local" 14L, 241C |
#~
![]() @ SOA linux8.unix.nt. root 1 9600 9600 9600 9600 NS linux8.unix.nt. A 192.168.108.1 asterisk A 192.168.108.1 "/etc/bind/db.lvov.unix.nt" 6L, 121C |
#~
@ SOA linux8.unix.nt. root 1 9600 9600 9600 9600 NS linux8.unix.nt. A 192.168.108.1 asterisk A 192.168.108.1 "/etc/bind/db.lvov.unix.nt" 6L, 121C |
#~
![]() // // Do any local configuration here // type master; file "/etc/bind/db.lvov.unix.nt"; };ne "lvov.unix.nt" { // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; "/etc/bind/named.conf.local" 14L, 241C |
#~
// // Do any local configuration here // type master; file "/etc/bind/db.lvov.unix.nt"; };ne "lvov.unix.nt" { // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; "/etc/bind/named.conf.local" 14L, 241C |
#ping linux8.unix.nt
![]() PING linux8.unix.nt (192.168.15.8) 56(84) bytes of data. ^CFrom 192.168.108.253 icmp_seq=1 Destination Host Unreachable From 192.168.108.253 icmp_seq=2 Destination Host Unreachable From 192.168.108.253 icmp_seq=3 Destination Host Unreachable --- linux8.unix.nt ping statistics --- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2008ms pipe 3 |
#ping linux8.unix.nt
![]() PING linux8.unix.nt (192.168.15.8) 56(84) bytes of data. ^CFrom 192.168.108.253 icmp_seq=1 Destination Host Unreachable From 192.168.108.253 icmp_seq=2 Destination Host Unreachable From 192.168.108.253 icmp_seq=3 Destination Host Unreachable --- linux8.unix.nt ping statistics --- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2008ms pipe 3 |
#vim /etc/bind/db.l
![]() |
#vim /etc/bind/db.lvov.unix.nt
![]() |
#vim /etc/bind/db.l
![]() |
#vim /etc/bind/db.lvov.unix.nt
|
#/etc/init.d/bind9 restart
![]() Stopping domain name service...: bind9. Starting domain name service...: bind9. |
#/etc/init.d/bind9 restart
Stopping domain name service...: bind9. Starting domain name service...: bind9. |
#~
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libmysqlclient16 mysql-common sendmail-base sendmail-cf Suggested packages: sendmail-doc rmail logcheck resolvconf sasl2-bin ... Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.49-3_amd64.deb) ... Selecting previously deselected package sensible-mda. Unpacking sensible-mda (from .../sensible-mda_8.14.3-9.4_amd64.deb) ... Selecting previously deselected package sendmail. Unpacking sendmail (from .../sendmail_8.14.3-9.4_all.deb) ... Processing triggers for man-db ... Setting up mysql-common (5.1.49-3) ... Setting up libmysqlclient16 (5.1.49-3) ... Setting up sensible-mda (8.14.3-9.4) ... Setting up sendmail (8.14.3-9.4) ... |
#~
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libmysqlclient16 mysql-common sendmail-base sendmail-cf Suggested packages: sendmail-doc rmail logcheck resolvconf sasl2-bin ... Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.49-3_amd64.deb) ... Selecting previously deselected package sensible-mda. Unpacking sensible-mda (from .../sensible-mda_8.14.3-9.4_amd64.deb) ... Selecting previously deselected package sendmail. Unpacking sendmail (from .../sendmail_8.14.3-9.4_all.deb) ... Processing triggers for man-db ... Setting up mysql-common (5.1.49-3) ... Setting up libmysqlclient16 (5.1.49-3) ... Setting up sensible-mda (8.14.3-9.4) ... Setting up sendmail (8.14.3-9.4) ... |
#cd /etc/mail/
![]() |
#ls
![]() access aliases helpfile Makefile sendmail.cf sendmail.mc smrsh tls access.db aliases.db local-host-names peers sendmail.cf.errors service.switch submit.cf trusted-users address.resolve databases m4 sasl sendmail.conf service.switch-nodns submit.mc |
#ls
access aliases helpfile Makefile sendmail.cf sendmail.mc smrsh tls access.db aliases.db local-host-names peers sendmail.cf.errors service.switch submit.cf trusted-users address.resolve databases m4 sasl sendmail.conf service.switch-nodns submit.mc |
#vim access
![]() --- /tmp/l3-saved-15530.2324.8730 2011-06-21 14:07:27.000000000 +0300 +++ access 2011-06-21 14:08:50.000000000 +0300 @@ -97,10 +97,10 @@ #Connect:172.29 RELAY #Connect:172.30 RELAY #Connect:172.31 RELAY -#Connect:192.168 RELAY -#GreetPause:192.168 0 -#ClientRate:192.168 0 -#ClientConn:192.168 0 +Connect:192.168.108 RELAY +GreetPause:192.168.108 0 +ClientRate:192.168.108 0 +ClientConn:192.168.108 0 # Defaults GreetPause: 5000 ClientRate: 10 |
#vim local-host-names
![]() --- /tmp/l3-saved-15530.895.24518 2011-06-21 14:08:59.000000000 +0300 +++ local-host-names 2011-06-21 14:09:14.000000000 +0300 @@ -1,2 +1,3 @@ localhost linux8.unix.nt +lvov.unix.nt |
#vim access
![]() |
#vim sendmail.mc
![]() --- /tmp/l3-saved-15530.14916.28116 2011-06-21 14:11:30.000000000 +0300 +++ sendmail.mc 2011-06-21 14:15:11.000000000 +0300 @@ -88,6 +88,11 @@ FEATURE(`conncontrol', `nodelay', `terminate')dnl FEATURE(`ratecontrol', `nodelay', `terminate')dnl dnl # +dnl # Masquerading options +FEATURE(`always_add_domain')dnl +MASQUERADE_AS(`lvov.unix.nt')dnl +FEATURE(`allmasquerade')dnl +FEATURE(`masquerade_envelope')dnl dnl # If you're on a dialup link, you should enable this - so sendmail dnl # will not bring up the link (it will queue mail for later) dnl define(`confCON_EXPENSIVE',`True')dnl @@ -102,8 +107,3 @@ MAILER(`local')dnl MAILER(`smtp')dnl -dnl # Masquerading options -FEATURE(`always_add_domain')dnl -MASQUERADE_AS(`linux8.unix.nt')dnl -FEATURE(`allmasquerade')dnl -FEATURE(`masquerade_envelope')dnl |
#mak
![]() make makeacm makeinfo makemap make-ssl-cert mako-render |
#make
![]() Updating databases ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/databases... Updating auth ... sasl2-bin not installed, not configuring sendmail support. To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth" Creating /etc/mail/relay-domains # Optional file... Updating Makefile ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/Makefile... Updating sendmail.cf ... Updating access_db ... The following file(s) have changed: /etc/mail/sendmail.cf /etc/mail/local-host-names ** ** You should issue `/etc/init.d/sendmail reload` ** ** |
#mak
![]() make makeacm makeinfo makemap make-ssl-cert mako-render |
#make
Updating databases ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/databases... Updating auth ... sasl2-bin not installed, not configuring sendmail support. To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth" Creating /etc/mail/relay-domains # Optional file... Updating Makefile ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/Makefile... Updating sendmail.cf ... Updating access_db ... The following file(s) have changed: /etc/mail/sendmail.cf /etc/mail/local-host-names ** ** You should issue `/etc/init.d/sendmail reload` ** ** |
#/etc/init.d/sendmail restart
![]() Restarting Mail Transport Agent (MTA): sendmail. |
#ps aux | grep send
![]() root 22009 0.0 0.0 75000 2212 ? Ss 14:15 0:00 sendmail: MTA: accepting connections root 22035 0.0 0.0 10056 856 pts/17 S+ 14:16 0:00 grep send |
#ps aux | grep send
root 22009 0.0 0.0 75000 2212 ? Ss 14:15 0:00 sendmail: MTA: accepting connections root 22035 0.0 0.0 10056 856 pts/17 S+ 14:16 0:00 grep send |
#su - user
![]() l3-agent is already running: pid=13694; pidfile=/home/user/.lilalo/l3-agent.pid user@linux8:~$ echo test | mail user user@linux8:~$ mail Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/user": 1 message 1 new >N 1 user@lvov.unix.nt Tue Jun 21 14:17 15/561 & Message 1: From user@lvov.unix.nt Tue Jun 21 14:17:10 2011 Date: Tue, 21 Jun 2011 14:17:10 +0300 ... 18 Jun 21 user ( 0K) 19 Jun 21 user ( 8) ÑеÑÑ ÑÑÑÑкий 20 kept, 0 deleted. You have mail in /var/mail/user user@linux8:~$ apt-get install qpopper E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? user@linux8:~$ su - Password: l3-agent is already running: pid=8475; pidfile=/root/.lilalo/l3-agent.pid |
#su - user
l3-agent is already running: pid=13694; pidfile=/home/user/.lilalo/l3-agent.pid user@linux8:~$ echo test | mail user user@linux8:~$ mail Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/user": 1 message 1 new >N 1 user@lvov.unix.nt Tue Jun 21 14:17 15/561 & Message 1: From user@lvov.unix.nt Tue Jun 21 14:17:10 2011 Date: Tue, 21 Jun 2011 14:17:10 +0300 ... 18 Jun 21 user ( 0K) 19 Jun 21 user ( 8) ÑеÑÑ ÑÑÑÑкий 20 kept, 0 deleted. You have mail in /var/mail/user user@linux8:~$ apt-get install qpopper E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? user@linux8:~$ su - Password: l3-agent is already running: pid=8475; pidfile=/root/.lilalo/l3-agent.pid |
#vim /etc/ma
![]() |
#vim /etc/ma
![]() |
#vim /etc/mail/sendmail.mc
![]() |
#vim /etc/mail/sendmail.mc
![]() --- /tmp/l3-saved-14000.21473.127 2011-06-21 14:21:31.000000000 +0300 +++ /etc/mail/sendmail.mc 2011-06-21 14:21:56.000000000 +0300 @@ -54,7 +54,7 @@ dnl # FEATURE(`no_default_msa')dnl dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl -DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl +DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=0.0.0.0')dnl dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, M=Ea, Addr=::1')dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, M=Ea, Addr=127.0.0.1')dnl dnl # |
#netstat -lnp | grep :25
![]() tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 22319/sendmail: MTA |
#tail -n 20 /var/log/mail.log
![]() Jun 21 14:19:24 linux8 sm-mta[22104]: p5LBJOIX022104: from=<user@linux8.unix.nt>, size=315, class=0, nrcpts=1, msgid=<201106211119.p5LBJOnr022103@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:19:24 linux8 sendmail[22103]: p5LBJOnr022103: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30039, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBJOIX022104 Message accepted for delivery) Jun 21 14:19:24 linux8 sm-mta[22106]: p5LBJOIX022104: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120315, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:22:08 linux8 sm-mta[22319]: starting daemon (8.14.3): SMTP+queueing@00:10:00 Jun 21 14:22:08 linux8 sm-mta[22321]: p5LBJBAh022098: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:02:57, xdelay=00:00:00, mailer=esmtp, pri=210304, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:22:08 linux8 sm-mta[22321]: p5LBJOIX022104: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:02:44, xdelay=00:00:00, mailer=esmtp, pri=210315, relay=linux7.unix.nt., dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:24:23 linux8 sendmail[22361]: p5LBON4x022361: from=user, size=29, class=0, nrcpts=1, msgid=<201106211124.p5LBON4x022361@linux8.unix.nt>, relay=user@localhost Jun 21 14:24:24 linux8 sm-mta[22363]: p5LBONdp022363: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211124.p5LBON4x022361@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:24:24 linux8 sendmail[22361]: p5LBON4x022361: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBONdp022363 Message accepted for delivery) Jun 21 14:24:24 linux8 sm-mta[22365]: p5LBONdp022363: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:24:44 linux8 sm-mta[22366]: p5LBOh9d022366: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211124.p5LBOjLk016392@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:24:44 linux8 sm-mta[22367]: p5LBOh9d022366: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: from=user, size=29, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, relay=user@localhost Jun 21 14:25:06 linux8 sm-mta[22381]: p5LBP6nU022381: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBP6nU022381 Message accepted for delivery) Jun 21 14:25:06 linux8 sm-mta[22383]: p5LBP6nU022381: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoJ022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211119.p5LBJMrG016106@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22394]: p5LBPtoJ022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoL022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211120.p5LBKkok016133@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22396]: p5LBPtoL022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent |
#tail -n 20 /var/log/mail.log
Jun 21 14:19:24 linux8 sm-mta[22104]: p5LBJOIX022104: from=<user@linux8.unix.nt>, size=315, class=0, nrcpts=1, msgid=<201106211119.p5LBJOnr022103@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:19:24 linux8 sendmail[22103]: p5LBJOnr022103: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30039, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBJOIX022104 Message accepted for delivery) Jun 21 14:19:24 linux8 sm-mta[22106]: p5LBJOIX022104: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120315, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:22:08 linux8 sm-mta[22319]: starting daemon (8.14.3): SMTP+queueing@00:10:00 Jun 21 14:22:08 linux8 sm-mta[22321]: p5LBJBAh022098: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:02:57, xdelay=00:00:00, mailer=esmtp, pri=210304, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:22:08 linux8 sm-mta[22321]: p5LBJOIX022104: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:02:44, xdelay=00:00:00, mailer=esmtp, pri=210315, relay=linux7.unix.nt., dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:24:23 linux8 sendmail[22361]: p5LBON4x022361: from=user, size=29, class=0, nrcpts=1, msgid=<201106211124.p5LBON4x022361@linux8.unix.nt>, relay=user@localhost Jun 21 14:24:24 linux8 sm-mta[22363]: p5LBONdp022363: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211124.p5LBON4x022361@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:24:24 linux8 sendmail[22361]: p5LBON4x022361: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBONdp022363 Message accepted for delivery) Jun 21 14:24:24 linux8 sm-mta[22365]: p5LBONdp022363: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:24:44 linux8 sm-mta[22366]: p5LBOh9d022366: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211124.p5LBOjLk016392@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:24:44 linux8 sm-mta[22367]: p5LBOh9d022366: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: from=user, size=29, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, relay=user@localhost Jun 21 14:25:06 linux8 sm-mta[22381]: p5LBP6nU022381: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBP6nU022381 Message accepted for delivery) Jun 21 14:25:06 linux8 sm-mta[22383]: p5LBP6nU022381: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoJ022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211119.p5LBJMrG016106@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22394]: p5LBPtoJ022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoL022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211120.p5LBKkok016133@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22396]: p5LBPtoL022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent |
#tail -n 20 /var/log/mail.log
![]() Jun 21 14:24:23 linux8 sendmail[22361]: p5LBON4x022361: from=user, size=29, class=0, nrcpts=1, msgid=<201106211124.p5LBON4x022361@linux8.unix.nt>, relay=user@localhost Jun 21 14:24:24 linux8 sm-mta[22363]: p5LBONdp022363: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211124.p5LBON4x022361@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:24:24 linux8 sendmail[22361]: p5LBON4x022361: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBONdp022363 Message accepted for delivery) Jun 21 14:24:24 linux8 sm-mta[22365]: p5LBONdp022363: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:24:44 linux8 sm-mta[22366]: p5LBOh9d022366: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211124.p5LBOjLk016392@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:24:44 linux8 sm-mta[22367]: p5LBOh9d022366: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: from=user, size=29, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, relay=user@localhost Jun 21 14:25:06 linux8 sm-mta[22381]: p5LBP6nU022381: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBP6nU022381 Message accepted for delivery) Jun 21 14:25:06 linux8 sm-mta[22383]: p5LBP6nU022381: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoJ022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211119.p5LBJMrG016106@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22394]: p5LBPtoJ022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoL022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211120.p5LBKkok016133@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22396]: p5LBPtoL022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:28:09 linux8 sm-mta[22432]: p5LBS8pv022432: from=<user@la.unix.nt>, size=528, class=0, nrcpts=1, msgid=<201106211128.p5LBSAE1006311@linux6.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux6.unix.nt [192.168.106.1] Jun 21 14:28:09 linux8 sm-mta[22433]: p5LBS8pv022432: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30734, dsn=2.0.0, stat=Sent Jun 21 14:28:38 linux8 sendmail[22437]: p5LBScLc022437: from=user, size=29, class=0, nrcpts=1, msgid=<201106211128.p5LBScLc022437@linux8.unix.nt>, relay=user@localhost Jun 21 14:28:38 linux8 sm-mta[22438]: p5LBSc4s022438: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211128.p5LBScLc022437@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:28:38 linux8 sendmail[22437]: p5LBScLc022437: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBSc4s022438 Message accepted for delivery) Jun 21 14:28:39 linux8 sm-mta[22440]: p5LBSc4s022438: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=2.0.0, stat=Sent (p5LBSevW016704 Message accepted for delivery) |
#tail -n 20 /var/log/mail.log
Jun 21 14:24:23 linux8 sendmail[22361]: p5LBON4x022361: from=user, size=29, class=0, nrcpts=1, msgid=<201106211124.p5LBON4x022361@linux8.unix.nt>, relay=user@localhost Jun 21 14:24:24 linux8 sm-mta[22363]: p5LBONdp022363: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211124.p5LBON4x022361@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:24:24 linux8 sendmail[22361]: p5LBON4x022361: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBONdp022363 Message accepted for delivery) Jun 21 14:24:24 linux8 sm-mta[22365]: p5LBONdp022363: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:24:44 linux8 sm-mta[22366]: p5LBOh9d022366: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211124.p5LBOjLk016392@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:24:44 linux8 sm-mta[22367]: p5LBOh9d022366: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: from=user, size=29, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, relay=user@localhost Jun 21 14:25:06 linux8 sm-mta[22381]: p5LBP6nU022381: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBP6nU022381 Message accepted for delivery) Jun 21 14:25:06 linux8 sm-mta[22383]: p5LBP6nU022381: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoJ022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211119.p5LBJMrG016106@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22394]: p5LBPtoJ022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoL022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211120.p5LBKkok016133@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22396]: p5LBPtoL022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:28:09 linux8 sm-mta[22432]: p5LBS8pv022432: from=<user@la.unix.nt>, size=528, class=0, nrcpts=1, msgid=<201106211128.p5LBSAE1006311@linux6.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux6.unix.nt [192.168.106.1] Jun 21 14:28:09 linux8 sm-mta[22433]: p5LBS8pv022432: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30734, dsn=2.0.0, stat=Sent Jun 21 14:28:38 linux8 sendmail[22437]: p5LBScLc022437: from=user, size=29, class=0, nrcpts=1, msgid=<201106211128.p5LBScLc022437@linux8.unix.nt>, relay=user@localhost Jun 21 14:28:38 linux8 sm-mta[22438]: p5LBSc4s022438: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211128.p5LBScLc022437@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:28:38 linux8 sendmail[22437]: p5LBScLc022437: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBSc4s022438 Message accepted for delivery) Jun 21 14:28:39 linux8 sm-mta[22440]: p5LBSc4s022438: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=2.0.0, stat=Sent (p5LBSevW016704 Message accepted for delivery) |
#tail -n 20 /var/log/mail.log
![]() Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: from=user, size=29, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, relay=user@localhost Jun 21 14:25:06 linux8 sm-mta[22381]: p5LBP6nU022381: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBP6nU022381 Message accepted for delivery) Jun 21 14:25:06 linux8 sm-mta[22383]: p5LBP6nU022381: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoJ022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211119.p5LBJMrG016106@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22394]: p5LBPtoJ022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoL022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211120.p5LBKkok016133@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22396]: p5LBPtoL022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:28:09 linux8 sm-mta[22432]: p5LBS8pv022432: from=<user@la.unix.nt>, size=528, class=0, nrcpts=1, msgid=<201106211128.p5LBSAE1006311@linux6.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux6.unix.nt [192.168.106.1] Jun 21 14:28:09 linux8 sm-mta[22433]: p5LBS8pv022432: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30734, dsn=2.0.0, stat=Sent Jun 21 14:28:38 linux8 sendmail[22437]: p5LBScLc022437: from=user, size=29, class=0, nrcpts=1, msgid=<201106211128.p5LBScLc022437@linux8.unix.nt>, relay=user@localhost Jun 21 14:28:38 linux8 sm-mta[22438]: p5LBSc4s022438: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211128.p5LBScLc022437@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:28:38 linux8 sendmail[22437]: p5LBScLc022437: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBSc4s022438 Message accepted for delivery) Jun 21 14:28:39 linux8 sm-mta[22440]: p5LBSc4s022438: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=2.0.0, stat=Sent (p5LBSevW016704 Message accepted for delivery) Jun 21 14:29:06 linux8 sm-mta[22457]: p5LBT53C022457: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211129.p5LBT6YH016736@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:29:06 linux8 sm-mta[22458]: p5LBT53C022457: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:29:25 linux8 sendmail[22467]: p5LBTPdh022467: from=user, size=27, class=0, nrcpts=1, msgid=<201106211129.p5LBTPdh022467@linux8.unix.nt>, relay=user@localhost Jun 21 14:29:25 linux8 sm-mta[22468]: p5LBTP4t022468: from=<user@linux8.unix.nt>, size=301, class=0, nrcpts=1, msgid=<201106211129.p5LBTPdh022467@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:29:25 linux8 sendmail[22467]: p5LBTPdh022467: to=user@la.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30027, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBTP4t022468 Message accepted for delivery) Jun 21 14:29:26 linux8 sm-mta[22470]: p5LBTP4t022468: to=<user@la.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120301, relay=linux6.unix.nt. [192.168.106.1], dsn=2.0.0, stat=Sent (p5LBTRUT006352 Message accepted for delivery) |
#tail -n 20 /var/log/mail.log
Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: from=user, size=29, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, relay=user@localhost Jun 21 14:25:06 linux8 sm-mta[22381]: p5LBP6nU022381: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211125.p5LBP6TE022380@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:25:06 linux8 sendmail[22380]: p5LBP6TE022380: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBP6nU022381 Message accepted for delivery) Jun 21 14:25:06 linux8 sm-mta[22383]: p5LBP6nU022381: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=4.0.0, stat=Deferred: Connection refused by linux7.unix.nt. Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoJ022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211119.p5LBJMrG016106@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22394]: p5LBPtoJ022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:25:56 linux8 sm-mta[22393]: p5LBPtoL022393: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211120.p5LBKkok016133@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:25:56 linux8 sm-mta[22396]: p5LBPtoL022393: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:28:09 linux8 sm-mta[22432]: p5LBS8pv022432: from=<user@la.unix.nt>, size=528, class=0, nrcpts=1, msgid=<201106211128.p5LBSAE1006311@linux6.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux6.unix.nt [192.168.106.1] Jun 21 14:28:09 linux8 sm-mta[22433]: p5LBS8pv022432: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30734, dsn=2.0.0, stat=Sent Jun 21 14:28:38 linux8 sendmail[22437]: p5LBScLc022437: from=user, size=29, class=0, nrcpts=1, msgid=<201106211128.p5LBScLc022437@linux8.unix.nt>, relay=user@localhost Jun 21 14:28:38 linux8 sm-mta[22438]: p5LBSc4s022438: from=<user@linux8.unix.nt>, size=305, class=0, nrcpts=1, msgid=<201106211128.p5LBScLc022437@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:28:38 linux8 sendmail[22437]: p5LBScLc022437: to=user@kiev.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBSc4s022438 Message accepted for delivery) Jun 21 14:28:39 linux8 sm-mta[22440]: p5LBSc4s022438: to=<user@kiev.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120305, relay=linux7.unix.nt. [192.168.107.1], dsn=2.0.0, stat=Sent (p5LBSevW016704 Message accepted for delivery) Jun 21 14:29:06 linux8 sm-mta[22457]: p5LBT53C022457: from=<user@kiev.unix.nt>, size=489, class=0, nrcpts=1, msgid=<201106211129.p5LBT6YH016736@linux7.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=linux7.unix.nt [192.168.107.1] Jun 21 14:29:06 linux8 sm-mta[22458]: p5LBT53C022457: to=<user@lvov.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30695, dsn=2.0.0, stat=Sent Jun 21 14:29:25 linux8 sendmail[22467]: p5LBTPdh022467: from=user, size=27, class=0, nrcpts=1, msgid=<201106211129.p5LBTPdh022467@linux8.unix.nt>, relay=user@localhost Jun 21 14:29:25 linux8 sm-mta[22468]: p5LBTP4t022468: from=<user@linux8.unix.nt>, size=301, class=0, nrcpts=1, msgid=<201106211129.p5LBTPdh022467@linux8.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jun 21 14:29:25 linux8 sendmail[22467]: p5LBTPdh022467: to=user@la.unix.nt, ctladdr=user (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30027, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p5LBTP4t022468 Message accepted for delivery) Jun 21 14:29:26 linux8 sm-mta[22470]: p5LBTP4t022468: to=<user@la.unix.nt>, ctladdr=<user@linux8.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120301, relay=linux6.unix.nt. [192.168.106.1], dsn=2.0.0, stat=Sent (p5LBTRUT006352 Message accepted for delivery) |
#for i in msk spb paris ny la odessa lvov lyon; do echo test from LVIV | mail user@$i.unix.nt;
![]() > exit > ^C |
#for i in msk spb paris ny la odessa lvov lyon; do echo test from LVIV | mail user@$i.unix.nt;
![]() > exit > ^C |
#for i in msk spb paris ny la odessa lvov lyon; do echo test from LVIV | mail user@$i.unix.nt; done
|
Время первой команды журнала | 11:49:21 2011- 6-21 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 13:40:26 2011- 6-21 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 3.96 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.98 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.74 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.29 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются брау