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

Содержание

Журнал

Четверг (10/26/06)

/dev/pts/7
22:04:41
#/usr/local/bin/mimedefang -D -U defang -m /var/spool/MIMEDefang/mimedefang.sock

/dev/pts/2
22:04:43
#mimedefang-multiplexor -U defang /var/spool/MIMEDefang/mimedefang.sock

22:05:07
#tail -f /var/log/mail.log
Oct 26 22:00:00 host1 sm-mta[27177]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:00:01 host1 mimedefang[26972]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:00:22 host1 last message repeated 7 times
Oct 26 22:00:31 host1 mimedefang[27373]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:00:31 host1 mimedefang[27373]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:00:58 host1 last message repeated 9 times
Oct 26 22:03:16 host1 mimedefang[28296]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:03:16 host1 mimedefang[28296]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:03:49 host1 last message repeated 11 times
Oct 26 22:04:40 host1 last message repeated 17 times
22:05:20
#cat /dev/null > /var/log/mail.log

22:05:42
#tail -f /var/log/mail.log

22:05:46
#ps -ax
   91 ?        S<     0:00 [kseriod]
  123 ?        S      0:00 [pdflush]
  124 ?        S      0:00 [pdflush]
  125 ?        S      0:00 [kswapd0]
  126 ?        S<     0:00 [aio/0]
 1563 ?        S<     0:00 [khubd]
 1876 ?        S<     0:00 [kjournald]
 2029 ?        S<s    0:00 udevd --daemon
 2815 ?        S<     0:00 [kgameportd]
 2842 ?        S<     0:00 [kpsmoused]
...
15595 pts/2    S+     0:00 script -f -q /root/.lilalo//2018812862109487332-1161883299.script
15596 pts/10   Ss     0:00 bash -i
25262 ?        Ss     0:00 /usr/bin/freshclam -p /var/run/clamav/freshclam.pid -d --quiet
 8801 ?        Ss     0:00 /sbin/mgetty -x9 -s 38400 -m "" ATC10=00 ttyS0
27177 ?        Ss     0:00 sendmail: MTA: accepting connections
28906 ?        S      0:00 mimedefang-multiplexor -U defang /var/spool/MIMEDefang/mimedefang.sock
28907 ?        S      0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server
29196 pts/0    R+     0:00 sh -c LC_ALL=C PATH=$PATH:/sbin:/usr/sbin /bin/pidof -o %PPID -x nmbd 2> /dev/null
29197 pts/0    R+     0:00 /bin/pidof -o %PPID -x nmbd
29198 pts/10   R+     0:00 ps -ax
22:05:55
#tail -f /var/log/mail.log
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
22:06:17
#ls /var/spool/MIMEDefang/
mimedefang-multiplexor.sock
22:06:27
#tail -f /var/log/mail.log
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.105 KillSlave slave=0 nslaves=1 nbusy=0 reason="Forcing reread of filter rules"
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
/dev/pts/7
22:06:38
#/usr/local/bin/mimedefang -D -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock

22:07:00
#vi /etc/mail/sendmail.mc
105c105
< MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl
---
> MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang-multiplexor.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl
22:08:21
#cd /etc/mail

