/[cvs]/joko/doc/SampleTasks/joko_2003-03.twingle
ViewVC logotype

Diff of /joko/doc/SampleTasks/joko_2003-03.twingle

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.135 by joko, Sun Mar 23 19:04:20 2003 UTC revision 1.148 by joko, Wed Mar 26 02:53:53 2003 UTC
# Line 2263  o connections to the cvs-daemon seem not Line 2263  o connections to the cvs-daemon seem not
2263    
2264  o write monitor for output of 'mailq'!!! (grep the numbers!)  o write monitor for output of 'mailq'!!! (grep the numbers!)
2265    
2266    i found while reviewing Mails returned from the 'Mail Delivery Subsystem':
2267      i example error-message response if (e.g.) 'recieveMail|dispatchmail' fails....
2268        The original message was received at Tue, 18 Mar 2003 20:45:04 +0100
2269        from [213.133.118.34]
2270        
2271           ----- The following addresses had permanent fatal errors -----
2272        |~/bin/mail/recieveMail
2273            (reason: 255)
2274            (expanded from: jonen_mail)
2275        
2276           ----- Transcript of session follows -----
2277        syntax error at /etc/mail/smrsh/recieveMail line 125, near ") {"
2278        Execution of /etc/mail/smrsh/recieveMail aborted due to compilation errors.
2279        554 5.3.0 unknown mailer error 255
2280        o scan for this! (global/default milter.filter? -> "syntax error in line xyz")
2281      i another one:
2282        The original message was received at Mon, 3 Mar 2003 16:51:28 +0100
2283        from [213.133.118.34]
2284        
2285           ----- The following addresses had permanent fatal errors -----
2286        |~/bin/mail/recieveMail
2287            (reason: 2)
2288            (expanded from: jonen_mail)
2289        
2290           ----- Transcript of session follows -----
2291        Can't locate Sys/Hostname.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at /usr/share/perl5/Mail/Audit.pm line 6.
2292        BEGIN failed--compilation aborted at /usr/share/perl5/Mail/Audit.pm line 6.
2293        Compilation failed in require at /etc/mail/smrsh/recieveMail line 57.
2294        BEGIN failed--compilation aborted at /etc/mail/smrsh/recieveMail line 57.
2295        554 5.3.0 unknown mailer error 2
2296        o scan for this! (global/default milter.filter? -> "module not found: "{modulename}" - try to install it? [Y/n] ")
2297    
2298    o dispatchmail-errors!!!
2299      #> su joko_mail
2300      #> cd ~
2301      #> perl .dispatchmailrc
2302        Scalar found where operator expected at .dispatchmailrc line 231, near "m/ilo\.de/i $self"
2303        syntax error at .dispatchmailrc line 231, near "if $to "
2304        Execution of .dispatchmailrc aborted due to compilation errors.
2305      #> perl .dispatchmailrc
2306      #>
2307      means: {ok}
2308    
2309    o dispatchmail-errors!!!
2310      #> su {anybody}
2311      #> dispatchmail
2312        Global symbol "$self" requires explicit package name at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm line 193.
2313        Global symbol "$self" requires explicit package name at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm line 194.
2314        Compilation failed in require at /usr/local/bin/dispatchmail line 37.
2315        BEGIN failed--compilation aborted at /usr/local/bin/dispatchmail line 37.
2316    
2317    x added more verboseness to dispatchmail if rules-file has syntax-errors (hard to debug - sorry...)
2318      #> su joko_mail
2319      #> cd ~
2320      #> echo test | mail -s test joko
2321      #> tail -f Mail/.dispatchmail.log
2322        ----------------------------------------  TRACE  ----------
2323        From:    Mail Delivery Subsystem <MAILER-DAEMON>
2324        To:      postmaster
2325        Subject: Postmaster notify: see transcript for details
2326        ----------------------------------------  TRACE  ----------
2327        RULES:  Loading from "/home/joko/virtual/joko_mail/.dispatchmailrc".
2328        ERROR: ERROR: Delivery failed, '/home/joko/virtual/joko_mail/.dispatchmailrc' had syntax errors:
2329        syntax error at (eval 6) line 1, near "/home/joko"
2330      
2331        Forwarding delivery to next handler in queue (probably /var/spool/mail).
2332      #> tail -f Mail/.dispatchmail.log
2333        ----------------------------------------  TRACE  ----------
2334        From:    joko_mail@netfrag.org
2335        To:      joko@quepasa.netfrag.org
2336        Subject: test
2337        ----------------------------------------  TRACE  ----------
2338        RULES:  Loading from "/home/joko/virtual/joko_mail/.dispatchmailrc".
2339        RULES:  Running Perl sub "rules::dispatch".
2340        ACCEPT: /home/joko/virtual/joko_mail/Mail/SORTED/me2myself
2341    
2342    i old code from /home/service/virtual/gateway/.dispatchmailrc
2343        if ($to =~ /links-computing/) {
2344      print "COPY", "\n";
2345          #$self->copy('Newsgate', 'alt.test');
2346          $self->copy('Newsgate', 'nfo.links.computing');
2347          #my $prg = $0;
2348          #my $prg = '/data/opt/dispatchmail/bin/dispatchmail';
2349          #my $prg = '/etc/mail/smrsh/dispatchmail';
2350          #my $pipeTo = $prg . ' --mode=mail2news --thread=alt.test --base=/home/collector';
2351          #$self->report("PIPE: " . $pipeTo);
2352          #$incoming->pipe($pipeTo);
2353        }
2354    
2355    o monitor:
2356      o /home/service/virtual/gateway/.mail-delivery_errors.log
2357      o /home/service/joko_mail/.mail-delivery_errors.log
2358      o /home/service/joko_mail/Mail/.mail-delivery.log
2359    
2360    i quepasa.netfrag.org
2361      #> userdel newscollector
2362      #> echo test | mail -s test test@netfrag.org
2363      i further dispatchmail testing....
2364      #> cd /data/opt/tools/dispatchmail/bin-tests
2365      #> ./build_dispatch test
2366        Can't locate object method "id" via package "Mail::Audit" at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm line 220, <STDIN> line 16.
2367      #> ./build_dispatch test
2368        Use of uninitialized value in scalar chomp at /data/libs/nfo/perl/libs/org/netfrag/shortcuts.pm line 73, <STDIN> line 16.
2369      #> ./build_dispatch test
2370      #>
2371      means: {ok}
2372    
2373    i quepasa.netfrag.org - mail2news gateway test routine
2374      #> echo test | mail -s test test
2375      #> tail -f /var/log/syslog
2376        Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org connect
2377        Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org perl filtering enabled
2378        Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org user collector
2379        Mar 23 23:02:18 quepasa innd: localhost connected 15
2380        Mar 23 23:02:18 quepasa innd: localhost:15 closed seconds 0 accepted 1 refused 0 rejected 0
2381        Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org post ok <200303232202.h2NM2EZl007775@quepasa.netfrag.org>
2382        Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org exit articles 0 groups 0
2383        Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org posts received 1 rejected 0
2384        Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org times user 0.000 system 0.019 elapsed 0.182
2385        Mar 23 23:02:18 quepasa sm-mta[7780]: h2NM2EQZ007776: to=|/data/opt/dispatchmail/bin/dispatchmail, ctladdr=<test@quepasa.netfrag.org> (1014/1014), delay=00:00:04, xdelay=00:00:03, mailer=prog, pri=30682, dsn=2.0.0, stat=Sent
2386    
2387    o metadata for "News-Portal"???  ->MetaBox!
2388    
2389    i mail2news - without context
2390      #> tail -f /var/log/syslog
2391        Mar 23 23:07:40 quepasa nnrpd[7785]: pd9e77b87.dip.t-dialin.net group alt.test 4
2392        Mar 23 23:08:15 quepasa innd: ME time 402022 idle 401938(12) artwrite 1(1) artlink 0(0) hiswrite 2(1) hissync 0(2) sitesend 2(1) artctrl 0(0) artcncl 0(0) hishave 1(1)
2393    
2394    x enhanced dispatchmail:
2395      - renamed log- and errorlog-files
2396      - header-field 'Message-ID' now included when tracing ( important, of course... ;-) )
2397      - example: (e.g.   #> echo test | mail -s test test@netfrag.org  )
2398        2003-03-23 23:11:22 - /etc/mail/smrsh/dispatchmail running for user ''.
2399        ----------------------------------------  TRACE  ----------
2400        From:       "Andreas Motl" <andreas.motl@ilo.de>
2401        To:         <test@netfrag.org>
2402        Subject:    test@netfrag.org
2403        Message-ID: <026701c2f189$6bf13a60$630aa8c0@grasshopper>
2404        ----------------------------------------  TRACE  ----------
2405        RULES:  Loading from "/data/home/service/virtual/gateway/.dispatchmailrc".
2406        RULES:  Running Perl sub "rules::dispatch".
2407        IGNORE
2408    
2409    o make this possible
2410      x not: RULES:  Running Perl sub "rules::dispatch". .... [done]
2411      o but: RULES:  Loading from LDAP(address|query)
2412      o but: RULES:  Loading from XML|RDBMS(address|query)
2413    
2414    i search::Abadan
2415    
2416    i some html-meta-tags: (copied from http://www.fas.org/index.html)
2417      <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2418      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
2419      <meta name="resource-type" content="document">
2420      <meta name="description" content="
2421      <meta name="keywords" content="
2422      <meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; U) [Netscape]">
2423    
2424    m http://www.un.org/Pubs/chronicle/2000/issue2/0200p29p.htm
2425      http://www.unites.org/
2426      http://www.un.org/esa/coordination/ecosoc/itforum/
2427      http://www.unv.org/
2428    
2429    o search::Success Stories in the Developing World
2430    
2431    m http://www.ibsys.com
2432      #> whois ibsys.com
2433      #> whois kfoxtv.com
2434      #> whois cox.com
2435    
2436    m http://web.archive.org/web/20020213120001/http://www.fbi.gov/fbinbrief/hallhonor/foxhaber.htm
2437    
2438    i search::Halliburton
2439    
2440    i from: http://www.spaceimaging.com/newsroom/select_2002.htm
2441      [...]
2442      Dec. 15, 2002
2443      New York Times, Week in Review (Sunday), page 6, column 1C, “The World Three Targets; Three Strategies,”
2444      IKONOS image of Yongbyon, North Korea and Bushehr Reactor, Iran (photo/caption)
2445      [...]
2446    
2447    i from: http://www.spaceimaging.com/newsroom/select_2001.htm
2448      [...]
2449      December 19, 2001
2450      Asia Africa Intelligence Wire (Turkish Daily News), “Press Scanner: We are Monitoring Iran from Where We Stand,”
2451      quote from Hurriyet regarding SI Eurasia’s grand opening ceremony (brief)
2452      [...]
2453    
2454    l american military and associated/related links
2455      http://dodimagery.afis.osd.mil/
2456      http://afishp6.afis.osd.mil/dodimagery/davis/
2457      http://dodimagery.afis.osd.mil/dodimagery/davis/
2458      http://jccc.afis.osd.mil/images/images.pl
2459      http://jccc.afis.osd.mil/images/images.pl?Lbox=defenselink._Highlights_&cc=3&ban=2
2460      http://jccc.afis.osd.mil/images/images.pl?Lbox=defenselink._Highlights_&view_cap=1&ban=2&cc=3&lbc=3&tc=12&dir=&vn=&ref=http://dodimagery.afis.osd.mil/dodimagery/
2461      http://jccc.afis.osd.mil/images/sres.pl?Lbox_cap=761755&dir=Photo&vn=&ttl=030318-A-6132L-001&ref=http://dodimagery.afis.osd.mil/dodimagery/
2462      http://jccc.afis.osd.mil/
2463      http://jccc.afis.osd.mil/LBOX/micro/
2464      http://www.redstone.army.mil/
2465      https://ams9.redstone.army.mil:7443/pls/adpw/adpw_home
2466      https://ams9.redstone.army.mil:7443/pls/adpw/adpw_show_docs?p_cat_id=9
2467    
2468    ? WebTWAIN? is there something like that???
2469    
2470    o look (again) at mysqldiff.pl [C:\Programme\Perl\bin\mysqldiff.pl]
2471      are there updates (newer releases) available?
2472    
2473    o look at nlcvt: [C:\Programme\Perl\bin\nlcvt.pl]
2474      #!/usr/bin/perl -w
2475      # nlcvt - convert newline notations
2476      # Tom Christiansen, 9 March 1999
2477    
2478    o look at paste: [C:\Programme\Perl\bin\paste]
2479      =head1 NAME
2480      
2481      paste - merge corresponding or subsequent lines of files
2482      
2483      =head1 SYNOPSIS
2484      
2485      paste [-s] [-d list] file...
2486      
2487      =head1 DESCRIPTION
2488      
2489      Paste combines the corresponding lines of multiple files. Each line of each
2490      file is printed seperated by tab (or by the characters listed in the -d
2491      option).
2492    
2493    o look at morse: [C:\Programme\Perl\bin\morse]
2494    
2495    i investigate: "why some articles don't get posted?"
2496      Subject: Returned mail: see transcript for details
2497      Attachments: ATT01025.dat, Parallel Atlas 38°N.url
2498      The original message was received at Tue, 25 Mar 2003 17:05:24 +0100
2499      from pD9E7799B.dip.t-dialin.net [217.231.121.155]
2500      
2501         ----- The following addresses had permanent fatal errors -----
2502      |/data/opt/dispatchmail/bin/dispatchmail
2503          (reason: 255)
2504          (expanded from: <links-misc@netfrag.org>)
2505      
2506         ----- Transcript of session follows -----
2507      could not build news-article! at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch/Newsgate.pm line 62.
2508      to: "links-misc" <links-misc@netfrag.org>
2509      554 5.3.0 unknown mailer error 255
2510    
2511    i h1.service.netfrag.org
2512      Mar 25 21:17:05 h1 kernel: BLOCKED TCP PACKET: IN=eth0 OUT= MAC=00:10:dc:14:7d:0a:00:02:85:04:e0:00:08:00 SRC=218.42.127.241 DST=213.133.118.44 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=63455 DF PROTO=TCP SPT=4754 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
2513      Mar 25 21:17:07 h1 kernel: BLOCKED TCP PACKET: IN=eth0 OUT= MAC=00:10:dc:14:7d:0a:00:02:85:04:e0:00:08:00 SRC=218.42.127.241 DST=213.133.118.34 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=63601 DF PROTO=TCP SPT=4730 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
2514      Mar 25 21:17:07 h1 kernel: BLOCKED TCP PACKET: IN=eth0 OUT= MAC=00:10:dc:14:7d:0a:00:02:85:04:e0:00:08:00 SRC=218.42.127.241 DST=213.133.118.38 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=63615 DF PROTO=TCP SPT=4738 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
2515      Mar 25 21:17:07 h1 kernel: BLOCKED TCP PACKET: IN=eth0 OUT= MAC=00:10:dc:14:7d:0a:00:02:85:04:e0:00:08:00 SRC=218.42.127.241 DST=213.133.118.43 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=63639 DF PROTO=TCP SPT=4751 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
2516      Mar 25 21:17:13 h1 kernel: BLOCKED TCP PACKET: IN=eth0 OUT= MAC=00:10:dc:14:7d:0a:00:02:85:04:e0:00:08:00 SRC=218.42.127.241 DST=213.133.118.34 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=64072 DF PROTO=TCP SPT=4730 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
2517      Mar 25 21:17:13 h1 kernel: BLOCKED TCP PACKET: IN=eth0 OUT= MAC=00:10:dc:14:7d:0a:00:02:85:04:e0:00:08:00 SRC=218.42.127.241 DST=213.133.118.38 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=64089 DF PROTO=TCP SPT=4738 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
2518      Mar 25 21:17:13 h1 kernel: BLOCKED TCP PACKET: IN=eth0 OUT= MAC=00:10:dc:14:7d:0a:00:02:85:04:e0:00:08:00 SRC=218.42.127.241 DST=213.133.118.43 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=64127 DF PROTO=TCP SPT=4751 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
2519      Mar 25 21:17:13 h1 kernel: BLOCKED TCP PACKET: IN=eth0 OUT= MAC=00:10:dc:14:7d:0a:00:02:85:04:e0:00:08:00 SRC=218.42.127.241 DST=213.133.118.44 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=64132 DF PROTO=TCP SPT=4754 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
2520    
2521    i h1.service.netfrag.org
2522      netsaint not running!
2523      #> /etc/init.d/netsaintd start
2524      #> tail -f /var/log/messages
2525        Mar 25 21:26:58 h1 netsaint: NetSaint 0.0.6 starting... (PID=3814)
2526        Mar 25 21:26:58 h1 netsaint: Error: Contactgroup 'vortex' member list is NULL - Line 94
2527        Mar 25 21:26:58 h1 netsaint: Error in host configuration file '/usr/local/netsaint/etc/hosts.cfg' - Line 94 (Could not add contactgroup definition)
2528        Mar 25 21:26:58 h1 netsaint: Bailing out due to one or more errors encountered in the configuration files... (PID=3814)
2529      #> pico /usr/local/netsaint/etc/hosts.cfg
2530      #> CTRL + W [search] ->vortex
2531      --- snip ---
2532      contactgroup[vortex]=vortex;
2533      --- snip ---
2534      prepend line with '#'!
2535      #> /etc/init.d/netsaintd start
2536      #> tail -f /var/log/messages
2537        Mar 25 21:29:27 h1 netsaint: NetSaint 0.0.6 starting... (PID=3852)
2538        Mar 25 21:29:27 h1 netsaint: Warning: Host 'vortex' has no services associated with it!
2539        Mar 25 21:29:27 h1 netsaint: Finished daemonizing... (New PID=3853)
2540        Mar 25 21:29:27 h1 netsaint: Entering active mode...
2541      o let 'monit' monitor 'netsaintd'!!!
2542    
2543    o replace mysql-max through normal mysql-daemon on h1! (hopefully does result in a smaller memory-footprint)
2544    
2545    o migrate sorceress.deranger.org to one more uml-host? will it work....?
2546      o more processor power required!
2547    
2548    o migrate domains from moon1-4 to elessar.f7x.net: ask n0ck, flo and jjj...
2549    
2550    i grasshopper.netfrag.org: set PATH=c:\Programme\Perl\bin;%PATH%
2551    
2552    i h1.service.netfrag.org
2553      #> rpm -i ftp://rpmfind.net/linux/contrib/libc6/i386/nano-1.2.0-1.i386.rpm
2554      #> mysql -p{protected}
2555      #> use netsaint;
2556      #> update service set notification_group='super_admins' where notification_group='linux-admins';
2557      #> update service set check_interval=15 where check_interval=5;
2558      #> update service set check_interval=5 where check_interval=3;
2559      #> update service set check_interval=3 where check_interval=2;
2560      #> update service set check_interval=2 where check_command='check_ping';
2561      #> update service set notification_interval=240 where notification_interval=120;
2562    
2563    m some links...
2564      http://docs.indymedia.org/view/Main/WebHome
2565      http://lists.insecure.org/lists/politech/2002/Apr/0115.html
2566      http://lists.indymedia.org/mailman/public/confluence/2002-December.txt {???}
2567      http://www.getunderground.com/underground/links/index.cfm
2568      http://www.xs4all.nl/~wesphoto/
2569      
2570    m search::[bermuda triangle|dreieck]
2571      neutral:
2572        http://home.t-online.de/home/hans-peter.olschewski/bermuda.htm
2573      neutral(american military):
2574        http://www.history.navy.mil/faqs/faq8-1.htm
2575        History of USS Cyclops:
2576          http://www.history.navy.mil/danfs/c/cyclops.htm
2577          http://www.history.navy.mil/danfs/c/cyclops-1.htm
2578      myths, mysteries and theories:
2579        google::[The Spreading Mystery of the Bermuda Triangle]:
2580          http://scientium.com/diagon_alley/commentary/editorial_concourse/mcnamara/bermyth.htm
2581          http://web.archive.org/web/20020602081908/http://www.parascope.com/en/bermuda1.htm
2582          http://unmuseum.mus.pa.us/triangle.htm
2583        George X. Sands, in a report in Fate magazine
2584          http://www.ocean.fsu.edu/~www/Courses/sp00H1001/mdickler/crazypaper.html
2585          http://web.archive.org/web/20001005055051/http://www.fortunecity.com/roswell/warminster/167/theori.html
2586        Some more links....
2587          http://www.the-bermuda-triangle.com/
2588          http://www.bermuda-triangle.org/.
2589      conspiracy(paranormality):
2590        http://www.paranormality.com/bermuda_triangle.shtml
2591      conspiracy(Schwarze Sonne, Neuschwabenland, unterirdische und überirdische Basen):
2592        http://www.vho.org/D/Geheim2/26.html

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.148

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed