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

Содержание

Журнал

Четверг (09/13/07)

/dev/ttypa
15:55:38
#host
host         hostapd      hostapd_cli  hostname     hoststat
15:55:38
#pwd
/etc/mail
15:55:48
#cd

15:55:49
#cd -
/etc/mail
15:55:51
#ls
Makefile                        host1.taras.unix.nt.cf
README                          host1.taras.unix.nt.mc
access.sample                   host1.taras.unix.nt.submit.cf
aliases                         host1.taras.unix.nt.submit.mc
aliases.db                      local-host-names
freebsd.cf                      mailer.conf
freebsd.mc                      mailertable.sample
freebsd.submit.cf               sendmail.cf
freebsd.submit.mc               submit.cf
helpfile                        virtusertable.sample
15:55:52
#cp host1.taras.unix.nt.cf sendmail.cf

15:56:13
#/etc/rc.d/sendmail restart
Stopping sendmail.
Starting sendmail.
15:56:24
#sockstat -4l | grep :25
root     sendmail   7540  4  tcp4   *:25                  *:*
15:56:32
#echo TEST | mail root@taras.unix.nt -s TEST
13:21:31.879226 IP 192.168.15.22.54178 > 192.168.15.180.53:  33752+ [1au] A? mail.google.com. (44)
13:21:32.026039 IP 192.168.15.180.53 > 192.168.15.22.54178:  33752 3/7/1 CNAME[|domain]
13:21:32.030484 IP 192.168.15.22.54178 > 192.168.15.180.53:  8379+ [1au] AAAA? mail.google.com. (44)
13:21:32.313733 IP 192.168.15.180.53 > 192.168.15.22.54178:  8379 1/1/1 CNAME[|domain]
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
...
13:37:59.113942 IP 192.168.15.22.54178 > 192.168.15.180.53:  6461+% [1au] AAAA? ns0.sputnikmedia.net. (49)
13:37:59.114939 IP 192.168.15.22.54178 > 192.168.15.180.53:  62333+% [1au] A? ns1.sputnikmedia.net. (49)
13:37:59.115877 IP 192.168.15.22.54178 > 192.168.15.180.53:  42500+% [1au] AAAA? ns1.sputnikmedia.net. (49)
13:37:59.116991 IP 192.168.15.22.54178 > 192.168.15.180.53:  10745+% [1au] A? ns3.sputnikmedia.net. (49)
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
15:57:06
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 6 messages 2 new 6 unread
 U  1 root@fbsd3.unix.nt    Sun Sep  9 03:02  40/987   "fbsd3.unix.nt securit"
 U  2 root@fbsd3.unix.nt    Sun Sep  9 03:02  75/2489  "fbsd3.unix.nt daily r"
 U  3 root@fbsd3.unix.nt    Thu Sep 13 03:02  46/1419  "fbsd3.unix.nt securit"
 U  4 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
>N  5 root@host1.taras.uni  Thu Sep 13 15:57  17/649
 N  6 MAILER-DAEMON@host1.  Thu Sep 13 15:57  68/2288  "Returned mail: see tr"
& 6
& q
...
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--l8DCv6ig007559.1189688226/host1.taras.unix.nt
The original message was received at Thu, 13 Sep 2007 15:57:06 +0300 (EEST)
from root@localhost
   ----- The following addresses had permanent fatal errors -----
TEST
    (reason: 550 5.1.1 <TEST@host1.taras.unix.nt>... User unknown)
    (expanded from: TEST)
15:57:37
#echo TEST | mail -s

15:58:01
#mail -h
mail: illegal option -- h
Usage: mail [-dEiInv] [-s subject] [-c cc-addr] [-b bcc-addr] [-F] to-addr ...
            [-sendmail-option ...]
       mail [-dEHiInNv] [-F] -f [name]
       mail [-dEHiInNv] [-F] [-u user]
       mail [-d] -e [-f name]
15:58:03
#echo TEST | mail root@taras.unix.nt
You have mail in /var/mail/root
15:58:19
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 6 messages 1 new 6 unread
 U  1 root@fbsd3.unix.nt    Sun Sep  9 03:02  40/987   "fbsd3.unix.nt securit"
 U  2 root@fbsd3.unix.nt    Sun Sep  9 03:02  75/2489  "fbsd3.unix.nt daily r"
 U  3 root@fbsd3.unix.nt    Thu Sep 13 03:02  46/1419  "fbsd3.unix.nt securit"
 U  4 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
 U  5 root@host1.taras.uni  Thu Sep 13 15:57  18/659
>N  6 root@host1.taras.uni  Thu Sep 13 15:58  17/697
&
Message 6:
From root@host1.taras.unix.nt Thu Sep 13 15:58:19 2007
Date: Thu, 13 Sep 2007 15:58:19 +0300 (EEST)
From: Charlie Root <root@host1.taras.unix.nt>
To: root@taras.unix.nt
TEST
& q
Saved 1 message in mbox
Held 5 messages in /var/mail/root
15:58:27
#echo TEST | mail -s TEST_SUBJ root@taras.unix.nt

15:58:44
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 6 messages 1 new 6 unread
 U  1 root@fbsd3.unix.nt    Sun Sep  9 03:02  40/987   "fbsd3.unix.nt securit"
 U  2 root@fbsd3.unix.nt    Sun Sep  9 03:02  75/2489  "fbsd3.unix.nt daily r"
 U  3 root@fbsd3.unix.nt    Thu Sep 13 03:02  46/1419  "fbsd3.unix.nt securit"
 U  4 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
 U  5 root@host1.taras.uni  Thu Sep 13 15:57  18/659
>N  6 root@host1.taras.uni  Thu Sep 13 15:58  18/716   "TEST_SUBJ"
&
Message 6:
From root@host1.taras.unix.nt Thu Sep 13 15:58:42 2007
Date: Thu, 13 Sep 2007 15:58:42 +0300 (EEST)
From: Charlie Root <root@host1.taras.unix.nt>
To: root@taras.unix.nt
Subject: TEST_SUBJ
TEST
& q
Saved 1 message in mbox
Held 5 messages in /var/mail/root
15:58:54
#mail root@taras.unix.nt
Subject: TEST FROM ANDREY
TEST!
.
EOT
16:03:25
#mail root@avetik.unix.nt
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
...
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Subject: TEST from Taras
echo request!
.
EOT
16:03:25
#mail root@avetik.unix.nt
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
...
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Subject: TEST from Taras
echo request!
.
EOT
/dev/ttypd
16:03:42
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 6 messages 1 new 6 unread
 U  1 root@fbsd3.unix.nt    Sun Sep  9 03:02  40/987   "fbsd3.unix.nt securit"
 U  2 root@fbsd3.unix.nt    Sun Sep  9 03:02  75/2489  "fbsd3.unix.nt daily r"
 U  3 root@fbsd3.unix.nt    Thu Sep 13 03:02  46/1419  "fbsd3.unix.nt securit"
 U  4 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
 U  5 root@host1.taras.uni  Thu Sep 13 15:57  18/659