22:08:35
#!m4
m4 < sendmail.mc > sendmail.cf
22:08:39
#/etc/init.d/sendmail stop
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Stopping Mail Transport Agent: sendmail.
22:08:50
#/etc/init.d/sendmail stop
Stopping Mail Transport Agent: sendmail.
22:08:51
#/etc/init.d/sendmail start
Starting Mail Transport Agent: sendmail.
22:08:57
#spam
spamassassin/   spamass-milter  spamc           spamd
22:08:57
#/etc/init.d/
acpid                  dbus                   keymap.sh              nviboot                spamassassin
alsa                   dictd                  killprocs              openbsd-inetd          spamass-milter
alsa-utils             discover               klogd                  popa3d                 squid
apache                 exim4                  libdevmapper1.02       portmap                ssh
avahi-daemon           fetchmail              lpd                    pppd-dns               stop-bootlogd
bind9                  gdm                    makedev                pptpd                  stop-bootlogd-single
bittorrent             glibc.sh               module-init-tools      procps.sh              sudo
bootclean              halt                   modutils               rc                     sysklogd
bootlogd               hostname.sh            mountall-bootclean.sh  rc.local               udev
bootmisc.sh            hotkey-setup           mountall.sh            rcS                    udev-mtab
checkfs.sh             hwclockfirst.sh        mountdevsubfs.sh       reboot                 umountfs
checkroot.sh           hwclock.sh             mountkernfs.sh         rinetd                 umountnfs.sh
clamav-freshclam       ifupdown               mountnfs-bootclean.sh  rmnologin              umountroot
console-cyrillic       ifupdown-clean         mountnfs.sh            screen-cleanup         urandom
console-screen.sh      inetd                  mtab.sh                sendmail               x11-common
cron                   inetd.dpkg-new         networking             sendsigs               xinetd
cupsys                 installation-report    nfs-common             single
22:08:57
#/etc/init.d/s
screen-cleanup        single                squid                 stop-bootlogd-single
sendmail              spamassassin          ssh                   sudo
sendsigs              spamass-milter        stop-bootlogd         sysklogd
22:08:57
#/etc/init.d/spamassassin
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
/dev/pts/15
22:09:29
#mail user
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): init failed to open
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter: initialization failed, temp failing commands
Oct 26 22:09:50 host1 sendmail[30614]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:10, mailer=relay, pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Subject: sss
ss
Cc:
22:09:50
#mail user
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:12:14 host1 spamd[31493]: spamd: server started on port 783/tcp (running version 3.1.4)
Oct 26 22:12:14 host1 spamd[31493]: spamd: server pid: 31493
Oct 26 22:12:14 host1 spamd[31493]: spamd: server successfully spawned child process, pid 31499
Oct 26 22:12:14 host1 spamd[31493]: spamd: server successfully spawned child process, pid 31500
Oct 26 22:12:14 host1 spamd[31493]: prefork: child states: II
Oct 26 22:12:25 host1 spamass-milter[31572]: spamass-milter 0.3.1 starting
Oct 26 22:12:41 host1 sendmail[31658]: k9QJCfr4031658: from=root, size=26, class=0, nrcpts=1, msgid=<200610261912.k9QJCfr4031658@host1.andrew.linux.nt>, relay=root@localhost
Subject: ss
sss
Cc:
/dev/pts/7
22:10:42
#/etc/init.d/spamass-milter
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): init failed to open
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter: initialization failed, temp failing commands
Oct 26 22:09:50 host1 sendmail[30614]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:10, mailer=relay, pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:10:55 host1 spamass-milter[31036]: spamass-milter 0.3.1 starting
Usage: /etc/init.d/spamass-milter {start|stop|restart}
22:10:52
#/etc/init.d/spamass-milter start
Starting Sendmail milter plugin for SpamAssassin: /usr/sbin/spamass-milter
22:10:55
#/etc/init.d/spamass-milter start
Starting Sendmail milter plugin for SpamAssassin: /usr/sbin/spamass-milter already running.
22:11:02
#/etc/init.d/spamassassin start
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
22:11:05
#vi /etc/def
22:11:05
#vi /etc/def
22:11:05
#vi /etc/default/spamass
22:11:05
#vi /etc/default/spamassassin
8c8
< ENABLED=0
---
> ENABLED=1
22:11:38
#vi /etc/default/spamass-milter
8c8
< OPTIONS="-u nobody -i 127.0.0.1"
---
> #OPTIONS="-u nobody -i 127.0.0.1"
22:12:01
#/etc/init.d/spamassassin start
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:09:50 host1 sendmail[30614]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:10, mailer=relay, pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:10:55 host1 spamass-milter[31036]: spamass-milter 0.3.1 starting
Oct 26 22:12:13 host1 spamd[31479]: logger: removing stderr method
Oct 26 22:12:14 host1 spamd[31493]: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
Oct 26 22:12:14 host1 spamd[31493]: spamd: server started on port 783/tcp (running version 3.1.4)
Oct 26 22:12:14 host1 spamd[31493]: spamd: server pid: 31493
Oct 26 22:12:14 host1 spamd[31493]: spamd: server successfully spawned child process, pid 31499
Oct 26 22:12:14 host1 spamd[31493]: spamd: server successfully spawned child process, pid 31500
Oct 26 22:12:14 host1 spamd[31493]: prefork: child states: II
Starting SpamAssassin Mail Filter Daemon: spamd.
22:12:13
#/etc/init.d/spamass-milter restart
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:10:55 host1 spamass-milter[31036]: spamass-milter 0.3.1 starting
Oct 26 22:12:13 host1 spamd[31479]: logger: removing stderr method
Oct 26 22:12:14 host1 spamd[31493]: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
Oct 26 22:12:14 host1 spamd[31493]: spamd: server started on port 783/tcp (running version 3.1.4)
Oct 26 22:12:14 host1 spamd[31493]: spamd: server pid: 31493
Oct 26 22:12:14 host1 spamd[31493]: spamd: server successfully spawned child process, pid 31499
Oct 26 22:12:14 host1 spamd[31493]: spamd: server successfully spawned child process, pid 31500
Oct 26 22:12:14 host1 spamd[31493]: prefork: child states: II
Oct 26 22:12:25 host1 spamass-milter[31572]: spamass-milter 0.3.1 starting
Restarting Sendmail milter plugin for SpamAssassin: /usr/sbin/spamass-milter
22:12:25
#ps -ax | grep mime
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
28906 ?        S      0:00 mimedefang-multiplexor -U defang /var/spool/MIMEDefang/mimedefang.sock
28907 ?        S      0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server
31572 ?        Ssl    0:00 /usr/sbin/spamass-milter -P /var/run/spamass.pid -f -p /var/spool/MIMEDefang/mimedefang.sock
31897 pts/8    R+     0:00 grep mime
/dev/pts/15
22:12:51
#vipw
~
~
~
~
~
~
~
~
~
~
...
~
~
~
~
~
~
~
~
~
vipw: /etc/passwd не был изменён
/dev/pts/7
22:13:27
#/usr/local/bin/mimedefang -D -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:12:41 host1 sendmail[31658]: k9QJCfr4031658: from=root, size=26, class=0, nrcpts=1, msgid=<200610261912.k9QJCfr4031658@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:12:51 host1 sm-mta[31659]: k9QJCfu4031659: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:12:51 host1 sm-mta[31659]: k9QJCfu4031659: Milter (mimedefang): to error state
Oct 26 22:12:51 host1 sm-mta[31659]: k9QJCfu4031659: Milter (mimedefang): init failed to open
Oct 26 22:12:51 host1 sm-mta[31659]: k9QJCfu4031659: Milter (mimedefang): to error state
Oct 26 22:12:51 host1 sm-mta[31659]: k9QJCfu4031659: Milter: initialization failed, temp failing commands
Oct 26 22:12:51 host1 sendmail[31658]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:10, mailer=relay, pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:13:44 host1 mimedefang[31993]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:13:44 host1 mimedefang[31993]: Multiplexor alive - entering main loop
Oct 26 22:13:44 host1 mimedefang[31993]: MIMEDefang-2.57: missing connection information
22:13:44
#ps -ax | grep mime
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
28906 ?        S      0:00 mimedefang-multiplexor -U defang /var/spool/MIMEDefang/mimedefang.sock
28907 ?        S      0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server
31572 ?        Ssl    0:00 /usr/sbin/spamass-milter -P /var/run/spamass.pid -f -p /var/spool/MIMEDefang/mimedefang.sock
32026 pts/8    S+     0:00 grep mime
22:13:48
#/usr/local/bin/mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock

