/l3/users/andrew/nt-lnet/linux1.linux.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 |
|
#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: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 Oct 26 22:31:05 host1 mimedefang-multiplexor[5661]: stats 1161891065.508 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:31:40 host1 mimedefang[5845]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:31:40 host1 mimedefang[5845]: Multiplexor alive - entering main loop Oct 26 22:31:40 host1 mimedefang[5845]: MIMEDefang-2.57: missing connection information |
#ps -ax
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] 2853 ? S< 0:00 [shpchpd] ... 25262 ? Ss 0:00 /usr/bin/freshclam -p /var/run/clamav/freshclam.pid -d --quiet 31493 ? Ss 0:01 /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid 31499 ? S 0:00 spamd child 31500 ? S 0:00 spamd child 2043 pts/10 S+ 0:00 tail -f /var/log/mail.log 3551 ? Ss 0:00 sendmail: MTA: accepting connections 3710 ? Ss 0:00 /sbin/mgetty -x9 -s 38400 -m "" ATC10=00 ttyS0 5661 pts/8 S+ 0:00 mimedefang-multiplexor -U defang -T -D 5662 pts/8 S+ 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 6441 pts/9 R+ 0:00 ps -ax |
#mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang-multiplexor.sock
mimedefang: You must use the '-m' option. |
#ps -ax | grep defa
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 4413 ? Ss 1:00 /usr/bin/metacity --sm-client-id=default0 4426 ? Ssl 0:15 gnome-panel --sm-client-id default1 4429 ? Ssl 0:05 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 5661 pts/8 S+ 0:00 mimedefang-multiplexor -U defang -T -D 5662 pts/8 S+ 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 6581 pts/9 R+ 0:00 grep defa |
#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: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 Oct 26 22:31:05 host1 mimedefang-multiplexor[5661]: stats 1161891065.508 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:31:40 host1 mimedefang[5845]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:31:40 host1 mimedefang[5845]: Multiplexor alive - entering main loop Oct 26 22:31:40 host1 mimedefang[5845]: MIMEDefang-2.57: missing connection information Oct 26 22:34:30 host1 mimedefang[6757]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:34:30 host1 mimedefang[6757]: MXCommand: connect: No such file or directory: Is multiplexor running? |
#ps -ax | grep defa
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 4413 ? Ss 1:00 /usr/bin/metacity --sm-client-id=default0 4426 ? Ssl 0:15 gnome-panel --sm-client-id default1 4429 ? Ssl 0:05 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 5661 pts/8 S+ 0:00 mimedefang-multiplexor -U defang -T -D 5662 pts/8 S+ 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 6757 ? S 0:00 mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock 6778 pts/9 R+ 0:00 grep defa |
#ps -ax | grep defa
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 4413 ? Ss 1:00 /usr/bin/metacity --sm-client-id=default0 4426 ? Ssl 0:15 gnome-panel --sm-client-id default1 4429 ? Ssl 0:05 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 5661 pts/8 S+ 0:00 mimedefang-multiplexor -U defang -T -D 5662 pts/8 S+ 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 6757 ? S 0:00 mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock 6823 pts/9 S+ 0:00 grep defa |
#ps -ax | grep defa
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 4413 ? Ss 1:00 /usr/bin/metacity --sm-client-id=default0 4426 ? Ssl 0:15 gnome-panel --sm-client-id default1 4429 ? Ssl 0:05 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 5661 pts/8 S+ 0:00 mimedefang-multiplexor -U defang -T -D 5662 pts/8 S+ 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 6757 ? S 0:00 mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock 6934 pts/9 R+ 0:00 grep defa |
#kill 5661 5662 6757
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:30:54 host1 mimedefang-multiplexor[3079]: stats 1161891054.544 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 22:31:05 host1 mimedefang-multiplexor[5661]: stats 1161891065.508 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:31:40 host1 mimedefang[5845]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:31:40 host1 mimedefang[5845]: Multiplexor alive - entering main loop Oct 26 22:31:40 host1 mimedefang[5845]: MIMEDefang-2.57: missing connection information Oct 26 22:34:30 host1 mimedefang[6757]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:34:30 host1 mimedefang[6757]: MXCommand: connect: No such file or directory: Is multiplexor running? Oct 26 22:35:03 host1 last message repeated 11 times Oct 26 22:35:12 host1 last message repeated 3 times Oct 26 22:35:13 host1 mimedefang-multiplexor[5661]: stats 1161891313.412 ReapSlave slave=0 nslaves=0 nbusy=0 |
#vi /etc/mail/mimedefang-filter
|
#man
|
#ls /var/run/
acpid.socket clamav dbus hal klogd.pid network rpc.statd.pid squid.pid utmp apache.pid crond.pid dictd.pid hotkey-setup lpd.pid popa3d.pid screen sshd xinetd.pid avahi-daemon crond.reboot exim4 identd mgetty.pid.ttyS0 pptpd.pid sendmail sshd.pid bind cups gdm.pid inetd.pid motd rinetd.pid spamd.pid syslogd.pid |
#man mimedefang-muliplex
|
#man
|
#killall
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:40:08 host1 mimedefang-multiplexor[8066]: stats 1161891608.985 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: milter_read(mimedefang): cmd read returned 0, expecting 5 Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter (mimedefang): to error state Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter (mimedefang): init failed to open Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter (mimedefang): to error state Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter: initialization failed, temp failing commands Oct 26 22:40:08 host1 sm-msp-queue[8620]: k9QJPNnf003676: to=user, ctladdr=root (0/0), delay=00:14:45, xdelay=00:00:07, 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:40:09 host1 sm-msp-queue[8620]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:30:29, xdelay=00:00:00, mailer=relay, pri=300026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later Oct 26 22:40:09 host1 sm-msp-queue[8620]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:27:28, xdelay=00:00:00, mailer=relay, pri=300026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later Oct 26 22:40:16 host1 mimedefang-multiplexor[8720]: stats 1161891616.971 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" |
#killall mimedefang-multiplexor
mimedefang-multiplexor: no process killed |
#ls /var/run/
acpid.socket clamav dbus hal klogd.pid network rpc.statd.pid squid.pid utmp apache.pid crond.pid dictd.pid hotkey-setup lpd.pid popa3d.pid screen sshd xinetd.pid avahi-daemon crond.reboot exim4 identd mgetty.pid.ttyS0 pptpd.pid sendmail sshd.pid bind cups gdm.pid inetd.pid motd rinetd.pid spamd.pid syslogd.pid |
#killall mimedefang-multiplexor
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:40:08 host1 sm-mta[8621]: k9QJe18E008621: milter_read(mimedefang): cmd read returned 0, expecting 5 Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter (mimedefang): to error state Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter (mimedefang): init failed to open Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter (mimedefang): to error state Oct 26 22:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter: initialization failed, temp failing commands Oct 26 22:40:08 host1 sm-msp-queue[8620]: k9QJPNnf003676: to=user, ctladdr=root (0/0), delay=00:14:45, xdelay=00:00:07, 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:40:09 host1 sm-msp-queue[8620]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:30:29, xdelay=00:00:00, mailer=relay, pri=300026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later Oct 26 22:40:09 host1 sm-msp-queue[8620]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:27:28, xdelay=00:00:00, mailer=relay, pri=300026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later Oct 26 22:40:16 host1 mimedefang-multiplexor[8720]: stats 1161891616.971 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:40:52 host1 mimedefang-multiplexor[8720]: stats 1161891652.722 ReapSlave slave=0 nslaves=0 nbusy=0 |
#killall mimedefang-multiplexor
mimedefang-multiplexor: no process killed |
#ls /tmp
817-0204.pdf gconfd-user lost+found mul.pid orbit-user ssh-JtkMt15562 ssh-ufILe27674 ssh-yqYoG30940 gconfd-root keyring-j6VZN2 mapping-user orbit-root ssh-IMrMM23456 ssh-MiivKY4356 ssh-uLEwkR4773 virtual-user.Df4jIK |
#mimedefang -U defang -P /tmp/mul.pid -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:40:08 host1 sm-mta[8621]: k9QJe18E008621: Milter: initialization failed, temp failing commands Oct 26 22:40:08 host1 sm-msp-queue[8620]: k9QJPNnf003676: to=user, ctladdr=root (0/0), delay=00:14:45, xdelay=00:00:07, 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:40:09 host1 sm-msp-queue[8620]: k9QJ9edk030614: to=user, ctladdr=root (0/0), delay=00:30:29, xdelay=00:00:00, mailer=relay, pri=300026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later Oct 26 22:40:09 host1 sm-msp-queue[8620]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:27:28, xdelay=00:00:00, mailer=relay, pri=300026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later Oct 26 22:40:16 host1 mimedefang-multiplexor[8720]: stats 1161891616.971 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:40:52 host1 mimedefang-multiplexor[8720]: stats 1161891652.722 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 22:41:16 host1 mimedefang-multiplexor[9058]: stats 1161891676.246 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:41:54 host1 mimedefang[9275]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:41:54 host1 mimedefang[9275]: Multiplexor alive - entering main loop Oct 26 22:41:54 host1 mimedefang[9275]: MIMEDefang-2.57: missing connection information |
#ps -ax
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] 2853 ? S< 0:00 [shpchpd] ... 25262 ? Ss 0:00 /usr/bin/freshclam -p /var/run/clamav/freshclam.pid -d --quiet 31493 ? Ss 0:01 /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid 31499 ? S 0:00 spamd child 31500 ? S 0:00 spamd child 2043 pts/10 S+ 0:00 tail -f /var/log/mail.log 3551 ? Ss 0:00 sendmail: MTA: accepting connections 3710 ? Ss 0:00 /sbin/mgetty -x9 -s 38400 -m "" ATC10=00 ttyS0 9058 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 9059 ? S 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 9452 pts/9 R+ 0:00 ps -ax |
#man
|
#man
|
#mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang-multi
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:40:09 host1 sm-msp-queue[8620]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:27:28, xdelay=00:00:00, mailer=relay, pri=300026, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later Oct 26 22:40:16 host1 mimedefang-multiplexor[8720]: stats 1161891616.971 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:40:52 host1 mimedefang-multiplexor[8720]: stats 1161891652.722 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 22:41:16 host1 mimedefang-multiplexor[9058]: stats 1161891676.246 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:41:54 host1 mimedefang[9275]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:41:54 host1 mimedefang[9275]: Multiplexor alive - entering main loop Oct 26 22:41:54 host1 mimedefang[9275]: MIMEDefang-2.57: missing connection information Oct 26 22:43:56 host1 mimedefang[9953]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:43:56 host1 mimedefang[9953]: Multiplexor alive - entering main loop lexor.sock |
#vi /etc/mail/sendmail.mc
105c105 < MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang-multiplexor.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl --- > MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl |
#!m4
m4 sendmail.mc > sendmail.cf m4: sendmail.mc: No such file or directory |
#cd /etc/mail
|
#m4 sendmail.mc > sendmail.cf
|
#/etc/init.d/sendmail stop
Stopping Mail Transport Agent: sendmail. |
#ps -ax
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] 2853 ? S< 0:00 [shpchpd] 3102 ? S< 0:00 [kmirrord] 3135 ? S< 0:00 [kjournald] ... 31499 ? S 0:00 spamd child 31500 ? S 0:00 spamd child 2043 pts/10 S+ 0:00 tail -f /var/log/mail.log 3710 ? Ss 0:00 /sbin/mgetty -x9 -s 38400 -m "" ATC10=00 ttyS0 9058 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 9059 ? S 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 9953 ? Sl 0:00 mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang 10328 pts/9 R+ 0:00 ps -ax 10331 pts/0 R+ 0:00 sh -c LC_ALL=C PATH=$PATH:/sbin:/usr/sbin /sbin/route -n 2> /dev/null 10332 pts/0 R+ 0:00 sh -c LC_ALL=C PATH=$PATH:/sbin:/usr/sbin /sbin/route -n 2> /dev/null |
#ls /var/spool/MIMEDefang/
mimedefang-multiplexor.sock mimedefang.sock |
#/etc/init.d/sendmail start
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:41:16 host1 mimedefang-multiplexor[9058]: stats 1161891676.246 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:41:54 host1 mimedefang[9275]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:41:54 host1 mimedefang[9275]: Multiplexor alive - entering main loop Oct 26 22:41:54 host1 mimedefang[9275]: MIMEDefang-2.57: missing connection information Oct 26 22:43:56 host1 mimedefang[9953]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:43:56 host1 mimedefang[9953]: Multiplexor alive - entering main loop Oct 26 22:45:29 host1 sm-mta[10611]: starting daemon (8.13.8): SMTP+queueing@00:10:00 Oct 26 22:45:31 host1 sm-mta[10619]: k9QJjVHV010619: from=<root@host1.andrew.linux.nt>, size=332, class=0, nrcpts=1, msgid=<200610261925.k9QJPNnf003676@host1.andrew.linux.nt>, proto=ESMTP, daemon=MSP-v4, relay=localhost.localdomain [127.0.0.1] Oct 26 22:45:31 host1 mimedefang-multiplexor[9058]: stats 1161891931.270 StartFilter slave=0 nslaves=1 nbusy=1 Starting Mail Transport Agent: sendmail. |
#vi /var/mail/user
|
#grep mimedef sendmail.mc
MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl |
#ps -ax
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] 2853 ? S< 0:00 [shpchpd] 3102 ? S< 0:00 [kmirrord] ... 31493 ? Ss 0:01 /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid 31499 ? S 0:00 spamd child 31500 ? S 0:00 spamd child 2043 pts/10 S+ 0:00 tail -f /var/log/mail.log 3710 ? Ss 0:00 /sbin/mgetty -x9 -s 38400 -m "" ATC10=00 ttyS0 9058 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 9059 ? S 0:02 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 9953 ? Sl 0:00 mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang 10611 ? Ss 0:00 sendmail: MTA: accepting connections 13863 pts/9 R+ 0:00 ps -ax |
#vi /etc/mail/mimedefang-filter
74c74 < #####detect_and_load_perl_modules(); --- > detect_and_load_perl_modules(); |
#kill 9058 9059 9953
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? Oct 26 22:23:26 host1 last message repeated 4 times ... Oct 26 22:45:42 host1 sm-mta[10699]: k9QJjVHX010619: to=<user@host1.andrew.linux.nt>, ctladdr=<root@host1.andrew.linux.nt> (0/0), delay=00:00:06, xdelay=00:00:01, mailer=local, pri=30623, dsn=2.0.0, stat=Sent Oct 26 22:45:47 host1 mimedefang.pl[9059]: MDLOG,k9QJjVHZ010619,mail_in,,,<root@host1.andrew.linux.nt>,<user@host1.andrew.linux.nt>,ss Oct 26 22:45:47 host1 mimedefang-multiplexor[9058]: stats 1161891947.570 EndFilter slave=0 nslaves=1 nbusy=0 numRequests=3 Oct 26 22:45:47 host1 sm-mta[10619]: k9QJjVHZ010619: Milter delete (noop): header: X-Spam-Score Oct 26 22:45:47 host1 sm-mta[10619]: k9QJjVHZ010619: Milter add: header: X-Scanned-By: MIMEDefang 2.57 on 192.168.17.2 Oct 26 22:45:47 host1 sm-msp-queue[10618]: k9QJCfr4031658: to=user, ctladdr=root (0/0), delay=00:33:06, xdelay=00:00:06, mailer=relay, pri=390026, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9QJjVHZ010619 Message accepted for delivery) Oct 26 22:45:47 host1 sm-mta[10729]: k9QJjVHZ010619: to=<user@host1.andrew.linux.nt>, ctladdr=<root@host1.andrew.linux.nt> (0/0), delay=00:00:06, xdelay=00:00:00, mailer=local, pri=30623, dsn=2.0.0, stat=Sent Oct 26 22:56:48 host1 mimedefang-multiplexor[9058]: stats 1161892608.484 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 22:56:51 host1 mimedefang[9953]: MIMEDefang-2.57: mi_stop=1 Oct 26 22:56:55 host1 mimedefang-multiplexor[14255]: stats 1161892615.140 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" |
#man mimedefang
|
#ps -ax
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] 2853 ? S< 0:00 [shpchpd] 3102 ? S< 0:00 [kmirrord] 3135 ? S< 0:00 [kjournald] 3137 ? S< 0:00 [kjournald] ... 31500 ? S 0:00 spamd child 2043 pts/10 S+ 0:00 tail -f /var/log/mail.log 3710 ? Ss 0:00 /sbin/mgetty -x9 -s 38400 -m "" ATC10=00 ttyS0 10611 ? Ss 0:00 sendmail: MTA: accepting connections 14255 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 14257 ? S 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 14304 ? Sl 0:00 mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang 14323 pts/9 R+ 0:00 ps -ax 14328 pts/0 R+ 0:00 sh -c LC_ALL=C PATH=$PATH:/sbin:/usr/sbin /bin/pidof -o %PPID -x smbd 2> /dev/null 14329 pts/0 R+ 0:00 sh -c LC_ALL=C PATH=$PATH:/sbin:/usr/sbin /bin/pidof -o %PPID -x smbd 2> /dev/null |
#ls /var/spool/M
MD-Quarantine/ MIMEDefang/ |
#ls /var/spool/MD-Quarantine/
|
#ls -al /var/spool/MD-Quarantine/
итого 8 drwx------ 2 defang defang 4096 2006-10-26 20:45 . drwxr-xr-x 13 root root 4096 2006-10-26 22:44 .. |
#vi /etc/mail/mimedefang-filter
119c119 < # action_quarantine_entire_message("Message quarantined because of suspicious characters in headers"); --- > action_quarantine_entire_message("Message quarantined because of suspicious characters in headers"); |
#ps -ax
3139 ? S< 0:00 [kjournald] 3141 ? S< 0:00 [kjournald] 3565 ? Ss 0:00 /sbin/portmap 3850 ? Ss 0:00 /sbin/syslogd 3856 ? Ss 0:00 /sbin/klogd -x 3870 ? Ssl 0:01 /usr/sbin/named -u bind 3937 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket 3956 ? Ss 0:00 /usr/sbin/cupsd 3963 ? Ss 0:00 /usr/bin/dbus-daemon --system 3971 ? Ss 0:01 /usr/sbin/hald ... 14706 ? S 0:01 spamd child 17953 pts/11 Ss+ 0:00 script -f -q /home/user/.lilalo//156163923011825941-1161893303.script 18000 pts/11 S+ 0:00 script -f -q /home/user/.lilalo//156163923011825941-1161893303.script 18001 pts/16 Ss 0:00 bash -i 18048 pts/16 S+ 0:00 su - 18063 pts/16 S+ 0:00 script -f -q /root/.lilalo//465520511181021056-1161893308.script 18071 ? Ss 0:00 ssh-agent 18103 pts/16 S+ 0:00 script -f -q /root/.lilalo//465520511181021056-1161893308.script 18104 pts/17 Ss+ 0:00 bash -i 19299 pts/9 R+ 0:00 ps -ax |
#kill 14304 14255 14257
Oct 26 22:56:55 host1 mimedefang-multiplexor[14255]: stats 1161892615.140 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 22:57:03 host1 mimedefang[14304]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 22:57:03 host1 mimedefang[14304]: Multiplexor alive - entering main loop Oct 26 22:58:12 host1 spamd[14677]: rules: meta test DIGEST_MULTIPLE has dependency 'RAZOR2_CHECK' with a zero score Oct 26 22:58:12 host1 spamd[14677]: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK' Oct 26 22:58:12 host1 spamd[14677]: rules: meta test DIGEST_MULTIPLE has dependency 'PYZOR_CHECK' with a zero score Oct 26 22:58:12 host1 spamd[14677]: spamd: server started on UNIX domain socket /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx (running version 3.1.4) Oct 26 22:58:12 host1 spamd[14677]: spamd: server pid: 14677 Oct 26 22:58:12 host1 spamd[14677]: spamd: server successfully spawned child process, pid 14706 Oct 26 22:58:12 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx ... Oct 26 23:09:05 host1 mimedefang-multiplexor[14255]: stats 1161893345.706 EndFilter slave=0 nslaves=1 nbusy=0 numRequests=3 Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter delete (noop): header: X-Spam-Score Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter change: header Content-Type: from multipart/mixed; boundary="=-RKugfd8LIDtT6OjmQexx" to multipart/mixed; boundary="=-RKugfd8LIDtT6OjmQexx" Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter change: header MIME-Version: from 1.0 to 1.0 Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter message: body replaced Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter add: header: X-Scanned-By: MIMEDefang 2.57 on 192.168.17.2 Oct 26 23:09:05 host1 sm-mta[18366]: k9QK90X5018301: to=<user@host1.andrew.linux.nt>, delay=00:00:04, xdelay=00:00:00, mailer=local, pri=31713, dsn=2.0.0, stat=Sent Oct 26 23:12:14 host1 mimedefang-multiplexor[14255]: stats 1161893534.367 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:12:15 host1 mimedefang[14304]: MIMEDefang-2.57: mi_stop=1 Oct 26 23:12:18 host1 mimedefang-multiplexor[19435]: stats 1161893538.555 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" |
#kill 14304 14255 14257
bash: kill: (14255) - No such process bash: kill: (14257) - No such process |
#kill 9058 9059 9953
Oct 26 22:58:12 host1 spamd[14677]: spamd: server pid: 14677 Oct 26 22:58:12 host1 spamd[14677]: spamd: server successfully spawned child process, pid 14706 Oct 26 22:58:12 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 22:58:12 host1 spamd[14677]: prefork: child states: B Oct 26 22:58:12 host1 spamd[14677]: prefork: server reached --max-children setting, consider raising it Oct 26 22:58:12 host1 spamd[14706]: spamd: processing message (unknown) for user:1000 Oct 26 22:58:12 host1 spamd[14706]: Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 879, <GEN4> line 5. Oct 26 22:58:12 host1 spamd[14706]: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 953, <GEN4> line 5. Oct 26 22:58:12 host1 spamd[14706]: spamd: clean message (3.3/5.0) for user:1000 in 0.1 seconds, 19 bytes. Oct 26 22:58:12 host1 spamd[14706]: spamd: result: . 3 - EMPTY_MESSAGE,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS,TO_CC_NONE scantime=0.1,size=19,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=(unknown),autolearn=no ... Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter change: header Content-Type: from multipart/mixed; boundary="=-RKugfd8LIDtT6OjmQexx" to multipart/mixed; boundary="=-RKugfd8LIDtT6OjmQexx" Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter change: header MIME-Version: from 1.0 to 1.0 Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter message: body replaced Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter add: header: X-Scanned-By: MIMEDefang 2.57 on 192.168.17.2 Oct 26 23:09:05 host1 sm-mta[18366]: k9QK90X5018301: to=<user@host1.andrew.linux.nt>, delay=00:00:04, xdelay=00:00:00, mailer=local, pri=31713, dsn=2.0.0, stat=Sent Oct 26 23:12:14 host1 mimedefang-multiplexor[14255]: stats 1161893534.367 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:12:15 host1 mimedefang[14304]: MIMEDefang-2.57: mi_stop=1 Oct 26 23:12:18 host1 mimedefang-multiplexor[19435]: stats 1161893538.555 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:12:30 host1 mimedefang[19508]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 23:12:30 host1 mimedefang[19508]: Multiplexor alive - entering main loop |
#kill 14304 14255 14257
Oct 26 22:58:13 host1 spamd[14706]: spamd: clean message (0.0/5.0) for user:1000 in 0.2 seconds, 712 bytes. Oct 26 22:58:13 host1 spamd[14706]: spamd: result: . 0 - UNPARSEABLE_RELAY scantime=0.2,size=712,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<200610261925.k9QJPNnf003676@host1.andrew.linux.nt>,autolearn=ham Oct 26 22:58:13 host1 spamd[14677]: prefork: child states: B Oct 26 22:58:13 host1 spamd[14677]: prefork: server reached --max-children setting, consider raising it Oct 26 22:58:13 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 22:58:13 host1 spamd[14706]: spamd: checking message <200610261909.k9QJ9edk030614@host1.andrew.linux.nt> for user:1000 Oct 26 22:58:13 host1 spamd[14706]: spamd: clean message (0.0/5.0) for user:1000 in 0.1 seconds, 712 bytes. Oct 26 22:58:13 host1 spamd[14706]: spamd: result: . 0 - UNPARSEABLE_RELAY scantime=0.1,size=712,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>,autolearn=ham Oct 26 22:58:13 host1 spamd[14677]: prefork: child states: B Oct 26 22:58:13 host1 spamd[14677]: prefork: server reached --max-children setting, consider raising it ... Oct 26 23:13:34 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 23:13:34 host1 spamd[14706]: spamd: checking message <1161904138.15091.4.camel@host1.wdw.linux.nt> for user:1000 Oct 26 23:13:34 host1 spamd[14706]: spamd: clean message (-1.4/5.0) for user:1000 in 0.3 seconds, 1800 bytes. Oct 26 23:13:34 host1 spamd[14706]: spamd: result: . -1 - ALL_TRUSTED scantime=0.3,size=1800,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<1161904138.15091.4.camel@host1.wdw.linux.nt>,autolearn=ham Oct 26 23:13:34 host1 spamd[14677]: prefork: child states: I Oct 26 23:13:34 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 23:13:34 host1 spamd[14706]: spamd: checking message <1161904379.15091.6.camel@host1.wdw.linux.nt> for user:1000 Oct 26 23:13:35 host1 spamd[14706]: spamd: clean message (-1.4/5.0) for user:1000 in 0.3 seconds, 1801 bytes. Oct 26 23:13:35 host1 spamd[14706]: spamd: result: . -1 - ALL_TRUSTED scantime=0.3,size=1801,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<1161904379.15091.6.camel@host1.wdw.linux.nt>,autolearn=ham Oct 26 23:13:36 host1 spamd[14677]: prefork: child states: I |
#ls -al /var/spool/MD-Quarantine/
итого 8 drwx------ 2 defang defang 4096 2006-10-26 20:45 . drwxr-xr-x 13 root root 4096 2006-10-26 22:44 .. |
#ls -al /var/spool/
итого 52 drwxr-xr-x 13 root root 4096 2006-10-26 22:44 . 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 23:13 MIMEDefang drwxr-s--- 2 smmta smmsp 4096 2006-10-26 23:13 mqueue drwxrws--- 2 smmsp smmsp 4096 2006-10-26 22:45 mqueue-client drwxr-xr-x 3 root root 4096 2002-01-11 14:27 openoffice -rw-r--r-- 1 root root 0 2006-10-26 22:44 sendmail.cf drwxr-x--- 18 proxy proxy 4096 2006-10-26 18:20 squid |
#kill 14304 14255 14257
|
#vi /etc/mail/mimedefang-filter
|
#ps -ax | grep mim
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 19435 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 19436 ? S 0:02 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 19508 ? Sl 0:00 mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock 21573 pts/9 S+ 0:00 grep mim |
#kill 19435 19436 19508
Oct 26 22:58:13 host1 spamd[14677]: prefork: child states: B Oct 26 22:58:13 host1 spamd[14677]: prefork: server reached --max-children setting, consider raising it Oct 26 22:58:13 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 22:58:13 host1 spamd[14706]: spamd: checking message <200610261909.k9QJ9edk030614@host1.andrew.linux.nt> for user:1000 Oct 26 22:58:13 host1 spamd[14706]: spamd: clean message (0.0/5.0) for user:1000 in 0.1 seconds, 712 bytes. Oct 26 22:58:13 host1 spamd[14706]: spamd: result: . 0 - UNPARSEABLE_RELAY scantime=0.1,size=712,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<200610261909.k9QJ9edk030614@host1.andrew.linux.nt>,autolearn=ham Oct 26 22:58:13 host1 spamd[14677]: prefork: child states: B Oct 26 22:58:13 host1 spamd[14677]: prefork: server reached --max-children setting, consider raising it Oct 26 22:58:13 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 22:58:13 host1 spamd[14706]: spamd: checking message <200610261912.k9QJCfr4031658@host1.andrew.linux.nt> for user:1000 ... Oct 26 23:13:34 host1 spamd[14706]: spamd: clean message (-1.4/5.0) for user:1000 in 0.3 seconds, 1800 bytes. Oct 26 23:13:34 host1 spamd[14706]: spamd: result: . -1 - ALL_TRUSTED scantime=0.3,size=1800,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<1161904138.15091.4.camel@host1.wdw.linux.nt>,autolearn=ham Oct 26 23:13:34 host1 spamd[14677]: prefork: child states: I Oct 26 23:13:34 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 23:13:34 host1 spamd[14706]: spamd: checking message <1161904379.15091.6.camel@host1.wdw.linux.nt> for user:1000 Oct 26 23:13:35 host1 spamd[14706]: spamd: clean message (-1.4/5.0) for user:1000 in 0.3 seconds, 1801 bytes. Oct 26 23:13:35 host1 spamd[14706]: spamd: result: . -1 - ALL_TRUSTED scantime=0.3,size=1801,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<1161904379.15091.6.camel@host1.wdw.linux.nt>,autolearn=ham Oct 26 23:13:36 host1 spamd[14677]: prefork: child states: I Oct 26 23:19:10 host1 mimedefang-multiplexor[19435]: stats 1161893950.885 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:19:10 host1 mimedefang[19508]: MIMEDefang-2.57: mi_stop=1 |
#kill 19435 19436 19508
bash: kill: (19435) - No such process bash: kill: (19436) - No such process bash: kill: (19508) - No such process |
#kill 14304 14255 14257
Oct 26 22:58:13 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 22:58:13 host1 spamd[14706]: spamd: checking message <200610261912.k9QJCfr4031658@host1.andrew.linux.nt> for user:1000 Oct 26 22:58:13 host1 spamd[14706]: spamd: clean message (0.0/5.0) for user:1000 in 0.1 seconds, 712 bytes. Oct 26 22:58:13 host1 spamd[14706]: spamd: result: . 0 - UNPARSEABLE_RELAY scantime=0.1,size=712,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<200610261912.k9QJCfr4031658@host1.andrew.linux.nt>,autolearn=ham Oct 26 22:58:13 host1 spamd[14677]: prefork: child states: I Oct 26 22:59:34 host1 sm-mta[15126]: k9QJxXvW015126: from=<user@host1.wdw.linux.nt>, size=818, class=0, nrcpts=1, msgid=<1161903571.15091.0.camel@host1.wdw.linux.nt>, proto=ESMTP, daemon=MTA-v4, relay=[192.168.17.1] Oct 26 22:59:34 host1 mimedefang-multiplexor[14255]: stats 1161892774.226 StartFilter slave=0 nslaves=1 nbusy=1 Oct 26 22:59:37 host1 mimedefang.pl[14257]: MDLOG,k9QJxXvW015126,bad_filename,test.exe,text/plain,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,exe Oct 26 22:59:38 host1 mimedefang.pl[14257]: MDLOG,k9QJxXvW015126,mail_in,,,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,exe Oct 26 22:59:38 host1 mimedefang.pl[14257]: filter: k9QJxXvW015126: drop_with_warning=1 ... Oct 26 23:19:10 host1 mimedefang-multiplexor[19435]: stats 1161893950.885 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:19:10 host1 mimedefang[19508]: MIMEDefang-2.57: mi_stop=1 Oct 26 23:19:16 host1 mimedefang-multiplexor[21681]: stats 1161893956.970 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:19:17 host1 mimedefang-multiplexor[21681]: stats 1161893957.811 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:19:20 host1 mimedefang-multiplexor[21681]: stats 1161893960.829 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:19:21 host1 mimedefang-multiplexor[21681]: stats 1161893961.425 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:19:24 host1 mimedefang[21731]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 23:19:24 host1 mimedefang[21731]: Multiplexor alive - entering main loop Oct 26 23:19:24 host1 mimedefang-multiplexor[21681]: stats 1161893964.433 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:19:25 host1 mimedefang-multiplexor[21681]: stats 1161893965.115 ReapSlave slave=0 nslaves=0 nbusy=0 |
#kill 19435 19436 19508
Oct 26 23:08:02 host1 spamd[14706]: spamd: clean message (-1.4/5.0) for user:1000 in 0.3 seconds, 2464 bytes. Oct 26 23:08:02 host1 spamd[14706]: spamd: result: . -1 - ALL_TRUSTED scantime=0.3,size=2464,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<1161904048.15091.2.camel@host1.wdw.linux.nt>,autolearn=ham Oct 26 23:08:03 host1 spamd[14677]: prefork: child states: I Oct 26 23:09:01 host1 sm-mta[18301]: k9QK90X5018301: from=<user@host1.wdw.linux.nt>, size=819, class=0, nrcpts=1, msgid=<1161904138.15091.4.camel@host1.wdw.linux.nt>, proto=ESMTP, daemon=MTA-v4, relay=[192.168.17.1] Oct 26 23:09:01 host1 mimedefang-multiplexor[14255]: stats 1161893341.349 StartFilter slave=0 nslaves=1 nbusy=1 Oct 26 23:09:05 host1 mimedefang.pl[14257]: MDLOG,k9QK90X5018301,bad_filename,test.exe,text/plain,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,test Oct 26 23:09:05 host1 mimedefang.pl[14257]: MDLOG,k9QK90X5018301,mail_in,,,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,test Oct 26 23:09:05 host1 mimedefang.pl[14257]: filter: k9QK90X5018301: drop_with_warning=1 Oct 26 23:09:05 host1 mimedefang-multiplexor[14255]: stats 1161893345.706 EndFilter slave=0 nslaves=1 nbusy=0 numRequests=3 Oct 26 23:09:05 host1 sm-mta[18301]: k9QK90X5018301: Milter delete (noop): header: X-Spam-Score ... Oct 26 23:20:58 host1 sm-mta[22263]: k9QKKviP022263: to=<user@host1.andrew.linux.nt>, delay=00:00:00, pri=31464, stat=Please try again later Oct 26 23:20:59 host1 mimedefang-multiplexor[21681]: stats 1161894059.536 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:01 host1 mimedefang-multiplexor[21681]: stats 1161894061.795 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:04 host1 mimedefang-multiplexor[21681]: stats 1161894064.800 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:05 host1 mimedefang-multiplexor[21681]: stats 1161894065.642 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:08 host1 mimedefang-multiplexor[21681]: stats 1161894068.657 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:09 host1 mimedefang-multiplexor[21681]: stats 1161894069.276 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:12 host1 mimedefang-multiplexor[21681]: stats 1161894072.285 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:12 host1 mimedefang-multiplexor[21681]: stats 1161894072.940 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:15 host1 mimedefang-multiplexor[21681]: stats 1161894075.945 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" |
#vi /etc/mail/mimedefang-filter
114,115c114,115 < sub filter_begin { < my($entity) = @_; --- > ###sub filter_begin { > ### my($entity) = @_; 124c124 < } --- > ### } |
#kill 19435 19436 19508
Oct 26 23:12:30 host1 mimedefang[19508]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 23:12:30 host1 mimedefang[19508]: Multiplexor alive - entering main loop Oct 26 23:13:01 host1 sm-mta[19671]: k9QKD0ku019671: from=<user@host1.wdw.linux.nt>, size=820, class=0, nrcpts=1, msgid=<1161904379.15091.6.camel@host1.wdw.linux.nt>, proto=ESMTP, daemon=MTA-v4, relay=[192.168.17.1] Oct 26 23:13:01 host1 mimedefang-multiplexor[19435]: stats 1161893581.941 StartFilter slave=0 nslaves=1 nbusy=1 Oct 26 23:13:06 host1 mimedefang.pl[19436]: MDLOG,k9QKD0ku019671,bad_filename,test.exe,text/plain,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,test2 Oct 26 23:13:09 host1 mimedefang.pl[19436]: MDLOG,k9QKD0ku019671,mail_in,,,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,test2 Oct 26 23:13:09 host1 mimedefang.pl[19436]: filter: k9QKD0ku019671: drop_with_warning=1 Oct 26 23:13:09 host1 mimedefang-multiplexor[19435]: stats 1161893589.297 EndFilter slave=0 nslaves=1 nbusy=0 numRequests=1 Oct 26 23:13:09 host1 sm-mta[19671]: k9QKD0ku019671: Milter delete (noop): header: X-Spam-Score Oct 26 23:13:09 host1 sm-mta[19671]: k9QKD0ku019671: Milter change: header Content-Type: from multipart/mixed; boundary="=-0nfXtTc8fKw7Naact3u8" to multipart/mixed; boundary="=-0nfXtTc8fKw7Naact3u8" ... Oct 26 23:21:35 host1 mimedefang-multiplexor[21681]: stats 1161894095.307 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:38 host1 mimedefang-multiplexor[21681]: stats 1161894098.314 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:38 host1 mimedefang-multiplexor[21681]: stats 1161894098.936 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:41 host1 mimedefang-multiplexor[21681]: stats 1161894101.954 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:44 host1 mimedefang-multiplexor[21681]: stats 1161894104.711 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:47 host1 mimedefang-multiplexor[21681]: stats 1161894107.730 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:48 host1 mimedefang-multiplexor[21681]: stats 1161894108.376 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:51 host1 mimedefang-multiplexor[21681]: stats 1161894111.394 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:52 host1 mimedefang-multiplexor[21681]: stats 1161894112.003 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:55 host1 mimedefang-multiplexor[21681]: stats 1161894115.034 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" |
#ps -ax | grep mim
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 21681 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 21731 ? Sl 0:00 mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock 22595 pts/9 S+ 0:00 grep mim |
#kill 21681 21731
Oct 26 23:12:30 host1 mimedefang[19508]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0 Oct 26 23:12:30 host1 mimedefang[19508]: Multiplexor alive - entering main loop Oct 26 23:13:01 host1 sm-mta[19671]: k9QKD0ku019671: from=<user@host1.wdw.linux.nt>, size=820, class=0, nrcpts=1, msgid=<1161904379.15091.6.camel@host1.wdw.linux.nt>, proto=ESMTP, daemon=MTA-v4, relay=[192.168.17.1] Oct 26 23:13:01 host1 mimedefang-multiplexor[19435]: stats 1161893581.941 StartFilter slave=0 nslaves=1 nbusy=1 Oct 26 23:13:06 host1 mimedefang.pl[19436]: MDLOG,k9QKD0ku019671,bad_filename,test.exe,text/plain,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,test2 Oct 26 23:13:09 host1 mimedefang.pl[19436]: MDLOG,k9QKD0ku019671,mail_in,,,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,test2 Oct 26 23:13:09 host1 mimedefang.pl[19436]: filter: k9QKD0ku019671: drop_with_warning=1 Oct 26 23:13:09 host1 mimedefang-multiplexor[19435]: stats 1161893589.297 EndFilter slave=0 nslaves=1 nbusy=0 numRequests=1 Oct 26 23:13:09 host1 sm-mta[19671]: k9QKD0ku019671: Milter delete (noop): header: X-Spam-Score Oct 26 23:13:09 host1 sm-mta[19671]: k9QKD0ku019671: Milter change: header Content-Type: from multipart/mixed; boundary="=-0nfXtTc8fKw7Naact3u8" to multipart/mixed; boundary="=-0nfXtTc8fKw7Naact3u8" ... Oct 26 23:21:47 host1 mimedefang-multiplexor[21681]: stats 1161894107.730 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:48 host1 mimedefang-multiplexor[21681]: stats 1161894108.376 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:51 host1 mimedefang-multiplexor[21681]: stats 1161894111.394 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:52 host1 mimedefang-multiplexor[21681]: stats 1161894112.003 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:21:55 host1 mimedefang-multiplexor[21681]: stats 1161894115.034 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:21:59 host1 mimedefang-multiplexor[21681]: stats 1161894119.089 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:22:02 host1 mimedefang-multiplexor[21681]: stats 1161894122.094 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:22:02 host1 mimedefang-multiplexor[21681]: stats 1161894122.971 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:22:07 host1 mimedefang[21731]: MIMEDefang-2.57: mi_stop=1 Oct 26 23:22:08 host1 mimedefang-multiplexor[22692]: stats 1161894128.939 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" |
#kill 21681 21731
bash: kill: (21681) - No such process |
#kill 21681 21731
Oct 26 23:13:34 host1 spamd[14706]: spamd: result: . -1 - ALL_TRUSTED scantime=0.3,size=1800,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<1161904138.15091.4.camel@host1.wdw.linux.nt>,autolearn=ham Oct 26 23:13:34 host1 spamd[14677]: prefork: child states: I Oct 26 23:13:34 host1 spamd[14706]: spamd: got connection over /home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx Oct 26 23:13:34 host1 spamd[14706]: spamd: checking message <1161904379.15091.6.camel@host1.wdw.linux.nt> for user:1000 Oct 26 23:13:35 host1 spamd[14706]: spamd: clean message (-1.4/5.0) for user:1000 in 0.3 seconds, 1801 bytes. Oct 26 23:13:35 host1 spamd[14706]: spamd: result: . -1 - ALL_TRUSTED scantime=0.3,size=1801,user=user,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/user/.evolution/cache/tmp/spamd-socket-path-WTOflx,mid=<1161904379.15091.6.camel@host1.wdw.linux.nt>,autolearn=ham Oct 26 23:13:36 host1 spamd[14677]: prefork: child states: I Oct 26 23:19:10 host1 mimedefang-multiplexor[19435]: stats 1161893950.885 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:19:10 host1 mimedefang[19508]: MIMEDefang-2.57: mi_stop=1 Oct 26 23:19:16 host1 mimedefang-multiplexor[21681]: stats 1161893956.970 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" ... Oct 26 23:22:20 host1 mimedefang-multiplexor[22692]: stats 1161894140.579 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:22:21 host1 mimedefang-multiplexor[22692]: stats 1161894141.189 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:22:24 host1 mimedefang-multiplexor[22692]: stats 1161894144.203 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:22:27 host1 mimedefang-multiplexor[22692]: stats 1161894147.096 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:22:30 host1 mimedefang-multiplexor[22692]: stats 1161894150.108 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:22:30 host1 mimedefang-multiplexor[22692]: stats 1161894150.724 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:22:33 host1 mimedefang-multiplexor[22692]: stats 1161894153.731 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:22:34 host1 mimedefang-multiplexor[22692]: stats 1161894154.335 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:22:37 host1 mimedefang-multiplexor[22692]: stats 1161894157.348 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:22:40 host1 mimedefang-multiplexor[22692]: stats 1161894160.645 ReapSlave slave=0 nslaves=0 nbusy=0 |
#ps -ax | grep mim
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 22692 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 22709 ? Sl 0:00 mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock 22831 pts/9 R+ 0:00 grep mim |
#kill 21681 21731
|
#vi /etc/mail/mimedefang-filter
|
#vi /etc/mail/mimedefang-filter
114,115c114,115 < ###sub filter_begin { < ### my($entity) = @_; --- > sub filter_begin { > my($entity) = @_; 117,118c117,118 < ### if ($SuspiciousCharsInHeaders) { < ### md_graphdefang_log('suspicious_chars'); --- > if ($SuspiciousCharsInHeaders) { > md_graphdefang_log('suspicious_chars'); 120,121c120,121 < # action_quarantine($entity, "A known virus was discovered and deleted. \ < # Virus-scanner messages follow:\n$VirusScannerMessages\n\n"); --- > action_quarantine($entity, "A known virus was discovered and deleted. \ > Virus-scanner messages follow:\n$VirusScannerMessages\n\n"); 123,124c123,124 < ### return action_discard(); < ### } --- > return action_discard(); > } |
#ps -ax | grep mim
|
#ps -ax | grep mim
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 22692 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 22709 ? Sl 0:00 mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock 23122 ? S 0:01 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 23138 pts/9 S+ 0:00 grep mim |
#ps -ax | grep mim
Oct 26 23:20:16 host1 mimedefang-multiplexor[21681]: stats 1161894016.790 ReapSlave slave=0 nslaves=0 nbusy=0 Oct 26 23:20:19 host1 mimedefang-multiplexor[21681]: stats 1161894019.795 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves (1)" Oct 26 23:20:20 host1 mimedefang-multiplexor[21681]: stats 1161894020.535 ReapSlave slave=0 nslaves=0 nbusy=0 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:23:59 host1 mimedefang.pl[23122]: MDLOG,k9QKNp50023286,bad_filename,test.exe,text/plain,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,test Oct 26 23:24:00 host1 mimedefang.pl[23122]: MDLOG,k9QKNp50023286,mail_in,,,<user@host1.wdw.linux.nt>,<user@host1.andrew.linux.nt>,test Oct 26 23:24:01 host1 mimedefang.pl[23122]: filter: k9QKNp50023286: drop_with_warning=1 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 |
#kill 21681 21731
|
#kill 19435 19436 19508
|
#ls -al /var/spool/MD-Quarantine/
итого 8 drwx------ 2 defang defang 4096 2006-10-26 20:45 . drwxr-xr-x 13 root root 4096 2006-10-26 22:44 .. |
#vi /etc/mail/mimedefang-filter
119,121c119,121 < # action_quarantine_entire_message("Message quarantined because of suspicious characters in headers"); < action_quarantine($entity, "A known virus was discovered and deleted. \ < Virus-scanner messages follow:\n$VirusScannerMessages\n\n"); --- > action_quarantine_entire_message("Message quarantined because of suspicious characters in headers"); > # action_quarantine($entity, "A known virus was discovered and deleted. \ > # Virus-scanner messages follow:\n$VirusScannerMessages\n\n"); 137c137 < # $FoundVirus = ($action eq "quarantine"); --- > $FoundVirus = ($action eq "quarantine"); |
#ps -ax | grep mim
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 22692 ? S 0:00 mimedefang-multiplexor -U defang -p /tmp/mul.pid -T 22709 ? Sl 0:00 mimedefang -U defang -p /var/spool/MIMEDefang/mimedefang.sock -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock 23122 ? S 0:02 /usr/bin/perl /usr/local/bin/mimedefang.pl -server 23939 pts/9 R+ 0:00 grep mim |
Время первой команды журнала | 22:30:56 2006-10-26 | |||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 23:25:45 2006-10-26 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 76 | |||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 7.89 | |||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.32 | |||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.91 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.39 | |||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008