>N  6 root@host1.taras.uni  Thu Sep 13 16:03  18/724   "TEST FROM ANDREY"
& 6
Message 6:
From root@host1.taras.unix.nt Thu Sep 13 16:03:14 2007
Date: Thu, 13 Sep 2007 16:03:13 +0300 (EEST)
From: Charlie Root <root@host1.taras.unix.nt>
To: root@taras.unix.nt
Subject: TEST FROM ANDREY
TEST!
& q
Saved 1 message in mbox
Held 5 messages in /var/mail/root
16:04:03
#ls mbox
mbox
16:04:12
#less mbox
/dev/ttypa
16:05:33
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 6 messages 1 new 6 unread
 U  1 root@fbsd3.unix.nt    Sun Sep  9 03:02  40/987   "fbsd3.unix.nt securit"
 U  2 root@fbsd3.unix.nt    Sun Sep  9 03:02  75/2489  "fbsd3.unix.nt daily r"
 U  3 root@fbsd3.unix.nt    Thu Sep 13 03:02  46/1419  "fbsd3.unix.nt securit"
 U  4 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
 U  5 root@host1.taras.uni  Thu Sep 13 15:57  18/659
>N  6 MAILER-DAEMON         Thu Sep 13 16:05  65/2281  "Returned mail: see tr"
&
& 5
...
& q       tted: auto-generated (failure)
Saved 2 messages in mbox
Held 4 messages in /var/mail/rootge
--l8DD5YoZ007833.1189688734/host1.taras.unix.nt
The original message was received at Thu, 13 Sep 2007 16:05:33 +0300 (EEST)
from localhost [127.0.0.1]
   ----- The following addresses had permanent fatal errors -----
<root@avetik.unix.nt>
   ----- Transcript of session follows -----