22:14:03
#/usr/local/bin/mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang-multiplexor.sock
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:12:51 host1 sm-mta[31659]: k9QJCfu4031659: Milter (mimedefang): to error state
Oct 26 22:12:51 host1 sm-mta[31659]: k9QJCfu4031659: Milter: initialization failed, temp failing commands
Oct 26 22:12:51 host1 sendmail[31658]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:10, mailer=relay, pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:13:44 host1 mimedefang[31993]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:13:44 host1 mimedefang[31993]: Multiplexor alive - entering main loop
Oct 26 22:13:44 host1 mimedefang[31993]: MIMEDefang-2.57: missing connection information
Oct 26 22:14:03 host1 mimedefang[32112]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:14:03 host1 mimedefang[32112]: Multiplexor alive - entering main loop
Oct 26 22:14:03 host1 mimedefang[32112]: MIMEDefang-2.57: missing connection information
/usr/local/bin/mimedefang: You must use the '-m' option.
22:14:08
#/usr/local/bin/mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:12:51 host1 sm-mta[31659]: k9QJCfu4031659: Milter: initialization failed, temp failing commands
Oct 26 22:12:51 host1 sendmail[31658]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:10, mailer=relay, pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:13:44 host1 mimedefang[31993]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:13:44 host1 mimedefang[31993]: Multiplexor alive - entering main loop
Oct 26 22:13:44 host1 mimedefang[31993]: MIMEDefang-2.57: missing connection information
Oct 26 22:14:03 host1 mimedefang[32112]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:14:03 host1 mimedefang[32112]: Multiplexor alive - entering main loop
Oct 26 22:14:03 host1 mimedefang[32112]: MIMEDefang-2.57: missing connection information
Oct 26 22:14:14 host1 mimedefang[32178]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:14:14 host1 mimedefang[32178]: MXCommand: connect: No such file or directory: Is multiplexor running?
22:14:14
#man mimedefang-multiplexor
22:16:46
#kilall mimedefang-multiplexor
bash: kilall: command not found
22:17:00
#kil

