| 2149 | Mar 23 18:28:54 quepasa kernel: BLOCKED TCP PACKET: IN= OUT=eth0 SRC=213.133.118.36 DST=212.72.64.178 LEN=40 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=TCP SPT=113 DPT=37568 WINDOW=0 RES=0x00 ACK RST URGP=0 | Mar 23 18:28:54 quepasa kernel: BLOCKED TCP PACKET: IN= OUT=eth0 SRC=213.133.118.36 DST=212.72.64.178 LEN=40 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=TCP SPT=113 DPT=37568 WINDOW=0 RES=0x00 ACK RST URGP=0 | 
| 2150 |  |  | 
| 2151 | i quepasa: no space left on device!!! | i quepasa: no space left on device!!! | 
| 2152 |  | #> df | 
| 2153 |  | Filesystem           1K-blocks      Used Available Use% Mounted on | 
| 2154 |  | /dev/ubd/0             1007896    854608    102088  90% / | 
| 2155 |  | /dev/ubd/2             2015824    620952   1292472  100% /data | 
| 2156 |  | #> rm -r /home/service/virtual/pdumpfs/var/data/2003/03 | 
| 2157 |  | #> df | 
| 2158 |  | Filesystem           1K-blocks      Used Available Use% Mounted on | 
| 2159 |  | /dev/ubd/0             1007896    854608    102088  90% / | 
| 2160 |  | /dev/ubd/2             2015824    620952   1292472  33% /data | 
| 2161 | #> tail -f /var/log/news/news.err | #> tail -f /var/log/news/news.err | 
| 2162 | Mar 15 18:54:18 quepasa nnrpd[27242]: pd9e7778d.dip.t-dialin.net cant read Connection reset by peer | Mar 15 18:54:18 quepasa nnrpd[27242]: pd9e7778d.dip.t-dialin.net cant read Connection reset by peer | 
| 2163 | Mar 17 03:17:00 quepasa innd: SERVER cant write nfo/support/93 No space left on device | Mar 17 03:17:00 quepasa innd: SERVER cant write nfo/support/93 No space left on device | 
| 2246 | (bestmx map: lookup (h1.service.netfrag.org.): deferred) | (bestmx map: lookup (h1.service.netfrag.org.): deferred) | 
| 2247 | <alert@service.netfrag.org> | <alert@service.netfrag.org> | 
| 2248 | Total requests: 179 | Total requests: 179 | 
| 2249 |  | [...] | 
| 2250 |  | #> tail -f /var/log/syslog | 
| 2251 |  | Mar 23 19:37:14 quepasa sm-mta[5174]: h2MBqP7v002446: to=<root@h1.service.netfrag.org>, delay=1+06:00:01, xdelay=00:00:17, mailer=esmtp, pri=12092012, relay=h1.service.netfrag.org. [213.133.118.34], dsn=2.0.0, stat=Sent (h2NIavM03315 Message accepted for delivery) | 
| 2252 |  | Mar 23 19:37:16 quepasa sm-mta[4020]: h2MBfm7w002405: to=<root@h1.service.netfrag.org>, delay=1+06:09:51, xdelay=00:00:08, mailer=esmtp, pri=12182012, relay=h1.service.netfrag.org. [213.133.118.34], dsn=2.0.0, stat=Sent (h2NIb8i03354 Message accepted for delivery) | 
| 2253 |  | Mar 23 19:37:17 quepasa sm-mta[5174]: h2MBfm7v002405: to=<monit@h1.service.netfrag.org>, delay=1+06:11:15, xdelay=00:00:00, mailer=esmtp, pri=12182016, relay=h1.service.netfrag.org. [213.133.118.34], dsn=5.1.1, stat=User unknown | 
| 2254 |  | Mar 23 19:37:17 quepasa sm-mta[5174]: h2MBfm7v002405: h2NIVdml005174: return to sender: User unknown | 
| 2255 |  | #> mailq | 
| 2256 |  | [...] | 
| 2257 |  | MTA Queue status... | 
| 2258 |  | [...] | 
| 2259 |  | Total requests: 83 | 
| 2260 |  | #> tail -f /var/log/syslog | 
| 2261 |  |  | 
| 2262 |  | o connections to the cvs-daemon seem not to be recorded in syslog!? | 
| 2263 |  |  | 
| 2264 |  | 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 |  |  |