--- joko/doc/SampleTasks/joko_2003-03.twingle 2003/03/23 21:04:34 1.137 +++ joko/doc/SampleTasks/joko_2003-03.twingle 2003/03/26 04:53:24 1.150 @@ -10,7 +10,7 @@ @sequence meta @document-history @cvs-info - $Id: joko_2003-03.twingle,v 1.137 2003/03/23 21:04:34 joko Exp $ + $Id: joko_2003-03.twingle,v 1.150 2003/03/26 04:53:24 joko Exp $ Revision 1.93 2003/03/14 14:55:57 joko @@ -2313,4 +2313,325 @@ Global symbol "$self" requires explicit package name at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm line 194. Compilation failed in require at /usr/local/bin/dispatchmail line 37. BEGIN failed--compilation aborted at /usr/local/bin/dispatchmail line 37. - \ No newline at end of file + +x added more verboseness to dispatchmail if rules-file has syntax-errors (hard to debug - sorry...) + #> su joko_mail + #> cd ~ + #> echo test | mail -s test joko + #> tail -f Mail/.dispatchmail.log + ---------------------------------------- TRACE ---------- + From: Mail Delivery Subsystem + To: postmaster + Subject: Postmaster notify: see transcript for details + ---------------------------------------- TRACE ---------- + RULES: Loading from "/home/joko/virtual/joko_mail/.dispatchmailrc". + ERROR: ERROR: Delivery failed, '/home/joko/virtual/joko_mail/.dispatchmailrc' had syntax errors: + syntax error at (eval 6) line 1, near "/home/joko" + + Forwarding delivery to next handler in queue (probably /var/spool/mail). + #> tail -f Mail/.dispatchmail.log + ---------------------------------------- TRACE ---------- + From: joko_mail@netfrag.org + To: joko@quepasa.netfrag.org + Subject: test + ---------------------------------------- TRACE ---------- + RULES: Loading from "/home/joko/virtual/joko_mail/.dispatchmailrc". + RULES: Running Perl sub "rules::dispatch". + ACCEPT: /home/joko/virtual/joko_mail/Mail/SORTED/me2myself + +i old code from /home/service/virtual/gateway/.dispatchmailrc + if ($to =~ /links-computing/) { + print "COPY", "\n"; + #$self->copy('Newsgate', 'alt.test'); + $self->copy('Newsgate', 'nfo.links.computing'); + #my $prg = $0; + #my $prg = '/data/opt/dispatchmail/bin/dispatchmail'; + #my $prg = '/etc/mail/smrsh/dispatchmail'; + #my $pipeTo = $prg . ' --mode=mail2news --thread=alt.test --base=/home/collector'; + #$self->report("PIPE: " . $pipeTo); + #$incoming->pipe($pipeTo); + } + +o monitor: + o /home/service/virtual/gateway/.mail-delivery_errors.log + o /home/service/joko_mail/.mail-delivery_errors.log + o /home/service/joko_mail/Mail/.mail-delivery.log + +i quepasa.netfrag.org + #> userdel newscollector + #> echo test | mail -s test test@netfrag.org + i further dispatchmail testing.... + #> cd /data/opt/tools/dispatchmail/bin-tests + #> ./build_dispatch test + Can't locate object method "id" via package "Mail::Audit" at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm line 220, line 16. + #> ./build_dispatch test + Use of uninitialized value in scalar chomp at /data/libs/nfo/perl/libs/org/netfrag/shortcuts.pm line 73, line 16. + #> ./build_dispatch test + #> + means: {ok} + +i quepasa.netfrag.org - mail2news gateway test routine + #> echo test | mail -s test test + #> tail -f /var/log/syslog + Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org connect + Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org perl filtering enabled + Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org user collector + Mar 23 23:02:18 quepasa innd: localhost connected 15 + Mar 23 23:02:18 quepasa innd: localhost:15 closed seconds 0 accepted 1 refused 0 rejected 0 + Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org post ok <200303232202.h2NM2EZl007775@quepasa.netfrag.org> + Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org exit articles 0 groups 0 + Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org posts received 1 rejected 0 + Mar 23 23:02:18 quepasa nnrpd[7784]: quepasa.netfrag.org times user 0.000 system 0.019 elapsed 0.182 + Mar 23 23:02:18 quepasa sm-mta[7780]: h2NM2EQZ007776: to=|/data/opt/dispatchmail/bin/dispatchmail, ctladdr= (1014/1014), delay=00:00:04, xdelay=00:00:03, mailer=prog, pri=30682, dsn=2.0.0, stat=Sent + +o metadata for "News-Portal"??? ->MetaBox! + +i mail2news - without context + #> tail -f /var/log/syslog + Mar 23 23:07:40 quepasa nnrpd[7785]: pd9e77b87.dip.t-dialin.net group alt.test 4 + 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) + +x enhanced dispatchmail: + - renamed log- and errorlog-files + - header-field 'Message-ID' now included when tracing ( important, of course... ;-) ) + - example: (e.g. #> echo test | mail -s test test@netfrag.org ) + 2003-03-23 23:11:22 - /etc/mail/smrsh/dispatchmail running for user ''. + ---------------------------------------- TRACE ---------- + From: "Andreas Motl" + To: + Subject: test@netfrag.org + Message-ID: <026701c2f189$6bf13a60$630aa8c0@grasshopper> + ---------------------------------------- TRACE ---------- + RULES: Loading from "/data/home/service/virtual/gateway/.dispatchmailrc". + RULES: Running Perl sub "rules::dispatch". + IGNORE + +o make this possible + x not: RULES: Running Perl sub "rules::dispatch". .... [done] + o but: RULES: Loading from LDAP(address|query) + o but: RULES: Loading from XML|RDBMS(address|query) + +i search::Abadan + +i some html-meta-tags: (copied from http://www.fas.org/index.html) + + + + + +m http://www.un.org/Pubs/chronicle/2000/issue2/0200p29p.htm + http://www.unites.org/ + http://www.un.org/esa/coordination/ecosoc/itforum/ + http://www.unv.org/ + +o search::Success Stories in the Developing World + +m http://www.ibsys.com + #> whois ibsys.com + #> whois kfoxtv.com + #> whois cox.com + +m http://web.archive.org/web/20020213120001/http://www.fbi.gov/fbinbrief/hallhonor/foxhaber.htm + +i search::Halliburton + +i from: http://www.spaceimaging.com/newsroom/select_2002.htm + [...] + Dec. 15, 2002 + New York Times, Week in Review (Sunday), page 6, column 1C, “The World Three Targets; Three Strategies,” + IKONOS image of Yongbyon, North Korea and Bushehr Reactor, Iran (photo/caption) + [...] + +i from: http://www.spaceimaging.com/newsroom/select_2001.htm + [...] + December 19, 2001 + Asia Africa Intelligence Wire (Turkish Daily News), “Press Scanner: We are Monitoring Iran from Where We Stand,” + quote from Hurriyet regarding SI Eurasia’s grand opening ceremony (brief) + [...] + +l american military and associated/related links + http://dodimagery.afis.osd.mil/ + http://afishp6.afis.osd.mil/dodimagery/davis/ + http://dodimagery.afis.osd.mil/dodimagery/davis/ + http://jccc.afis.osd.mil/images/images.pl + http://jccc.afis.osd.mil/images/images.pl?Lbox=defenselink._Highlights_&cc=3&ban=2 + 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/ + 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/ + http://jccc.afis.osd.mil/ + http://jccc.afis.osd.mil/LBOX/micro/ + http://www.redstone.army.mil/ + https://ams9.redstone.army.mil:7443/pls/adpw/adpw_home + https://ams9.redstone.army.mil:7443/pls/adpw/adpw_show_docs?p_cat_id=9 + +? WebTWAIN? is there something like that??? + +o look (again) at mysqldiff.pl [C:\Programme\Perl\bin\mysqldiff.pl] + are there updates (newer releases) available? + +o look at nlcvt: [C:\Programme\Perl\bin\nlcvt.pl] + #!/usr/bin/perl -w + # nlcvt - convert newline notations + # Tom Christiansen, 9 March 1999 + +o look at paste: [C:\Programme\Perl\bin\paste] + =head1 NAME + + paste - merge corresponding or subsequent lines of files + + =head1 SYNOPSIS + + paste [-s] [-d list] file... + + =head1 DESCRIPTION + + Paste combines the corresponding lines of multiple files. Each line of each + file is printed seperated by tab (or by the characters listed in the -d + option). + +o look at morse: [C:\Programme\Perl\bin\morse] + +i investigate: "why some articles don't get posted?" + Subject: Returned mail: see transcript for details + Attachments: ATT01025.dat, Parallel Atlas 38°N.url + The original message was received at Tue, 25 Mar 2003 17:05:24 +0100 + from pD9E7799B.dip.t-dialin.net [217.231.121.155] + + ----- The following addresses had permanent fatal errors ----- + |/data/opt/dispatchmail/bin/dispatchmail + (reason: 255) + (expanded from: ) + + ----- Transcript of session follows ----- + could not build news-article! at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch/Newsgate.pm line 62. + to: "links-misc" + 554 5.3.0 unknown mailer error 255 + +i h1.service.netfrag.org + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + +i h1.service.netfrag.org + netsaint not running! + #> /etc/init.d/netsaintd start + #> tail -f /var/log/messages + Mar 25 21:26:58 h1 netsaint: NetSaint 0.0.6 starting... (PID=3814) + Mar 25 21:26:58 h1 netsaint: Error: Contactgroup 'vortex' member list is NULL - Line 94 + 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) + Mar 25 21:26:58 h1 netsaint: Bailing out due to one or more errors encountered in the configuration files... (PID=3814) + #> pico /usr/local/netsaint/etc/hosts.cfg + #> CTRL + W [search] ->vortex + --- snip --- + contactgroup[vortex]=vortex; + --- snip --- + prepend line with '#'! + #> /etc/init.d/netsaintd start + #> tail -f /var/log/messages + Mar 25 21:29:27 h1 netsaint: NetSaint 0.0.6 starting... (PID=3852) + Mar 25 21:29:27 h1 netsaint: Warning: Host 'vortex' has no services associated with it! + Mar 25 21:29:27 h1 netsaint: Finished daemonizing... (New PID=3853) + Mar 25 21:29:27 h1 netsaint: Entering active mode... + o let 'monit' monitor 'netsaintd'!!! + +o replace mysql-max through normal mysql-daemon on h1! (hopefully does result in a smaller memory-footprint) + +o migrate sorceress.deranger.org to one more uml-host? will it work....? + o more processor power required! + +o migrate domains from moon1-4 to elessar.f7x.net: ask n0ck, flo and jjj... + +i grasshopper.netfrag.org: set PATH=c:\Programme\Perl\bin;%PATH% + +i h1.service.netfrag.org + #> rpm -i ftp://rpmfind.net/linux/contrib/libc6/i386/nano-1.2.0-1.i386.rpm + #> mysql -p{protected} + #> use netsaint; + #> update service set notification_group='super_admins' where notification_group='linux-admins'; + #> update service set check_interval=15 where check_interval=5; + #> update service set check_interval=5 where check_interval=3; + #> update service set check_interval=3 where check_interval=2; + #> update service set check_interval=2 where check_command='check_ping'; + #> update service set notification_interval=240 where notification_interval=120; + +m some links... + http://docs.indymedia.org/view/Main/WebHome + http://lists.insecure.org/lists/politech/2002/Apr/0115.html + http://lists.indymedia.org/mailman/public/confluence/2002-December.txt {???} + http://www.getunderground.com/underground/links/index.cfm + http://www.xs4all.nl/~wesphoto/ + +m search::[bermuda triangle|dreieck] + neutral(german): + http://home.t-online.de/home/hans-peter.olschewski/bermuda.htm + neutral(american military): + http://www.history.navy.mil/faqs/faq8-1.htm + History of USS Cyclops: + http://www.history.navy.mil/danfs/c/cyclops.htm + http://www.history.navy.mil/danfs/c/cyclops-1.htm + various myths, mysteries and theories: + google::[The Spreading Mystery of the Bermuda Triangle]: + http://scientium.com/diagon_alley/commentary/editorial_concourse/mcnamara/bermyth.htm + http://web.archive.org/web/20020602081908/http://www.parascope.com/en/bermuda1.htm + http://unmuseum.mus.pa.us/triangle.htm + George X. Sands, in a report in Fate magazine + http://www.ocean.fsu.edu/~www/Courses/sp00H1001/mdickler/crazypaper.html + http://web.archive.org/web/20001005055051/http://www.fortunecity.com/roswell/warminster/167/theori.html + Some more links.... + http://www.the-bermuda-triangle.com/ + http://www.bermuda-triangle.org/. + http://www.bermuda-triangle.org/Theories/Electromagnetism/Those_Who_Lived_to_Tell/Rare_Form/rare_form.html + conspiracy(paranormality): + http://www.paranormality.com/bermuda_triangle.shtml + conspiracy(Schwarze Sonne, Neuschwabenland, unterirdische und überirdische Basen): + http://www.vho.org/D/Geheim2/26.html + theory([time, gravity, magnetism]): + http://www.bermuda-triangle.org/Theories/Time___Being/time___being.html + conspiracy(time travel): + physics(The Hutchison Effect - [tesla, electromagnetism, wavelengths, cold melting, Zero Point Energy]): + http://www.bermuda-triangle.org/Theories/Hutchison_Effect/The__Triangle__Machine_/the__triangle__machine_.html + http://hutchison.innoplaza.net/ + http://www.geocities.com/ResearchTriangle/Thinktank/8863/main.html + http://homepages.kcbbs.gen.nz/af/scienceb.htm + http://www.altenergy.org/index.html + http://www.padrak.com/ine/CCIAWARD2.html + http://www.padrak.com/ine/ + http://www.geocities.com/your_neighbor_2000/ + http://www.geocities.com/your_neighbor_2000/StarDrive.html + http://www.geocities.com/your_neighbor_2000/RAMBOdrv.bmp + Some more links... (some already missing) + http://www.osti.gov/gl99paper.html + http://www.doe.gov/bridge + http://www.etde.org./ + +i #> whois clearchannel.com + Registrant: + Clear Channel Communications (DOM-102362) + + 20880 Stone Oak Parkway San Antonio TX 78258 US + + + Domain Name: clearchannel.com + + Registrar Name: Alldomains.com + Registrar Whois: whois.alldomains.com + Registrar Homepage: http://www.alldomains.com + + Administrative Contact: + DNS Hostmaster (NIC-1359459) Clear Channel Communications + + 20880 Stone Oak Parkway San Antonio TX 78258 US + dns@clearchannel.com +1.2102535000 Fax- +1.2102535013 + + Technical Contact, Zone Contact: + DNS Administrative Role Account (NIC-1359460) Clear Channel Communications + + 20880 Stone Oak Parkway San Antonio TX 78258 US + dns@clearchannel.com +1.2102535000 Fax- +1.2102535013 +