22:17:06
#killall mimedefang-multiplexor
mimedefang-multiplexor: no process killed
22:17:09
#mimedefang-multiplexor -U defang -T -D
mimedefang-multiplexor: no process killed
/dev/pts/15
22:17:27
#mimedefang
mimedefang              mimedefang-multiplexor  mimedefang.pl
22:17:27
#mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang
mimedefang-multiplexor.sock  mimedefang.sock
22:17:27
#mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang.sock
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:14:14 host1 mimedefang[32178]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:14:14 host1 mimedefang[32178]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:14:45 host1 last message repeated 10 times
Oct 26 22:15:48 host1 last message repeated 21 times
Oct 26 22:16:42 host1 last message repeated 18 times
Oct 26 22:16:45 host1 mimedefang[32178]: Multiplexor unresponsive - entering main loop anyway
Oct 26 22:16:45 host1 mimedefang[32178]: MIMEDefang-2.57: missing connection information
Oct 26 22:17:55 host1 mimedefang-multiplexor[920]: stats 1161890275.722 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:19:03 host1 mimedefang[1275]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:19:03 host1 mimedefang[1275]: MXCommand: connect: Permission denied: Is multiplexor running?
22:19:03
#kiallall mimedefang
bash: kiallall: command not found
22:19:18
#killall mimedefa

22:19:25
#kiallall mimedefang
Oct 26 22:06:04 host1 mimedefang[29246]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:06:04 host1 mimedefang[29246]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:06:37 host1 last message repeated 11 times
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:07:00 host1 mimedefang[29571]: Multiplexor alive - entering main loop
Oct 26 22:07:00 host1 mimedefang[29571]: MIMEDefang-2.57: missing connection information
Oct 26 22:08:54 host1 sm-mta[30348]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Oct 26 22:09:40 host1 sendmail[30614]: k9QJ9edk030614: from=root, size=26, class=0, nrcpts=1, msgid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:09:50 host1 sm-mta[30615]: k9QJ9eK6030615: Milter (mimedefang): to error state
...
Oct 26 22:16:42 host1 last message repeated 18 times
Oct 26 22:16:45 host1 mimedefang[32178]: Multiplexor unresponsive - entering main loop anyway
Oct 26 22:16:45 host1 mimedefang[32178]: MIMEDefang-2.57: missing connection information
Oct 26 22:17:55 host1 mimedefang-multiplexor[920]: stats 1161890275.722 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:19:03 host1 mimedefang[1275]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:19:03 host1 mimedefang[1275]: MXCommand: connect: Permission denied: Is multiplexor running?
Oct 26 22:19:24 host1 last message repeated 7 times
Oct 26 22:19:30 host1 mimedefang[1451]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:19:30 host1 mimedefang[1451]: MXCommand: connect: Permission denied: Is multiplexor running?
bash: kiallall: command not found
22:19:26
#killall mimedefang
mimedefang: no process killed
22:19:28
#mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang.sock

22:19:30
#killall mimedefang

22:19:39
#killall mimedefang
mimedefang: no process killed
22:19:39
#killall mimedefang
mimedefang: no process killed
22:19:40
#rm -rf /var/spool/MIMEDefang/mimedefang
mimedefang-multiplexor.sock  mimedefang.sock
22:19:40
#rm -rf /var/spool/MIMEDefang/mimedefang.*

/dev/pts/2
22:20:18
#killall mimedefang-multiplexor

22:20:28
#killall mimedefang-multiplexor
mimedefang-multiplexor: no process killed
22:20:28
#killall mimedefang-multiplexor
mimedefang-multiplexor: no process killed
22:20:29
#tail -f /var/log/mail.log
Oct 26 23:20:23 host1 mimedefang-multiplexor[21681]: stats 1161894023.547 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 23:20:24 host1 mimedefang-multiplexor[21681]: stats 1161894024.214 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 23:20:27 host1 mimedefang-multiplexor[21681]: stats 1161894027.219 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 23:20:29 host1 mimedefang-multiplexor[21681]: stats 1161894029.006 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 23:20:32 host1 mimedefang-multiplexor[21681]: stats 1161894032.019 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 23:20:32 host1 mimedefang-multiplexor[21681]: stats 1161894032.721 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 23:20:35 host1 mimedefang-multiplexor[21681]: stats 1161894035.736 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 23:20:36 host1 mimedefang-multiplexor[21681]: stats 1161894036.366 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 23:20:39 host1 mimedefang-multiplexor[21681]: stats 1161894039.372 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 23:20:40 host1 mimedefang-multiplexor[21681]: stats 1161894040.589 ReapSlave slave=0 nslaves=0 nbusy=0
...
Oct 26 23:24:01 host1 mimedefang-multiplexor[22692]: stats 1161894241.137 EndFilter slave=0 nslaves=1 nbusy=0 numRequests=1
Oct 26 23:24:01 host1 sm-mta[23286]: k9QKNp50023286: Milter delete (noop): header: X-Spam-Score
Oct 26 23:24:01 host1 sm-mta[23286]: k9QKNp50023286: Milter change: header Content-Type: from multipart/mixed; boundary="=-N+eY+eBaVdAPUuxrxG/j" to multipart/mixed; boundary="=-N+eY+eBaVdAPUuxrxG/j"
Oct 26 23:24:01 host1 sm-mta[23286]: k9QKNp50023286: Milter change: header MIME-Version: from 1.0 to 1.0
Oct 26 23:24:01 host1 sm-mta[23286]: k9QKNp50023286: Milter message: body replaced
Oct 26 23:24:01 host1 sm-mta[23286]: k9QKNp50023286: Milter add: header: X-Scanned-By: MIMEDefang 2.57 on 192.168.17.2
Oct 26 23:24:01 host1 sm-mta[23335]: k9QKNp50023286: to=<user@host1.andrew.linux.nt>, delay=00:00:09, xdelay=00:00:00, mailer=local, pri=31726, dsn=2.0.0, stat=Sent
Oct 26 23:24:26 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx
Oct 26 23:24:26 host1 spamd[14706]: spamd: checking message <1161905029.15091.10.camel@host1.wdw.linux.nt> for user:1000
Oct 26 23:24:26 host1 spamd[14706]: spamd: clean message (-1.4/5.0) for user:1000 in 0.3 seconds, 1813 bytes.
/dev/pts/7
22:20:32
#mimedefang-multiplexor -U defang -T -D