550 5.1.2 <root@avetik.unix.nt>... Host unknown (Name server: avetik.unix.nt: no
16:07:19
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 4 messages 4 unread
>U  1 root@fbsd3.unix.nt    Sun Sep  9 03:02  40/987   "fbsd3.unix.nt securit"
 U  2 root@fbsd3.unix.nt    Sun Sep  9 03:02  75/2489  "fbsd3.unix.nt daily r"
 U  3 root@fbsd3.unix.nt    Thu Sep 13 03:02  46/1419  "fbsd3.unix.nt securit"
 U  4 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
& 1
& !
!rom root@fbsd3.unix.nt Thu Sep 13 03:02:22 2007
& qe: Thu, 13 Sep 2007 03:02:21 +0300 (EEST)
...
@@ -4,3 +4,4 @@
 /dev/ad2s2e    /tmp    ufs rw  2 2
 /dev/ad2s2g    /usr    ufs rw  2 2
 /dev/ad2s2d    /var    ufs rw  2 2
+devfs  /var/named/dev  devfs rw        0 0
Verifying group file syntax:counts:
Checking for uids of 0:
root 0r/log/pf.today
toor 0g up mail aliases:
no /var/backups/aliases.bak
16:07:19
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 4 messages 4 unread
>U  1 root@fbsd3.unix.nt    Sun Sep  9 03:02  40/987   "fbsd3.unix.nt securit"
 U  2 root@fbsd3.unix.nt    Sun Sep  9 03:02  75/2489  "fbsd3.unix.nt daily r"
 U  3 root@fbsd3.unix.nt    Thu Sep 13 03:02  46/1419  "fbsd3.unix.nt securit"
 U  4 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
& 1
& !
!rom root@fbsd3.unix.nt Thu Sep 13 03:02:22 2007
& qe: Thu, 13 Sep 2007 03:02:21 +0300 (EEST)
...
@@ -4,3 +4,4 @@
 /dev/ad2s2e    /tmp    ufs rw  2 2
 /dev/ad2s2g    /usr    ufs rw  2 2
 /dev/ad2s2d    /var    ufs rw  2 2
+devfs  /var/named/dev  devfs rw        0 0
Verifying group file syntax:counts:
Checking for uids of 0:
root 0r/log/pf.today
toor 0g up mail aliases:
no /var/backups/aliases.bak
16:08:10
#mail root@avetik.unix.nt
Subject: test
taras
.
EOT
16:08:10
#mail root@avetik.unix.nt
Subject: test
taras
.
EOT
16:08:10
#mail root@avetik.unix.nt
Subject: test
taras
.
EOT
16:09:41
#less /var/log/maillog
16:09:41
#less /var/log/maillog
16:10:04
#vim /etc/namedb/db.taras.unix.nt
16:10:04
#vim /etc/namedb/db.taras.unix.nt
16:10:04
#vim /etc/namedb/db.taras.unix.nt
16:11:00
#mail
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
13:25:18.864845 IP 192.168.15.22.54178 > 192.168.15.180.53:  44172+ [1au] A? mail.google.com. (44)
...
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 2 messages 1 new 2 unread
 U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
>N  2 MAILER-DAEMON         Thu Sep 13 16:09  65/2262  "Returned mail: see tr"
&
16:11:00
#mail
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
13:25:18.864845 IP 192.168.15.22.54178 > 192.168.15.180.53:  44172+ [1au] A? mail.google.com. (44)
...
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 2 messages 1 new 2 unread
 U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
>N  2 MAILER-DAEMON         Thu Sep 13 16:09  65/2262  "Returned mail: see tr"
&
16:11:00
#mail
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
13:25:18.864845 IP 192.168.15.22.54178 > 192.168.15.180.53:  44172+ [1au] A? mail.google.com. (44)
...
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 2 messages 1 new 2 unread
 U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
>N  2 MAILER-DAEMON         Thu Sep 13 16:09  65/2262  "Returned mail: see tr"
&
16:12:17
#mail root@avetik.unix.nt
Subject: test2
d
.
EOT
16:12:17
#mail root@avetik.unix.nt
Subject: test2
d
.
EOT
16:12:17
#mail root@avetik.unix.nt
Subject: test2
d
.
EOT
16:12:27
#less /var/log/maillog
16:12:27
#less /var/log/maillog
16:12:27
#less /var/log/maillog
16:13:28
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 2 messages 1 new 2 unread
 U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
>N  2 MAILER-DAEMON         Thu Sep 13 16:12  65/2259  "Returned mail: see tr"
&
& q
Saved 1 message in mboxSep 13 16:12:27 2007
Held 1 message in /var/mail/root+0300 (EEST)
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: <root@host1.taras.unix.nt>
...
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--l8DDCRr9007930.1189689147/host1.taras.unix.nt
The original message was received at Thu, 13 Sep 2007 16:12:27 +0300 (EEST)
from localhost [127.0.0.1]
   ----- The following addresses had permanent fatal errors -----
<root@avetik.unix.nt>
   ----- Transcript of session follows -----
550 5.1.2 <root@avetik.unix.nt>... Host unknown (Name server: avetik.unix.nt: no
16:13:28
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 2 messages 1 new 2 unread
 U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
>N  2 MAILER-DAEMON         Thu Sep 13 16:12  65/2259  "Returned mail: see tr"
&
& q
Saved 1 message in mboxSep 13 16:12:27 2007
Held 1 message in /var/mail/root+0300 (EEST)
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: <root@host1.taras.unix.nt>
...
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--l8DDCRr9007930.1189689147/host1.taras.unix.nt
The original message was received at Thu, 13 Sep 2007 16:12:27 +0300 (EEST)
from localhost [127.0.0.1]
   ----- The following addresses had permanent fatal errors -----
<root@avetik.unix.nt>
   ----- Transcript of session follows -----
550 5.1.2 <root@avetik.unix.nt>... Host unknown (Name server: avetik.unix.nt: no
16:13:44
#dig avetik.unix.nt ns
13:25:19.004229 IP 192.168.15.180.53 > 192.168.15.22.54178:  44316 0/1/1 (100)
13:25:26.186486 IP 192.168.15.22.57197 > 192.168.15.180.53:  42714+ A? xgu.ru. (24)
13:25:26.187217 IP 192.168.15.180.53 > 192.168.15.22.57197:  42714 1/3/3 A 194.150.93.78 (154)
13:27:11.505752 IP 192.168.15.22.54178 > 192.168.15.180.53:  22158+ [1au] A? mail.google.com. (44)
13:27:11.555481 IP 192.168.15.180.53 > 192.168.15.22.54178:  22158 3/7/1 CNAME[|domain]
13:27:11.560267 IP 192.168.15.22.54178 > 192.168.15.180.53:  38284+ [1au] AAAA? mail.google.com. (44)
13:27:11.715264 IP 192.168.15.180.53 > 192.168.15.22.54178:  38284 1/1/1 CNAME[|domain]
13:27:11.719453 IP 192.168.15.22.54178 > 192.168.15.180.53:  42267+ [1au] AAAA? googlemail.l.google.com. (52)
13:27:11.719995 IP 192.168.15.180.53 > 192.168.15.22.54178:  42267 0/1/1 (100)
13:28:58.091806 IP 192.168.15.22.54178 > 192.168.15.180.53:  18117+ [1au] A? xgu.ru. (35)
...
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      NS
;; ANSWER SECTION:
avetik.unix.nt.         601738  IN      NS      host1.avetik.unix.nt.
;; ADDITIONAL SECTION:
host1.avetik.unix.nt.   601738  IN      A       192.168.15.23
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:13:56 2007
;; MSG SIZE  rcvd: 68
16:13:44
#dig avetik.unix.nt ns
13:25:19.004229 IP 192.168.15.180.53 > 192.168.15.22.54178:  44316 0/1/1 (100)
13:25:26.186486 IP 192.168.15.22.57197 > 192.168.15.180.53:  42714+ A? xgu.ru. (24)
13:25:26.187217 IP 192.168.15.180.53 > 192.168.15.22.57197:  42714 1/3/3 A 194.150.93.78 (154)
13:27:11.505752 IP 192.168.15.22.54178 > 192.168.15.180.53:  22158+ [1au] A? mail.google.com. (44)
13:27:11.555481 IP 192.168.15.180.53 > 192.168.15.22.54178:  22158 3/7/1 CNAME[|domain]
13:27:11.560267 IP 192.168.15.22.54178 > 192.168.15.180.53:  38284+ [1au] AAAA? mail.google.com. (44)
13:27:11.715264 IP 192.168.15.180.53 > 192.168.15.22.54178:  38284 1/1/1 CNAME[|domain]
13:27:11.719453 IP 192.168.15.22.54178 > 192.168.15.180.53:  42267+ [1au] AAAA? googlemail.l.google.com. (52)
13:27:11.719995 IP 192.168.15.180.53 > 192.168.15.22.54178:  42267 0/1/1 (100)
13:28:58.091806 IP 192.168.15.22.54178 > 192.168.15.180.53:  18117+ [1au] A? xgu.ru. (35)
...
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      NS
;; ANSWER SECTION:
avetik.unix.nt.         601738  IN      NS      host1.avetik.unix.nt.
;; ADDITIONAL SECTION:
host1.avetik.unix.nt.   601738  IN      A       192.168.15.23
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:13:56 2007
;; MSG SIZE  rcvd: 68
16:13:56
#dig avetik.unix.nt mx
; <<>> DiG 9.3.3 <<>> avetik.unix.nt mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56951
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      MX
;; AUTHORITY SECTION:
avetik.unix.nt.         3093    IN      SOA     host1.avetik.unix.nt. user.host1.avetik.unix.nt. 2007150901 36000 3600 604800 3600
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:14:00 2007
;; MSG SIZE  rcvd: 79
16:13:56
#dig avetik.unix.nt mx
; <<>> DiG 9.3.3 <<>> avetik.unix.nt mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56951
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      MX
;; AUTHORITY SECTION:
avetik.unix.nt.         3093    IN      SOA     host1.avetik.unix.nt. user.host1.avetik.unix.nt. 2007150901 36000 3600 604800 3600
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:14:00 2007
;; MSG SIZE  rcvd: 79
16:14:00
#rndc flush

16:14:16
#dig avetik.unix.nt mx
13:25:18.937636 IP 192.168.15.22.54178 > 192.168.15.180.53:  12321+ [1au] AAAA? mail.google.com. (44)
13:25:19.001114 IP 192.168.15.180.53 > 192.168.15.22.54178:  12321 1/1/1 CNAME[|domain]
13:25:19.003679 IP 192.168.15.22.54178 > 192.168.15.180.53:  44316+ [1au] AAAA? googlemail.l.google.com. (52)
13:25:19.004229 IP 192.168.15.180.53 > 192.168.15.22.54178:  44316 0/1/1 (100)
13:25:26.186486 IP 192.168.15.22.57197 > 192.168.15.180.53:  42714+ A? xgu.ru. (24)
13:25:26.187217 IP 192.168.15.180.53 > 192.168.15.22.57197:  42714 1/3/3 A 194.150.93.78 (154)
13:27:11.505752 IP 192.168.15.22.54178 > 192.168.15.180.53:  22158+ [1au] A? mail.google.com. (44)
13:27:11.555481 IP 192.168.15.180.53 > 192.168.15.22.54178:  22158 3/7/1 CNAME[|domain]
13:27:11.560267 IP 192.168.15.22.54178 > 192.168.15.180.53:  38284+ [1au] AAAA? mail.google.com. (44)
13:27:11.715264 IP 192.168.15.180.53 > 192.168.15.22.54178:  38284 1/1/1 CNAME[|domain]
...
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65075
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      MX
;; AUTHORITY SECTION:
avetik.unix.nt.         3074    IN      SOA     host1.avetik.unix.nt. user.host1.avetik.unix.nt. 2007150901 36000 3600 604800 3600
;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:14:19 2007
;; MSG SIZE  rcvd: 79
16:14:16
#dig avetik.unix.nt mx
13:25:18.937636 IP 192.168.15.22.54178 > 192.168.15.180.53:  12321+ [1au] AAAA? mail.google.com. (44)
13:25:19.001114 IP 192.168.15.180.53 > 192.168.15.22.54178:  12321 1/1/1 CNAME[|domain]
13:25:19.003679 IP 192.168.15.22.54178 > 192.168.15.180.53:  44316+ [1au] AAAA? googlemail.l.google.com. (52)
13:25:19.004229 IP 192.168.15.180.53 > 192.168.15.22.54178:  44316 0/1/1 (100)
13:25:26.186486 IP 192.168.15.22.57197 > 192.168.15.180.53:  42714+ A? xgu.ru. (24)
13:25:26.187217 IP 192.168.15.180.53 > 192.168.15.22.57197:  42714 1/3/3 A 194.150.93.78 (154)
13:27:11.505752 IP 192.168.15.22.54178 > 192.168.15.180.53:  22158+ [1au] A? mail.google.com. (44)
13:27:11.555481 IP 192.168.15.180.53 > 192.168.15.22.54178:  22158 3/7/1 CNAME[|domain]
13:27:11.560267 IP 192.168.15.22.54178 > 192.168.15.180.53:  38284+ [1au] AAAA? mail.google.com. (44)
13:27:11.715264 IP 192.168.15.180.53 > 192.168.15.22.54178:  38284 1/1/1 CNAME[|domain]
...
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65075
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      MX
;; AUTHORITY SECTION:
avetik.unix.nt.         3074    IN      SOA     host1.avetik.unix.nt. user.host1.avetik.unix.nt. 2007150901 36000 3600 604800 3600
;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:14:19 2007
;; MSG SIZE  rcvd: 79
16:14:19
#dig avetik.unix.nt mx
; <<>> DiG 9.3.3 <<>> avetik.unix.nt mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8399
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      MX
;; AUTHORITY SECTION:
avetik.unix.nt.         3055    IN      SOA     host1.avetik.unix.nt. user.host1.avetik.unix.nt. 2007150901 36000 3600 604800 3600
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:14:38 2007
;; MSG SIZE  rcvd: 79
16:14:38
#rndc flush
13:21:31.879226 IP 192.168.15.22.54178 > 192.168.15.180.53:  33752+ [1au] A? mail.google.com. (44)
13:21:32.026039 IP 192.168.15.180.53 > 192.168.15.22.54178:  33752 3/7/1 CNAME[|domain]
13:21:32.030484 IP 192.168.15.22.54178 > 192.168.15.180.53:  8379+ [1au] AAAA? mail.google.com. (44)
13:21:32.313733 IP 192.168.15.180.53 > 192.168.15.22.54178:  8379 1/1/1 CNAME[|domain]
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
...
13:37:59.113942 IP 192.168.15.22.54178 > 192.168.15.180.53:  6461+% [1au] AAAA? ns0.sputnikmedia.net. (49)
13:37:59.114939 IP 192.168.15.22.54178 > 192.168.15.180.53:  62333+% [1au] A? ns1.sputnikmedia.net. (49)
13:37:59.115877 IP 192.168.15.22.54178 > 192.168.15.180.53:  42500+% [1au] AAAA? ns1.sputnikmedia.net. (49)
13:37:59.116991 IP 192.168.15.22.54178 > 192.168.15.180.53:  10745+% [1au] A? ns3.sputnikmedia.net. (49)
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
16:14:38
#rndc flush
13:21:31.879226 IP 192.168.15.22.54178 > 192.168.15.180.53:  33752+ [1au] A? mail.google.com. (44)
13:21:32.026039 IP 192.168.15.180.53 > 192.168.15.22.54178:  33752 3/7/1 CNAME[|domain]
13:21:32.030484 IP 192.168.15.22.54178 > 192.168.15.180.53:  8379+ [1au] AAAA? mail.google.com. (44)
13:21:32.313733 IP 192.168.15.180.53 > 192.168.15.22.54178:  8379 1/1/1 CNAME[|domain]
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
...
13:37:59.113942 IP 192.168.15.22.54178 > 192.168.15.180.53:  6461+% [1au] AAAA? ns0.sputnikmedia.net. (49)
13:37:59.114939 IP 192.168.15.22.54178 > 192.168.15.180.53:  62333+% [1au] A? ns1.sputnikmedia.net. (49)
13:37:59.115877 IP 192.168.15.22.54178 > 192.168.15.180.53:  42500+% [1au] AAAA? ns1.sputnikmedia.net. (49)
13:37:59.116991 IP 192.168.15.22.54178 > 192.168.15.180.53:  10745+% [1au] A? ns3.sputnikmedia.net. (49)
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
16:14:38
#rndc flush
13:21:31.879226 IP 192.168.15.22.54178 > 192.168.15.180.53:  33752+ [1au] A? mail.google.com. (44)
13:21:32.026039 IP 192.168.15.180.53 > 192.168.15.22.54178:  33752 3/7/1 CNAME[|domain]
13:21:32.030484 IP 192.168.15.22.54178 > 192.168.15.180.53:  8379+ [1au] AAAA? mail.google.com. (44)
13:21:32.313733 IP 192.168.15.180.53 > 192.168.15.22.54178:  8379 1/1/1 CNAME[|domain]
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
...
13:37:59.113942 IP 192.168.15.22.54178 > 192.168.15.180.53:  6461+% [1au] AAAA? ns0.sputnikmedia.net. (49)
13:37:59.114939 IP 192.168.15.22.54178 > 192.168.15.180.53:  62333+% [1au] A? ns1.sputnikmedia.net. (49)
13:37:59.115877 IP 192.168.15.22.54178 > 192.168.15.180.53:  42500+% [1au] AAAA? ns1.sputnikmedia.net. (49)
13:37:59.116991 IP 192.168.15.22.54178 > 192.168.15.180.53:  10745+% [1au] A? ns3.sputnikmedia.net. (49)
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
16:14:41
#dig avetik.unix.nt mx
; <<>> DiG 9.3.3 <<>> avetik.unix.nt mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48048
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      MX
;; ANSWER SECTION:
avetik.unix.nt.         604800  IN      MX      5 host1.avetik.unix.nt.
;; AUTHORITY SECTION:
avetik.unix.nt.         604800  IN      NS      host1.avetik.unix.nt.
;; ADDITIONAL SECTION:
host1.avetik.unix.nt.   604800  IN      A       192.168.15.23
;; Query time: 18 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:14:42 2007
;; MSG SIZE  rcvd: 84
16:14:41
#dig avetik.unix.nt mx
; <<>> DiG 9.3.3 <<>> avetik.unix.nt mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48048
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      MX
;; ANSWER SECTION:
avetik.unix.nt.         604800  IN      MX      5 host1.avetik.unix.nt.
;; AUTHORITY SECTION:
avetik.unix.nt.         604800  IN      NS      host1.avetik.unix.nt.
;; ADDITIONAL SECTION:
host1.avetik.unix.nt.   604800  IN      A       192.168.15.23
;; Query time: 18 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:14:42 2007
;; MSG SIZE  rcvd: 84
16:14:41
#dig avetik.unix.nt mx
; <<>> DiG 9.3.3 <<>> avetik.unix.nt mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48048
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;avetik.unix.nt.                        IN      MX
;; ANSWER SECTION:
avetik.unix.nt.         604800  IN      MX      5 host1.avetik.unix.nt.
;; AUTHORITY SECTION:
avetik.unix.nt.         604800  IN      NS      host1.avetik.unix.nt.
;; ADDITIONAL SECTION:
host1.avetik.unix.nt.   604800  IN      A       192.168.15.23
;; Query time: 18 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 13 16:14:42 2007
;; MSG SIZE  rcvd: 84
16:14:42
#mail root@avetik.unix.nt
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
...
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Subject: YES!!
123
.
EOT
16:14:42
#mail root@avetik.unix.nt
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
...
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Subject: YES!!
123
.
EOT
16:15:08
#hostname
host1.taras.unix.nt
16:15:26
#less /var/log/maillog
16:15:26
#less /var/log/maillog
16:17:22
#less /var/log/maillog
16:17:22
#less /var/log/m
16:17:22
#less /var/log/maillog
16:17:22
#less /var/log/m
16:17:22
#less /var/log/maillog
16:17:22
#less /var/log/m
16:17:29
#sudo tail -f /var/log/maillog
13:25:18.937636 IP 192.168.15.22.54178 > 192.168.15.180.53:  12321+ [1au] AAAA? mail.google.com. (44)
13:25:19.001114 IP 192.168.15.180.53 > 192.168.15.22.54178:  12321 1/1/1 CNAME[|domain]
13:25:19.003679 IP 192.168.15.22.54178 > 192.168.15.180.53:  44316+ [1au] AAAA? googlemail.l.google.com. (52)
13:25:19.004229 IP 192.168.15.180.53 > 192.168.15.22.54178:  44316 0/1/1 (100)
13:25:26.186486 IP 192.168.15.22.57197 > 192.168.15.180.53:  42714+ A? xgu.ru. (24)
13:25:26.187217 IP 192.168.15.180.53 > 192.168.15.22.57197:  42714 1/3/3 A 194.150.93.78 (154)
13:27:11.505752 IP 192.168.15.22.54178 > 192.168.15.180.53:  22158+ [1au] A? mail.google.com. (44)
13:27:11.555481 IP 192.168.15.180.53 > 192.168.15.22.54178:  22158 3/7/1 CNAME[|domain]
13:27:11.560267 IP 192.168.15.22.54178 > 192.168.15.180.53:  38284+ [1au] AAAA? mail.google.com. (44)
13:27:11.715264 IP 192.168.15.180.53 > 192.168.15.22.54178:  38284 1/1/1 CNAME[|domain]
...
Sep 13 16:12:27 fbsd3 sm-mta[7930]: l8DDCRr9007928: to=<root@avetik.unix.nt>, ctladdr=<root@host1.taras.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30379, relay=avetik.unix.nt, dsn=5.1.2, stat=Host unknown (Name server: avetik.unix.nt: no data known)
Sep 13 16:12:27 fbsd3 sm-mta[7930]: l8DDCRr9007928: l8DDCRr9007930: DSN: Host unknown (Name server: avetik.unix.nt: no data known)
Sep 13 16:12:27 fbsd3 sm-mta[7930]: l8DDCRr9007930: to=<root@host1.taras.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31403, relay=local, dsn=2.0.0, stat=Sent
Sep 13 16:15:08 fbsd3 sendmail[7998]: l8DDF8Tr007998: from=root, size=44, class=0, nrcpts=1, msgid=<200709131315.l8DDF8Tr007998@host1.taras.unix.nt>, relay=root@localhost
Sep 13 16:15:08 fbsd3 sm-mta[8004]: l8DDF8SN008004: from=<root@host1.taras.unix.nt>, size=381, class=0, nrcpts=1, msgid=<200709131315.l8DDF8Tr007998@host1.taras.unix.nt>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Sep 13 16:15:08 fbsd3 sendmail[7998]: l8DDF8Tr007998: to=root@avetik.unix.nt, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30044, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l8DDF8SN008004 Message accepted for delivery)
Sep 13 16:15:09 fbsd3 sm-mta[8006]: l8DDF8SN008004: to=<root@avetik.unix.nt>, ctladdr=<root@host1.taras.unix.nt> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30381, relay=host1.avetik.unix.nt. [192.168.15.23], dsn=5.6.0, stat=Data format error
Sep 13 16:15:09 fbsd3 sm-mta[8006]: l8DDF8SN008004: l8DDF9SN008006: DSN: Data format error
Sep 13 16:15:09 fbsd3 sm-mta[8006]: l8DDF9SN008006: to=<root@host1.taras.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31405, relay=local, dsn=2.0.0, stat=Sent
^C
16:17:29
#sudo tail -f /var/log/maillog
13:25:18.937636 IP 192.168.15.22.54178 > 192.168.15.180.53:  12321+ [1au] AAAA? mail.google.com. (44)
13:25:19.001114 IP 192.168.15.180.53 > 192.168.15.22.54178:  12321 1/1/1 CNAME[|domain]
13:25:19.003679 IP 192.168.15.22.54178 > 192.168.15.180.53:  44316+ [1au] AAAA? googlemail.l.google.com. (52)
13:25:19.004229 IP 192.168.15.180.53 > 192.168.15.22.54178:  44316 0/1/1 (100)
13:25:26.186486 IP 192.168.15.22.57197 > 192.168.15.180.53:  42714+ A? xgu.ru. (24)
13:25:26.187217 IP 192.168.15.180.53 > 192.168.15.22.57197:  42714 1/3/3 A 194.150.93.78 (154)
13:27:11.505752 IP 192.168.15.22.54178 > 192.168.15.180.53:  22158+ [1au] A? mail.google.com. (44)
13:27:11.555481 IP 192.168.15.180.53 > 192.168.15.22.54178:  22158 3/7/1 CNAME[|domain]
13:27:11.560267 IP 192.168.15.22.54178 > 192.168.15.180.53:  38284+ [1au] AAAA? mail.google.com. (44)
13:27:11.715264 IP 192.168.15.180.53 > 192.168.15.22.54178:  38284 1/1/1 CNAME[|domain]
...
Sep 13 16:12:27 fbsd3 sm-mta[7930]: l8DDCRr9007928: to=<root@avetik.unix.nt>, ctladdr=<root@host1.taras.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30379, relay=avetik.unix.nt, dsn=5.1.2, stat=Host unknown (Name server: avetik.unix.nt: no data known)
Sep 13 16:12:27 fbsd3 sm-mta[7930]: l8DDCRr9007928: l8DDCRr9007930: DSN: Host unknown (Name server: avetik.unix.nt: no data known)
Sep 13 16:12:27 fbsd3 sm-mta[7930]: l8DDCRr9007930: to=<root@host1.taras.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31403, relay=local, dsn=2.0.0, stat=Sent
Sep 13 16:15:08 fbsd3 sendmail[7998]: l8DDF8Tr007998: from=root, size=44, class=0, nrcpts=1, msgid=<200709131315.l8DDF8Tr007998@host1.taras.unix.nt>, relay=root@localhost
Sep 13 16:15:08 fbsd3 sm-mta[8004]: l8DDF8SN008004: from=<root@host1.taras.unix.nt>, size=381, class=0, nrcpts=1, msgid=<200709131315.l8DDF8Tr007998@host1.taras.unix.nt>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Sep 13 16:15:08 fbsd3 sendmail[7998]: l8DDF8Tr007998: to=root@avetik.unix.nt, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30044, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l8DDF8SN008004 Message accepted for delivery)
Sep 13 16:15:09 fbsd3 sm-mta[8006]: l8DDF8SN008004: to=<root@avetik.unix.nt>, ctladdr=<root@host1.taras.unix.nt> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30381, relay=host1.avetik.unix.nt. [192.168.15.23], dsn=5.6.0, stat=Data format error
Sep 13 16:15:09 fbsd3 sm-mta[8006]: l8DDF8SN008004: l8DDF9SN008006: DSN: Data format error
Sep 13 16:15:09 fbsd3 sm-mta[8006]: l8DDF9SN008006: to=<root@host1.taras.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31405, relay=local, dsn=2.0.0, stat=Sent
^C
16:19:18
#mail root@avetik.unix.nt
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
...
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Subject: PING
echo request
.
EOT
16:19:18
#mail root@avetik.unix.nt
13:21:32.317557 IP 192.168.15.22.54178 > 192.168.15.180.53:  30549+ [1au] AAAA? googlemail.l.google.com. (52)
13:21:32.318099 IP 192.168.15.180.53 > 192.168.15.22.54178:  30549 0/1/1 (100)
13:23:24.973799 IP 192.168.15.22.54178 > 192.168.15.180.53:  25696+ [1au] A? mail.google.com. (44)
13:23:25.130067 IP 192.168.15.180.53 > 192.168.15.22.54178:  25696 3/7/1 CNAME[|domain]
13:23:25.134439 IP 192.168.15.22.54178 > 192.168.15.180.53:  45616+ [1au] AAAA? mail.google.com. (44)
13:23:25.279225 IP 192.168.15.180.53 > 192.168.15.22.54178:  45616 1/1/1 CNAME[|domain]
13:23:25.283030 IP 192.168.15.22.54178 > 192.168.15.180.53:  22808+ [1au] AAAA? googlemail.l.google.com. (52)
13:23:25.285462 IP 192.168.15.180.53 > 192.168.15.22.54178:  22808 0/1/1 (100)
13:24:41.506187 IP 192.168.15.22.50851 > 192.168.15.180.53:  42713+ A? xgu.ru. (24)
13:24:41.506835 IP 192.168.15.180.53 > 192.168.15.22.50851:  42713 1/3/3 A 194.150.93.78 (154)
...
13:37:59.117837 IP 192.168.15.22.54178 > 192.168.15.180.53:  10207+% [1au] AAAA? ns3.sputnikmedia.net. (49)
13:37:59.118932 IP 192.168.15.22.54178 > 192.168.15.180.53:  42352+% [1au] A? ns6.sputnikmedia.net. (49)
13:37:59.119874 IP 192.168.15.22.54178 > 192.168.15.180.53:  21176+% [1au] AAAA? ns6.sputnikmedia.net. (49)
13:37:59.132428 IP 192.168.15.180.53 > 192.168.15.22.54178:  24783 0/1/1 (103)
13:37:59.166751 IP 192.168.15.22.54178 > 192.168.15.180.53:  10588+ [1au] AAAA? b-one.com.ua. (41)
13:37:59.167626 IP 192.168.15.22.54178 > 192.168.15.180.53:  38062+% [1au] A? ns3.prohosting.com.ua. (50)
Subject: PING
echo request
.
EOT
16:19:34
#mail root@avetik.unix.nt
Subject: iwuery
dfg
.
EOT
16:19:34
#mail root@avetik.unix.nt
Subject: iwuery
dfg
.
EOT
16:21:23
#sudo tail -f /var/log/maillog
Sep 13 16:19:34 fbsd3 sendmail[8038]: l8DDJYjN008038: from=root, size=52, class=0, nrcpts=1, msgid=<200709131319.l8DDJYjN008038@host1.taras.unix.nt>, relay=root@localhost
Sep 13 16:19:34 fbsd3 sm-mta[8044]: l8DDJY9c008044: from=<root@host1.taras.unix.nt>, size=389, class=0, nrcpts=1, msgid=<200709131319.l8DDJYjN008038@host1.taras.unix.nt>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Sep 13 16:19:34 fbsd3 sendmail[8038]: l8DDJYjN008038: to=root@avetik.unix.nt, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30052, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l8DDJY9c008044 Message accepted for delivery)
Sep 13 16:19:34 fbsd3 sm-mta[8046]: l8DDJY9c008044: to=<root@avetik.unix.nt>, ctladdr=<root@host1.taras.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30389, relay=host1.avetik.unix.nt. [192.168.15.23], dsn=2.0.0, stat=Sent (l8DDJTtq006203 Message accepted for delivery)
Sep 13 16:21:23 fbsd3 sendmail[8051]: l8DDLNaF008051: from=root, size=45, class=0, nrcpts=1, msgid=<200709131321.l8DDLNaF008051@host1.taras.unix.nt>, relay=root@localhost
Sep 13 16:21:23 fbsd3 sm-mta[8057]: l8DDLNEW008057: from=<root@host1.taras.unix.nt>, size=382, class=0, nrcpts=1, msgid=<200709131321.l8DDLNaF008051@host1.taras.unix.nt>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Sep 13 16:21:23 fbsd3 sendmail[8051]: l8DDLNaF008051: to=root@avetik.unix.nt, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30045, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l8DDLNEW008057 Message accepted for delivery)
Sep 13 16:21:25 fbsd3 sm-mta[8059]: l8DDLNEW008057: to=<root@avetik.unix.nt>, ctladdr=<root@host1.taras.unix.nt> (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=30382, relay=host1.avetik.unix.nt. [192.168.15.23], dsn=5.6.0, stat=Data format error
Sep 13 16:21:25 fbsd3 sm-mta[8059]: l8DDLNEW008057: l8DDLPEW008059: DSN: Data format error
Sep 13 16:21:25 fbsd3 sm-mta[8059]: l8DDLPEW008059: to=<root@host1.taras.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31406, relay=local, dsn=2.0.0, stat=Sent
^C
16:21:23
#sudo tail -f /var/log/maillog
Sep 13 16:19:34 fbsd3 sendmail[8038]: l8DDJYjN008038: from=root, size=52, class=0, nrcpts=1, msgid=<200709131319.l8DDJYjN008038@host1.taras.unix.nt>, relay=root@localhost
Sep 13 16:19:34 fbsd3 sm-mta[8044]: l8DDJY9c008044: from=<root@host1.taras.unix.nt>, size=389, class=0, nrcpts=1, msgid=<200709131319.l8DDJYjN008038@host1.taras.unix.nt>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Sep 13 16:19:34 fbsd3 sendmail[8038]: l8DDJYjN008038: to=root@avetik.unix.nt, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30052, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l8DDJY9c008044 Message accepted for delivery)
Sep 13 16:19:34 fbsd3 sm-mta[8046]: l8DDJY9c008044: to=<root@avetik.unix.nt>, ctladdr=<root@host1.taras.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30389, relay=host1.avetik.unix.nt. [192.168.15.23], dsn=2.0.0, stat=Sent (l8DDJTtq006203 Message accepted for delivery)
Sep 13 16:21:23 fbsd3 sendmail[8051]: l8DDLNaF008051: from=root, size=45, class=0, nrcpts=1, msgid=<200709131321.l8DDLNaF008051@host1.taras.unix.nt>, relay=root@localhost
Sep 13 16:21:23 fbsd3 sm-mta[8057]: l8DDLNEW008057: from=<root@host1.taras.unix.nt>, size=382, class=0, nrcpts=1, msgid=<200709131321.l8DDLNaF008051@host1.taras.unix.nt>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Sep 13 16:21:23 fbsd3 sendmail[8051]: l8DDLNaF008051: to=root@avetik.unix.nt, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30045, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l8DDLNEW008057 Message accepted for delivery)
Sep 13 16:21:25 fbsd3 sm-mta[8059]: l8DDLNEW008057: to=<root@avetik.unix.nt>, ctladdr=<root@host1.taras.unix.nt> (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=30382, relay=host1.avetik.unix.nt. [192.168.15.23], dsn=5.6.0, stat=Data format error
Sep 13 16:21:25 fbsd3 sm-mta[8059]: l8DDLNEW008057: l8DDLPEW008059: DSN: Data format error
Sep 13 16:21:25 fbsd3 sm-mta[8059]: l8DDLPEW008059: to=<root@host1.taras.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31406, relay=local, dsn=2.0.0, stat=Sent
^C
16:21:54
#mail root@avetik.unix.nt
Subject: test
test23
.
EOT
You have new mail in /var/mail/root
16:21:54
#mail root@avetik.unix.nt
Subject: test
test23
.
EOT
You have new mail in /var/mail/root
16:22:44
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 3 messages 2 new 3 unread
 U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
>N  2 MAILER-DAEMON         Thu Sep 13 16:15  69/2614  "Returned mail: see tr"
 N  3 MAILER-DAEMON         Thu Sep 13 16:21  69/2615  "Returned mail: see tr"
&
&
At EOFAILER-DAEMON Thu Sep 13 16:21:25 2007
& qe: Thu, 13 Sep 2007 16:21:25 +0300 (EEST)
Saved 2 messages in mboxystem <MAILER-DAEMON>
...
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--l8DDLPEW008059.1189689685/host1.taras.unix.nt
The original message was received at Thu, 13 Sep 2007 16:21:23 +0300 (EEST)
from localhost [127.0.0.1]
   ----- The following addresses had permanent fatal errors -----
<root@avetik.unix.nt>
    (reason: 553 5.1.8 <root@host1.taras.unix.nt>... Domain of sender address ro
ot@host1.taras.unix.nt does not exist)
16:22:44
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 3 messages 2 new 3 unread
 U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
>N  2 MAILER-DAEMON         Thu Sep 13 16:15  69/2614  "Returned mail: see tr"
 N  3 MAILER-DAEMON         Thu Sep 13 16:21  69/2615  "Returned mail: see tr"
&
&
At EOFAILER-DAEMON Thu Sep 13 16:21:25 2007
& qe: Thu, 13 Sep 2007 16:21:25 +0300 (EEST)
Saved 2 messages in mboxystem <MAILER-DAEMON>
...
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--l8DDLPEW008059.1189689685/host1.taras.unix.nt
The original message was received at Thu, 13 Sep 2007 16:21:23 +0300 (EEST)
from localhost [127.0.0.1]
   ----- The following addresses had permanent fatal errors -----
<root@avetik.unix.nt>
    (reason: 553 5.1.8 <root@host1.taras.unix.nt>... Domain of sender address ro
ot@host1.taras.unix.nt does not exist)
16:22:56
#socks
socks     sockstat
16:22:56
#socks
socks     sockstat
16:22:56
#sockstat -4l | grep 110
root     popa3d     891   3  tcp4   *:110                 *:*
16:22:56
#sockstat -4l | grep 110
root     popa3d     891   3  tcp4   *:110                 *:*
/dev/ttyp5
16:24:54
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 1 message 1 unread
>U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
&
& q
Saved 1 message in mbox Thu Sep 13 03:02:22 2007
Date: Thu, 13 Sep 2007 03:02:22 +0300 (EEST)
From: Charlie Root <root@fbsd3.unix.nt>
To: root@fbsd3.unix.nt
Subject: fbsd3.unix.nt daily run output
Removing stale files from /var/preserve:
Cleaning out old system announcements:
Removing stale files from /var/rwho:
Backup passwd and group files:
fbsd3.unix.nt passwd diffs:
30a31,32
> clint:(password):1002:0:russian:0:0:clint:/home/clint:/usr/local/bin/bash
> newuser:(password):1003:1003::0:0:User &:/home/newuser:/bin/sh
fbsd3.unix.nt group diffs:
36a37
> newuser:*:1003:
16:24:54
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 1 message 1 unread
>U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
&
& q
Saved 1 message in mbox Thu Sep 13 03:02:22 2007
Date: Thu, 13 Sep 2007 03:02:22 +0300 (EEST)
From: Charlie Root <root@fbsd3.unix.nt>
To: root@fbsd3.unix.nt
Subject: fbsd3.unix.nt daily run output
Removing stale files from /var/preserve:
Cleaning out old system announcements:
Removing stale files from /var/rwho:
Backup passwd and group files:
fbsd3.unix.nt passwd diffs:
30a31,32
> clint:(password):1002:0:russian:0:0:clint:/home/clint:/usr/local/bin/bash
> newuser:(password):1003:1003::0:0:User &:/home/newuser:/bin/sh
fbsd3.unix.nt group diffs:
36a37
> newuser:*:1003:
16:24:54
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 1 message 1 unread
>U  1 root@fbsd3.unix.nt    Thu Sep 13 03:02  81/2777  "fbsd3.unix.nt daily r"
&
& q
Saved 1 message in mbox Thu Sep 13 03:02:22 2007
Date: Thu, 13 Sep 2007 03:02:22 +0300 (EEST)
From: Charlie Root <root@fbsd3.unix.nt>
To: root@fbsd3.unix.nt
Subject: fbsd3.unix.nt daily run output
Removing stale files from /var/preserve:
Cleaning out old system announcements:
Removing stale files from /var/rwho:
Backup passwd and group files:
fbsd3.unix.nt passwd diffs:
30a31,32
> clint:(password):1002:0:russian:0:0:clint:/home/clint:/usr/local/bin/bash
> newuser:(password):1003:1003::0:0:User &:/home/newuser:/bin/sh
fbsd3.unix.nt group diffs:
36a37
> newuser:*:1003:
16:25:14
#mail
No mail for root
16:25:14
#mail
No mail for root
16:25:14
#mail
No mail for root
16:25:16
#host
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
            [-R number] hostname [server]
       -a is equivalent to -v -t *
       -c specifies query class for non-IN data
       -C compares SOA records on authoritative nameservers
       -d is equivalent to -v
       -l lists all hosts in a domain, using AXFR
       -i IP6.INT reverse lookups
       -N changes the number of dots allowed before root lookup is done
       -r disables recursive processing
       -R specifies number of retries for UDP packets
       -t specifies the query type
       -T enables TCP/IP mode
       -v enables verbose output
       -w specifies to wait forever for a reply
       -W specifies how long to wait for a reply
       -4 use IPv4 query transport only
       -6 use IPv6 query transport only
16:25:16
#host
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
            [-R number] hostname [server]
       -a is equivalent to -v -t *
       -c specifies query class for non-IN data
       -C compares SOA records on authoritative nameservers
       -d is equivalent to -v
       -l lists all hosts in a domain, using AXFR
       -i IP6.INT reverse lookups
       -N changes the number of dots allowed before root lookup is done
       -r disables recursive processing
       -R specifies number of retries for UDP packets
       -t specifies the query type
       -T enables TCP/IP mode
       -v enables verbose output
       -w specifies to wait forever for a reply
       -W specifies how long to wait for a reply
       -4 use IPv4 query transport only
       -6 use IPv6 query transport only
16:25:16
#host
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
            [-R number] hostname [server]
       -a is equivalent to -v -t *
       -c specifies query class for non-IN data
       -C compares SOA records on authoritative nameservers
       -d is equivalent to -v
       -l lists all hosts in a domain, using AXFR
       -i IP6.INT reverse lookups
       -N changes the number of dots allowed before root lookup is done
       -r disables recursive processing
       -R specifies number of retries for UDP packets
       -t specifies the query type
       -T enables TCP/IP mode
       -v enables verbose output
       -w specifies to wait forever for a reply
       -W specifies how long to wait for a reply
       -4 use IPv4 query transport only
       -6 use IPv6 query transport only
16:25:25
#hostname
host1.taras.unix.nt
16:25:25
#hostname
host1.taras.unix.nt
16:25:25
#hostname
host1.taras.unix.nt
16:25:32
#mail
No mail for root
16:25:32
#mail
No mail for root
16:25:32
#mail
No mail for root
16:25:53
#mail
No mail for root

Статистика

Время первой команды журнала15:55:38 2007- 9-13
Время последней команды журнала16:25:53 2007- 9-13
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %11.88
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.50
Количество командных строк в единицу времени, команда/мин 3.34
Частота использования команд
mail46|=========================================| 41.07%
less14|============| 12.50%
dig10|========| 8.93%
sudo4|===| 3.57%
host4|===| 3.57%
echo4|===| 3.57%
rndc4|===| 3.57%
tail4|===| 3.57%
hostname4|===| 3.57%
sockstat3|==| 2.68%
vim3|==| 2.68%
grep3|==| 2.68%
socks2|=| 1.79%
cd2|=| 1.79%
ls2|=| 1.79%
pwd1|| 0.89%
cp1|| 0.89%
/etc/rc.d/sendmail1|| 0.89%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

О программе

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

$Id$