/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 |
|
#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 |
#cat /dev/null > /var/log/mail.log
|
#tail -f /var/log/mail.log
|
#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 |
#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? |
#ls /var/spool/MIMEDefang/
mimedefang-multiplexor.sock |
#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 |
#/usr/local/bin/mimedefang -D -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock
|
#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 |
#cd /etc/mail
|
#!m4
m4 < sendmail.mc > sendmail.cf |
#/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. |
#/etc/init.d/sendmail stop
Stopping Mail Transport Agent: sendmail. |
#/etc/init.d/sendmail start
Starting Mail Transport Agent: sendmail. |
#spam
spamassassin/ spamass-milter spamc spamd |
#/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 |
#/etc/init.d/s
screen-cleanup single squid stop-bootlogd-single sendmail spamassassin ssh sudo sendsigs spamass-milter stop-bootlogd sysklogd |
#/etc/init.d/spamassassin
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin |
#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: |
#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: |
#/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} |
#/etc/init.d/spamass-milter start
Starting Sendmail milter plugin for SpamAssassin: /usr/sbin/spamass-milter |
#/etc/init.d/spamass-milter start
Starting Sendmail milter plugin for SpamAssassin: /usr/sbin/spamass-milter already running. |
#/etc/init.d/spamassassin start
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin |
#vi /etc/def
|
#vi /etc/def
|
#vi /etc/default/spamass
|
#vi /etc/default/spamassassin
8c8 < ENABLED=0 --- > ENABLED=1 |
#vi /etc/default/spamass-milter
8c8 < OPTIONS="-u nobody -i 127.0.0.1" --- > #OPTIONS="-u nobody -i 127.0.0.1" |
#/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. |
#/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 |
#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 |
#vipw
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ... ~ ~ ~ ~ ~ ~ ~ ~ ~ vipw: /etc/passwd не был изменён |
#/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 |
#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 |
#/usr/local/bin/mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang-multiplexor.sock
|
#/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. |
#/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? |
#man mimedefang-multiplexor
|
#kilall mimedefang-multiplexor
bash: kilall: command not found |
#kil
|
#killall mimedefang-multiplexor
mimedefang-multiplexor: no process killed |
#mimedefang-multiplexor -U defang -T -D
mimedefang-multiplexor: no process killed |
#mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang
mimedefang-multiplexor.sock mimedefang.sock |
#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? |
#kiallall mimedefang
bash: kiallall: command not found |
#killall mimedefa
|
#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 |
#killall mimedefang
mimedefang: no process killed |
#mimedefang -U defang -m /var/spool/MIMEDefang/mimedefang.sock
|
#killall mimedefang
|
#killall mimedefang
mimedefang: no process killed |
#killall mimedefang
mimedefang: no process killed |
#rm -rf /var/spool/MIMEDefang/mimedefang
mimedefang-multiplexor.sock mimedefang.sock |
#rm -rf /var/spool/MIMEDefang/mimedefang.*
|
#killall mimedefang-multiplexor
mimedefang-multiplexor: no process killed |
#killall mimedefang-multiplexor
mimedefang-multiplexor: no process killed |
#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. |
#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 |
#cd /var/spool/
|
#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 |
#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 |
#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 |
#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 |
#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 |
#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? |
#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? |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#vi /etc/mail/sendmail.mc
|
#/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. |
#/etc/init.d/sendmail stop
Stopping Mail Transport Agent: sendmail. |
#/etc/init.d/sendmail start
Starting Mail Transport Agent: sendmail. |
#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: |
#vi /etc/mail/
|
#vi /etc/mail/sa-mimedefang.cf
|
#vi /etc/mail/sa-mimedefang.cf.example
|
#vi /etc/mail/spamassassin/
|
#vi /etc/mail/mimedefang
|
#vi /etc/mail/mimedefang-filter
|
#vi /etc/group
61c61 < defang:x:1003: --- > defang:x:1003:defang,mail |
#vi /etc/mail/mimedefang-filter
74c74 < detect_and_load_perl_modules(); --- > #####detect_and_load_perl_modules(); |
#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 |
#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 |
#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 |
#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 |
#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 |
#kill 3079 5203
bash: kill: (3079) - No such process bash: kill: (5203) - No such process |
Время первой команды журнала | 22:04:41 2006-10-26 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 22:30:54 2006-10-26 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 17.82 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.44 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 3.85 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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