/dev/pts/15
22:20:36
#ls
1                      event.h              mimedefang                   mimedefang.pl.8           redhat
750                    event.o              mimedefang.8                 mimedefang.pl.8.in        rm_r.c
Changelog              eventpriv.h          mimedefang.8.in              mimedefang.pl.in          rm_r.o
config.h               event_tcp.c          mimedefang.c                 mimedefang-protocol.7     SpamAssassin
config.h.in            event_tcp.h          mimedefang-filter.5          mimedefang-protocol.7.in  syslog-fac.c
config.log             event_tcp.o          mimedefang-filter.5.in       notifier.c                syslog-fac.o
config.status          examples             mimedefang.h                 notifier.o                tests
configure              gen-ip-validator.pl  mimedefang-multiplexor       README                    utils.c
configure.in           install-sh           mimedefang-multiplexor.8     README.ANOMY              utils.o
contrib                Makefile             mimedefang-multiplexor.8.in  README.IRIX               watch-mimedefang
COPYING                Makefile.in          mimedefang-multiplexor.c     README.NONROOT            watch-mimedefang.8
drop_privs.c           md-mx-ctrl           mimedefang-multiplexor.o     README.SECURITY           watch-mimedefang.in
drop_privs_nothread.o  md-mx-ctrl.8         mimedefang-notify.7          README.SOPHIE
drop_privs_threaded.o  md-mx-ctrl.8.in      mimedefang-notify.7.in       README.SPAMASSASSIN
embperl.c              md-mx-ctrl.c         mimedefang.o                 README.TRU64
event.c                md-mx-ctrl.o         mimedefang.pl                README.VEXIRA
22:20:40
#cd /var/spool/

22:20:47
#ls -al
итого 52
drwxr-xr-x 13 root        root        4096 2006-10-26 20:45 .
drwxr-xr-x 16 root        root        4096 2006-10-18 00:20 ..
drwxr-xr-x  3 root        root        4096 2006-10-26 13:14 cron
drwx--x---  3 root        lp          4096 2002-01-11 14:25 cups
drwxr-x---  5 Debian-exim Debian-exim 4096 2002-01-11 14:28 exim4
drwxr-xr-x  3 root        root        4096 2006-10-21 12:39 fax
drwxrwsr-x  4 lp          lp          4096 2006-10-26 18:19 lpd
lrwxrwxrwx  1 root        root           7 2002-01-11 14:14 mail -> ../mail
drwx------  2 defang      defang      4096 2006-10-26 20:45 MD-Quarantine
drwx------  2 defang      defang      4096 2006-10-26 22:20 MIMEDefang
drwxr-s---  2 smmta       smmsp       4096 2006-10-26 21:24 mqueue
drwxrws---  2 smmsp       smmsp       4096 2006-10-26 22:20 mqueue-client
drwxr-xr-x  3 root        root        4096 2002-01-11 14:27 openoffice
drwxr-x--- 18 proxy       proxy       4096 2006-10-26 18:20 squid
22:20:50
#ls -al MIMEDefang/
итого 8
drwx------  2 defang defang  4096 2006-10-26 22:21 .
drwxr-xr-x 13 root   root    4096 2006-10-26 20:45 ..
srw-------  1 defang nogroup    0 2006-10-26 22:21 mimedefang-multiplexor.sock
22:21:25
#mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:28 host1 mimedefang-multiplexor[920]: stats 1161890428.094 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:21:12 host1 mimedefang-multiplexor[2084]: stats 1161890472.145 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:22:11 host1 mimedefang[2406]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:22:11 host1 mimedefang[2406]: Multiplexor alive - entering main loop
Oct 26 22:22:11 host1 mimedefang[2406]: MIMEDefang-2.57: missing connection information
22:22:11
#ls -al MIMEDefang/
итого 8
drwx------  2 defang defang  4096 2006-10-26 22:21 .
drwxr-xr-x 13 root   root    4096 2006-10-26 20:45 ..
srw-------  1 defang nogroup    0 2006-10-26 22:21 mimedefang-multiplexor.sock
22:22:22
#ps -ax | grep mime
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
31572 ?        Ssl    0:00 /usr/sbin/spamass-milter -P /var/run/spamass.pid -f -p /var/spool/MIMEDefang/mimedefang.sock
 2084 pts/8    S+     0:00 mimedefang-multiplexor -U defang -T -D
 2085 pts/8    S+     0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server
 2522 pts/9    R+     0:00 grep mime
22:22:31
#mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang.sock
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:28 host1 mimedefang-multiplexor[920]: stats 1161890428.094 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:21:12 host1 mimedefang-multiplexor[2084]: stats 1161890472.145 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:22:11 host1 mimedefang[2406]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:22:11 host1 mimedefang[2406]: Multiplexor alive - entering main loop
Oct 26 22:22:11 host1 mimedefang[2406]: MIMEDefang-2.57: missing connection information
Oct 26 22:22:47 host1 mimedefang[2608]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:22:47 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
22:22:47
#kill 2084 2085
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:28 host1 mimedefang-multiplexor[920]: stats 1161890428.094 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:21:12 host1 mimedefang-multiplexor[2084]: stats 1161890472.145 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:22:11 host1 mimedefang[2406]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:22:11 host1 mimedefang[2406]: Multiplexor alive - entering main loop
Oct 26 22:22:11 host1 mimedefang[2406]: MIMEDefang-2.57: missing connection information
Oct 26 22:22:47 host1 mimedefang[2608]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:22:47 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:23:11 host1 last message repeated 8 times
Oct 26 22:23:13 host1 mimedefang-multiplexor[2084]: stats 1161890593.329 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:23:14 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
22:23:13
#ps -ax | grep mime
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
31572 ?        Ssl    0:00 /usr/sbin/spamass-milter -P /var/run/spamass.pid -f -p /var/spool/MIMEDefang/mimedefang.sock
 2608 ?        S      0:00 mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang.sock
 2767 pts/9    R+     0:00 grep mime
/dev/pts/7
22:23:13
#mimedefang-multiplexor -U defang -T -D

/dev/pts/15
22:23:15
#kill

22:23:27
#ps -ax | grep mime
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
31572 ?        Ssl    0:00 /usr/sbin/spamass-milter -P /var/run/spamass.pid -f -p /var/spool/MIMEDefang/mimedefang.sock
 2860 pts/9    R+     0:00 grep mime
22:23:28
#kill 31572
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:28 host1 mimedefang-multiplexor[920]: stats 1161890428.094 ReapSlave slave=0 nslaves=0 nbusy=0
...
Oct 26 22:22:11 host1 mimedefang[2406]: Multiplexor alive - entering main loop
Oct 26 22:22:11 host1 mimedefang[2406]: MIMEDefang-2.57: missing connection information
Oct 26 22:22:47 host1 mimedefang[2608]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:22:47 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:23:11 host1 last message repeated 8 times
Oct 26 22:23:13 host1 mimedefang-multiplexor[2084]: stats 1161890593.329 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:23:14 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:23:26 host1 last message repeated 4 times
Oct 26 22:23:50 host1 spamass-milter[31572]: SpamAssassin: mi_stop=1
Oct 26 22:23:50 host1 spamass-milter[31572]: spamass-milter 0.3.1 exiting
22:23:46
#ps -ax | grep mime
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
31572 ?        Ssl    0:00 /usr/sbin/spamass-milter -P /var/run/spamass.pid -f -p /var/spool/MIMEDefang/mimedefang.sock
 2976 pts/9    R+     0:00 grep mime
22:23:48
#ps -ax | grep mime
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
31572 ?        Ssl    0:00 /usr/sbin/spamass-milter -P /var/run/spamass.pid -f -p /var/spool/MIMEDefang/mimedefang.sock
 2987 pts/9    R+     0:00 grep mime
22:23:50
#kill -9 31572
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:28 host1 mimedefang-multiplexor[920]: stats 1161890428.094 ReapSlave slave=0 nslaves=0 nbusy=0
...
Oct 26 22:22:47 host1 mimedefang[2608]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Oct 26 22:22:47 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:23:11 host1 last message repeated 8 times
Oct 26 22:23:13 host1 mimedefang-multiplexor[2084]: stats 1161890593.329 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:23:14 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:23:26 host1 last message repeated 4 times
Oct 26 22:23:50 host1 spamass-milter[31572]: SpamAssassin: mi_stop=1
Oct 26 22:23:50 host1 spamass-milter[31572]: spamass-milter 0.3.1 exiting
Oct 26 22:24:04 host1 mimedefang-multiplexor[3079]: stats 1161890644.790 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
bash: kill: (31572) - No such process
22:23:56
#ps -ax | grep mime
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 3047 pts/9    R+     0:00 grep mime
22:23:58
#vi /etc/mail/sendmail.mc
22:24:49
#/etc/init.d/sendmail stop
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:28 host1 mimedefang-multiplexor[920]: stats 1161890428.094 ReapSlave slave=0 nslaves=0 nbusy=0
...
Oct 26 22:22:47 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:23:11 host1 last message repeated 8 times
Oct 26 22:23:13 host1 mimedefang-multiplexor[2084]: stats 1161890593.329 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:23:14 host1 mimedefang[2608]: MXCommand: connect: No such file or directory: Is multiplexor running?
Oct 26 22:23:26 host1 last message repeated 4 times
Oct 26 22:23:50 host1 spamass-milter[31572]: SpamAssassin: mi_stop=1
Oct 26 22:23:50 host1 spamass-milter[31572]: spamass-milter 0.3.1 exiting
Oct 26 22:24:04 host1 mimedefang-multiplexor[3079]: stats 1161890644.790 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:25:05 host1 sm-mta[3551]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Stopping Mail Transport Agent: sendmail.
22:25:01
#/etc/init.d/sendmail stop
Stopping Mail Transport Agent: sendmail.
22:25:02
#/etc/init.d/sendmail start
Starting Mail Transport Agent: sendmail.
22:25:07
#mail user
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:28 host1 mimedefang-multiplexor[920]: stats 1161890428.094 ReapSlave slave=0 nslaves=0 nbusy=0
...
Oct 26 22:25:23 host1 sendmail[3676]: k9QJPNnf003676: from=root, size=26, class=0, nrcpts=1, msgid=<200610261925.k9QJPNnf003676@host1.andrew.linux.nt>, relay=root@localhost
Oct 26 22:25:33 host1 sm-mta[3677]: k9QJPNPP003677: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:25:34 host1 sm-mta[3677]: k9QJPNPP003677: Milter (mimedefang): to error state
Oct 26 22:25:34 host1 sm-mta[3677]: k9QJPNPP003677: Milter (mimedefang): init failed to open
Oct 26 22:25:34 host1 sm-mta[3677]: k9QJPNPP003677: Milter (mimedefang): to error state
Oct 26 22:25:34 host1 sm-mta[3677]: k9QJPNPP003677: Milter: initialization failed, temp failing commands
Oct 26 22:25:34 host1 sendmail[3676]: k9QJPNnf003676: to=user, ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:10, mailer=relay, pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Subject: dd
ddd
Cc:
22:25:34
#vi /etc/mail/
22:25:34
#vi /etc/mail/sa-mimedefang.cf
22:26:26
#vi /etc/mail/sa-mimedefang.cf.example
22:26:34
#vi /etc/mail/spamassassin/
22:26:34
#vi /etc/mail/mimedefang
22:26:34
#vi /etc/mail/mimedefang-filter
22:28:07
#vi /etc/group
61c61
< defang:x:1003:
---
> defang:x:1003:defang,mail
22:29:11
#vi /etc/mail/mimedefang-filter
74c74
< detect_and_load_perl_modules();
---
> #####detect_and_load_perl_modules();
22:29:37
#mail -u user
Mail version 8.1.2 01/15/2001.  Type ? for help.
"/var/mail/user": 7 messages 5 new 6 unread
 U  1 MAILER-DAEMON      Thu Oct 26 18:39   69/2704  Returned mail: see transcript for details
    2 root@host1.wdw.li  Thu Oct 26 19:02   38/1076  test
>N  3 user@host1.wdw.li  Thu Oct 26 19:12   21/826   test
 N  4 user@host1.vlad.l  Thu Oct 26 19:16   21/833   test evolution
 N  5 root@host1.andrew  Thu Oct 26 21:24   16/656   test
 N  6 root@host1.andrew  Thu Oct 26 21:24   16/656   test
 N  7 root@host1.andrew  Thu Oct 26 21:24   16/657   test
&
...
To: user@host1.andrew.linux.nt
Content-Type: text/plain
Date: Thu, 26 Oct 2006 22:12:00 +0300
Mime-Version: 1.0
X-Mailer: Evolution 2.6.3
Content-Transfer-Encoding: 7bit
test
& q
Saved 1 message in /root/mbox
Held 6 messages in /var/mail/user
22:30:23
#mail -u root
Mail version 8.1.2 01/15/2001.  Type ? for help.
"/var/mail/root": 1 message
>   1 user@host1.vlad.l  Thu Oct 26 19:01   32/1247  Re: test
& q
Held 1 message in /var/mail/root
22:30:30
#ps -ax | grep defu
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 5503 pts/9    S+     0:00 grep defu
22:30:39
#ps -ax | grep defa
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 4413 ?        Ss     0:59 /usr/bin/metacity --sm-client-id=default0
 4426 ?        Ssl    0:14 gnome-panel --sm-client-id default1
 4429 ?        Ssl    0:04 nautilus --no-default-window --sm-client-id default2
 4434 ?        Ss     0:00 gnome-volume-manager --sm-client-id default4
 4448 ?        Ss     0:01 gnome-cups-icon --sm-client-id default3
 3079 pts/8    S+     0:00 mimedefang-multiplexor -U defang -T -D
 5203 pts/8    S+     0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server
 5524 pts/9    S+     0:00 grep defa
22:30:41
#kill 3079 5203
Oct 26 22:20:08 host1 mimedefang-multiplexor[920]: stats 1161890408.107 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:20:11 host1 mimedefang-multiplexor[920]: stats 1161890411.115 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): init failed to open
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter (mimedefang): to error state
Oct 26 22:20:11 host1 sm-mta[1648]: k9QJK1AN001648: Milter: initialization failed, temp failing commands
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:10:31, xdelay=00:00:10, mailer=relay, pri=120026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:11 host1 sm-msp-queue[1646]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:07:30, xdelay=00:00:00, mailer=relay, pri=120026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:20:28 host1 mimedefang-multiplexor[920]: stats 1161890428.094 ReapSlave slave=0 nslaves=0 nbusy=0
...
Oct 26 22:25:33 host1 sm-mta[3677]: k9QJPNPP003677: milter_read(mimedefang): cmd read returned 0, expecting 5
Oct 26 22:25:34 host1 sm-mta[3677]: k9QJPNPP003677: Milter (mimedefang): to error state
Oct 26 22:25:34 host1 sm-mta[3677]: k9QJPNPP003677: Milter (mimedefang): init failed to open
Oct 26 22:25:34 host1 sm-mta[3677]: k9QJPNPP003677: Milter (mimedefang): to error state
Oct 26 22:25:34 host1 sm-mta[3677]: k9QJPNPP003677: Milter: initialization failed, temp failing commands
Oct 26 22:25:34 host1 sendmail[3676]: k9QJPNnf003676: to=user, ctladdr=root (0/0), delay=00:00:10, xdelay=00:00:10, mailer=relay, pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Oct 26 22:29:41 host1 mimedefang-multiplexor[3079]: stats 1161890981.606 KillSlave slave=0 nslaves=1 nbusy=0 reason="Forcing reread of filter rules"
Oct 26 22:29:41 host1 mimedefang-multiplexor[3079]: stats 1161890981.608 ReapSlave slave=0 nslaves=0 nbusy=0
Oct 26 22:29:44 host1 mimedefang-multiplexor[3079]: stats 1161890984.626 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)"
Oct 26 22:30:54 host1 mimedefang-multiplexor[3079]: stats 1161891054.544 ReapSlave slave=0 nslaves=0 nbusy=0
22:30:54
#kill 3079 5203
bash: kill: (3079) - No such process
bash: kill: (5203) - No such process
/dev/pts/7
22:30:54
#mimedefang-multiplexor -U defang -T -D

Файлы

  • /var/log/mail.log
  • /var/log/mail.log
    >

    Статистика

    Время первой команды журнала22:04:41 2006-10-26
    Время последней команды журнала22:30:54 2006-10-26
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %17.82
    Процент синтаксически неверно набранных команд, % 2.97
    Суммарное время работы с терминалом *, час 0.44
    Количество командных строк в единицу времени, команда/мин 3.85
    Частота использования команд
    vi15|=============| 13.39%
    mimedefang12|==========| 10.71%
    ps11|=========| 9.82%
    grep10|========| 8.93%
    killall9|========| 8.04%
    /etc/init.d/sendmail6|=====| 5.36%
    kill6|=====| 5.36%
    mail5|====| 4.46%
    tail5|====| 4.46%
    mimedefang-multiplexor5|====| 4.46%
    ls5|====| 4.46%
    /etc/init.d/spamass-milter4|===| 3.57%
    /etc/init.d/spamassassin3|==| 2.68%
    cd2|=| 1.79%
    rm2|=| 1.79%
    kiallall2|=| 1.79%
    !m41|| 0.89%
    man1|| 0.89%
    kilall1|| 0.89%
    kil1|| 0.89%
    mail.log1|| 0.89%
    /etc/init.d/1|| 0.89%
    /etc/init.d/s1|| 0.89%
    spam1|| 0.89%
    cat1|| 0.89%
    vipw1|| 0.89%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    О программе

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

    $Id$