home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / vmsnet / mail / pmdf / 2471 < prev    next >
Encoding:
Text File  |  1992-10-15  |  14.4 KB  |  516 lines

  1. Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!mccall!ipmdf-newsgate!list
  2. Newsgroups: vmsnet.mail.pmdf
  3. Subject: Looping mail
  4. Message-ID: <01GPZ8X07F0I002I96@INDYVAX.IUPUI.EDU>
  5. From: "Mark H. Wood" <imhw400@indyvax.iupui.edu>
  6. Date: 15 Oct 1992 13:32:19 -0500
  7. Organization: Indiana University - Purdue University at Indianapolis
  8. Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
  9. Resent-Date: 15 Oct 1992 13:32:19 -0500
  10. Resent-From: epmdf@YMIR.CLAREMONT.EDU
  11. Errors-To: epmdf@YMIR.CLAREMONT.EDU
  12. Resent-Message-ID: <01GPZ5HE96Z68WXJ5Q@YMIR.CLAREMONT.EDU>
  13. X-Vms-To: IN%"IPMDF@YMIR.CLAREMONT.EDU"
  14. X-Vms-Cc: IMHW400
  15. Mime-Version: 1.0
  16. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  17. Content-Transfer-Encoding: 7BIT
  18. Lines: 496
  19.  
  20. We're running PMDF V4.1-6 under VMS V5.5.  Two days ago the local channel
  21. started looping all mail queued to it.  Eventually it all gets .HELD.  Outgoing
  22. mail seems to be leaving the system just fine, but no incoming mail is being
  23. delivered.
  24.  
  25. The strange thing is that nothing changed on Tuesday!  I haven't edited
  26. PMDF.CNF in months, and the files that it includes were last updated on
  27. 4-Oct-1992.  PMDF TEST/REWRITE shows nothing strange when fed local addresses.
  28.  
  29. I've rebuilt and reinstalled the configuration database a number of times,
  30. INSTALL REMOVEd the PMDF images and rerun PMDF_STARTUP, renamed the queue cache
  31. away and let PMDF rebuild it, and any other desperate thing I could think of.
  32. The looping files are not destined for users with forwarding problems, or
  33. indeed any kind of forwarding; all users are affected.
  34.  
  35. I've attached my PMDF.CNF, an L_MASTER.LOG with slave_debug turned on, the
  36. rerouted file that resulted from that run, and output from PMDF TEST/REWRITE
  37. for a local address.  Any suggestions for solutions or further investigation
  38. would be appreciated.  Obviously I can't receive mail here, but you can reach
  39. me at IMHW400@INDYCMS.IUPUI.EDU and I'll be watching vmsnet.mail.pmdf as well.
  40.  
  41. !    Rules and channel blocks that must be maintained by hand.
  42. !    Mark H. Wood, 18-Aug-1989
  43. !
  44. !    This host
  45. !
  46. INDYVAX                    $U@INDYVAX.IUPUI.EDU
  47. INDYVAX.BITNET                $U@INDYVAX.IUPUI.EDU
  48. IVAX                    $U@INDYVAX.IUPUI.EDU
  49. INDYVAX.IUPUI.EDU            $U@INDYVAX.IUPUI.EDU
  50. !
  51. !    Non-BITNET NJE nodes
  52. !
  53. ISBH                    $U%ISBH@JNET-DAEMON
  54. ISBH.BITNET                $U%ISBH@JNET-DAEMON
  55. !
  56. ! Rewrite rules for TCP/IP domain literals
  57. !
  58. [134.68.1.2]                            $U@indyvax.iupui.edu
  59. []                                      $U%[$L]@WTCP-DAEMON
  60. !
  61. ! Rewrite for BITNET gateways
  62. !
  63. BITNET-GATEWAY                          $U@BITNET-GATEWAY
  64. !
  65. ! Rewrites for internal processing channels
  66. !
  67. reprocess.indyvax.iupui.edu             $U@reprocess.indyvax.iupui.edu
  68. defragment.indyvax.iupui.edu            $U@defragment.indyvax.iupui.edu
  69. !
  70. !    Hack to hide brokenness of VINES header parsing
  71. !
  72. VINES.IUSB.INDIANA.EDU        $U$@VINES.IUSB.INDIANA.EDU%IUGATE.DECNET
  73. SBVINES.IUSB.INDIANA.EDU    $U$@SBVINES.IUSB.INDIANA.EDU%IUGATE.DECNET
  74. !
  75. !    Default rules
  76. !
  77. .CSNET            $U%$H.CSNET@WTCP-DAEMON
  78. .DECNET            $U%$H@DECNET-MAIL
  79. .MAILNET        $U%$H.MAILNET@WTCP-DAEMON
  80. .PROFS            $U%$H@PROFS-MAIL
  81. .SMTP            $U%$H@WTCP-DAEMON
  82. .UUCP            $U%$H
  83. !
  84. !    Rewrites for all official Internet top-level domains
  85. !
  86. <PMDF_ROOT:[TABLE]TCPIP.RULES
  87. !
  88. !    Rewrites for known DECnet nodes, to protect them from UUCP and BITNET
  89. !    impostors
  90. !
  91. INDYGI.IUPUI.EDU    $U@INDYGI.IUPUI.EDU
  92. INDYGI            $U@INDYGI.IUPUI.EDU
  93. ISDGIS.IUPUI.EDU    $U@INDYGI.IUPUI.EDU
  94. ISDGIS            $U@INDYGI.IUPUI.EDU
  95. LASIR1.IUPUI.EDU    $U@INDYGI.IUPUI.EDU
  96. LASIR1            $U@INDYGI.IUPUI.EDU
  97. LASIR2.IUPUI.EDU    $U@INDYGI.IUPUI.EDU
  98. LASIR2            $U@INDYGI.IUPUI.EDU
  99. LASIR3.IUPUI.EDU    $U@INDYGI.IUPUI.EDU
  100. LASIR3            $U@INDYGI.IUPUI.EDU
  101. LASIR4.IUPUI.EDU    $U@INDYGI.IUPUI.EDU
  102. LASIR4            $U@INDYGI.IUPUI.EDU
  103. LASIR5.IUPUI.EDU    $U@INDYGI.IUPUI.EDU
  104. LASIR5            $U@INDYGI.IUPUI.EDU
  105. LASIR6.IUPUI.EDU    $U@INDYGI.IUPUI.EDU
  106. LASIR6            $U@INDYGI.IUPUI.EDU
  107. <PMDF_ROOT:[TABLE]DECNET.RULES
  108. !
  109. !    Rewrites for BITNET nodes and gateways
  110. !
  111. <PMDF_ROOT:[TABLE]BITNET.RULES
  112. <PMDF_ROOT:[TABLE]GATES.RULES
  113. !
  114. !    Channel table
  115.  
  116. !
  117. !    local channel
  118. !
  119. l 822 bidirectional slave_debug noserviceall nosendpost nox_env_to defragment charset7 us-ascii charset8 iso-8859-1
  120. INDYVAX.IUPUI.EDU
  121.  
  122. !
  123. !    DECnet SMTP channel
  124. !
  125. dsmtp_local single_sys smtp immediate
  126. dsmtp-daemon
  127. INDYGI.IUPUI.EDU    INDYGI
  128.  
  129. !
  130. !    DECnet MAIL channel
  131. !
  132. d 733 nosendpost nox_env_to defragment linelength 255 charset7 us-ascii charset8 iso-8859-1
  133. DECNET-MAIL IVAX
  134. IUGATE.DECNET        IUGATE
  135. GOLD.DECNET        GOLD
  136. AQUA.DECNET        AQUA
  137. JADE.DECNET        JADE
  138. PRISM.DECNET        PRISM
  139. ROSE.DECNET        ROSE
  140. AMBER.DECNET        AMBER
  141.  
  142. !
  143. !    Jnet NJE channel
  144. !
  145. bit_local 733 single nosmtp nosendpost nox_env_to
  146. JNET-DAEMON INDYVAX.BITNET
  147.  
  148. !
  149. !    Jnet BITNET gateway channel (for local BSMTP support)
  150. !
  151. bit_gateway
  152. BITNET-GATEWAY
  153.  
  154. !
  155. !    Jnet PROFS channel
  156. !
  157. mail_profs 733
  158. PROFS-MAIL INDYVAX
  159.  
  160. !
  161. !    Wollongong TCP/IP channel
  162. !
  163. wtcp_local single_sys smtp nosendpost nox_env_to mx
  164. WTCP-DAEMON
  165.  
  166. !
  167. ! Channel to reassemble MIME message/partial parts
  168. !
  169. defragment nox_env_to
  170. defragment.indyvax.iupui.edu
  171.  
  172. !
  173. ! Channel to handling reprocessing jobs
  174. !
  175. reprocess nox_env_to
  176. reprocess.indyvax.iupui.edu
  177.  
  178. !
  179. ! PMDF-FAX channels
  180. !
  181. !<PMDF_ROOT:[TABLE]FAX.CHANS
  182.  
  183. !
  184. ! PMDF-MR channels
  185. !
  186. !<PMDF_ROOT:[TABLE]MR.CHANS
  187.  
  188. !
  189. !    BITNET gateway channels
  190. !
  191. <PMDF_ROOT:[TABLE]GATES.CHANS
  192.  
  193. !
  194. !    Mail-based file and list services channel
  195. !
  196. mailserv logging
  197. mailserv-daemon
  198.  
  199. $   @_$20$DUS21:[PMDF.V040-2.EXE]MASTER.COM;117 L NOPOLL 15-OCT-1992:13:02:20.86 01GPZ8MATJ5200257Z
  200. $ ! MASTER.COM - Initiate delivery of messages queued on a channel
  201. $ !
  202. $ ! Modification history and parameter definitions are at the end of this file.
  203. $ !
  204. $ ! Fix command definitions
  205. $ !
  206. $ close = "close"
  207. $ deallocate = "deallocate"
  208. $ deassign = "deassign"
  209. $ define = "define"
  210. $ directory = "directory"
  211. $ exit = "exit"
  212. $ goto = "goto"
  213. $ mail = "mail"
  214. $ on = "on"
  215. $ open = "open"
  216. $ run = "run"
  217. $ set = "set"
  218. $ wait = "wait"
  219. $ ! Redefinition of some or all of these does not work with VMS versions
  220. $ ! prior to VMS 5.4.
  221. $ ! if = "if"
  222. $ ! then = "then"
  223. $ ! else = "else"
  224. $ ! endif = "endif"
  225. $ !
  226. $ set noon
  227. $ if f$logical("PMDF_ROOT") .eqs. "" then exit
  228. $ !
  229. $ ! Clean up and set up channel name, if on hold just exit
  230. $ !
  231. $ channel_name = f$edit(p1, "COLLAPSE,LOWERCASE")
  232. $ hold_list = "," + f$edit(f$logical("PMDF_HOLD"), "COLLAPSE,LOWERCASE") + ","
  233. $ if f$locate("," + channel_name + ",", hold_list) .lt. -
  234.      f$length(hold_list) then exit
  235. $ define/process pmdf_channel "l"
  236. $ !
  237. $ ! Save state information, set up environment properly
  238. $ !
  239. $ save_process_name = f$getjpi(0,"PRCNAM")
  240. $ process_name = "PMDF " + f$extract(0,10,channel_name)
  241. $ set process/name="PMDF l"
  242. $ save_directory = f$environment("DEFAULT")
  243. $ set default pmdf_root:[queue]
  244. $ save_protection = f$environment("PROTECTION")
  245. $ set protection=(s:rwed,o:rwed,g,w)/default
  246. $ save_privileges = f$setprv("NOSHARE")
  247. $ !
  248. $ if f$logical("PMDF_DEBUG") .eqs. "" then on control_y then goto out
  249. $ !
  250. $ ! Set up symbols and logicals for possible listing
  251. $ !
  252. $ dirlst_file = "pmdf_root:[log]" + channel_name + "_master_dirlst_" + -
  253.   f$getjpi("", "PID") + ".tmp"
  254. $ if p3 .eqs. "" then p3 = "1-JAN-1970"
  255. $ define/process pmdf_since "15-OCT-1992:13:02:20.86"
  256. $ !
  257. $ ! We no longer create a listing file -- this command is for reference
  258. $ ! purposes only.
  259. $ !
  260. $ ! define/process outbound 'dirlst_file'
  261. $ ! $ directory/nohead/notrail/colu=1/sinc="'p3'"/outp='dirlst_file'-
  262. $ !   pmdf_root:[queue.'channel_name']*.%%;*
  263. $ !
  264. $ ! Determine whether or not a connection should really be made
  265. $ !
  266. $ if p2 .eqs. "POLL" then goto connection_ok
  267. $ if f$search("pmdf_root:[queue.l]*.%%;") .eqs. "" then goto out1
  268. $ p9 = f$search("")
  269. $ connection_ok:
  270. $ !
  271. $ ! Handle various channels specially
  272. $ !
  273. $ if channel_name .eqs. "bitbucket"  then goto bitbucket_channel
  274. $ if channel_name .eqs. "d"          then goto DECnet_compatibility_channel
  275. $ if channel_name .eqs. "defragment" then goto defragment_channel
  276. $ if channel_name .eqs. "directory"  then goto dir_channel
  277. $ if channel_name .eqs. "l"          then goto local_channel
  278. $ local_channel:
  279. $ MAIL_channel:
  280. $ DECnet_compatibility_channel:
  281. $ !
  282. $ ! We now delivery it all with one invocation of MAIL_SERVER. Speeds things
  283. $ ! up a LOT!
  284. $ !
  285. $ define/user outbound pmdf_root:[log]l_master_dirlst_0001B673.tmp
  286. $ run pmdf_root:[exe]list.exe
  287. $ !
  288. $ priv_list = f$setprv("SYSPRV, DETACH, BYPASS")
  289. $ if f$logical("PMDF_MESSAGE_FILE") .nes. "" then close/nolog queue_file
  290. $ open/read pmdf_message_list pmdf_root:[log]l_master_dirlst_0001B673.tmp
  291. $ !
  292. $ local_loop_1:
  293. $   mail/protocol=pmdf_mailshr
  294. mm_init has been called.
  295. qu_init has been called.
  296. deliver_init has been called.
  297.   Translating PMDF_MESSAGE_LIST
  298.   Trying to open message list file.
  299. Finding and opening message file.
  300. Opening PMDF_ROOT:[QUEUE.l]ZZ01GPZ8ME078800257Z.00
  301. Open successful.
  302. Checking for possible ERAC request message.
  303. deliver_winit has been called.
  304. Checking addresses for various delivery mechanisms.
  305. Address IMHW400 determined to be local to VMS MAIL.
  306. Processing headers.
  307.   Adding Return-path:.
  308. setup_do_returns called.
  309. MAIL_IN_CONNECT returning.
  310. MAIL_IN_LINE called with: 9
  311. IN_SENDER option used.
  312. VMS version  V5
  313. copy_vstring_to_descr called.
  314. String copied: "IN%"SYSTEM@INDYVAX.IUPUI.EDU""
  315. IN_SENDER option finished.
  316. MAIL_IN_LINE returning.
  317. MAIL_IN_LINE called with: 10
  318. IN_CKUSER option used.
  319. PUSH called.
  320.   after PUSH:
  321.          USER_CHECK
  322.             BAD_MSG
  323.   PMDF To: address: IMHW400
  324.   VMS MAIL To: address: IMHW400
  325. copy_vstring_to_descr called.
  326. String copied: "IMHW400"
  327. IN_CKUSER option finished.
  328. MAIL_IN_LINE returning.
  329. MAIL_OUT_CONNECT called.
  330. copy_descr_to_vstring called.
  331. String copied: "IN"
  332. copy_descr_to_vstring called.
  333. String copied: ""
  334.   Clearing trouble flag.
  335.   Protocol = "IN%"
  336.   Node = ""
  337. MAIL_OUT_CONNECT returning.
  338. MAIL_OUT_LINE called with:         1
  339.   OUT_SENDER option used.
  340. copy_descr_to_vstring called.
  341. String copied: "IN%"SYSTEM@INDYVAX.IUPUI.EDU""
  342. MAIL_OUT_LINE returning.
  343. MAIL_OUT_CHECK called with: 2
  344.   CKUSER option used.
  345. copy_descr_to_vstring called.
  346. String copied: "IMHW400"
  347. copy_descr_to_vstring called.
  348. String copied: ""
  349.   Associated protocol: "IN%"
  350.   Associated protocol node: ""
  351.   PMDF address result: "IMHW400"
  352. MAIL_OUT_CHECK returning.
  353. MAIL_IO_WRITE called.
  354. TOP_OF_STACK called.
  355.  returning      USER_CHECK
  356. User check.
  357.  got a stat: 1
  358. MAIL_IO_WRITE returning.
  359. MAIL_IN_LINE called with: 10
  360. IN_CKUSER option used.
  361. POP called.
  362.   after POP:
  363.             BAD_MSG
  364. copy_vstring_to_descr called.
  365. String copied: "
  366. IN_CKUSER option finished.
  367. MAIL_IN_LINE returning.
  368. MAIL_IN_LINE called with: 11
  369. IN_TO option used.
  370. copy_vstring_to_descr called.
  371. String copied: "IN%"IMHW400@INDYVAX.IUPUI.EDU""
  372. IN_TO option finished.
  373. MAIL_IN_LINE returning.
  374. MAIL_IN_LINE called with: 16
  375. IN_CC option used.
  376. copy_vstring_to_descr called.
  377. String copied: ""
  378. IN_CC option finished.
  379. MAIL_IN_LINE returning.
  380. MAIL_IN_LINE called with: 12
  381. IN_SUBJ option used.
  382. copy_bigvstring_to_descr called.
  383. String copied: "hi"
  384. IN_SUBJ option finished.
  385. MAIL_IN_LINE returning.
  386. MAIL_IN_ATTRIBS called.
  387. MAIL_IN_ATTRIBS returning.
  388. MAIL_IN_FILE called.
  389. Providing attop header RFAs.
  390. Copying message body.
  391. Copy complete -- 1 line(s) copied.
  392. PUSH called.
  393.   after PUSH:
  394.      DELIVERY_CHECK
  395.             BAD_MSG
  396. MAIL_IN_FILE returning.
  397. MAIL_OUT_CHECK called with: 2
  398.   CKUSER option - user list terminated.
  399. MAIL_OUT_CHECK returning.
  400. MAIL_OUT_LINE called with:         3
  401.   OUT_TO option used.
  402. copy_descr_to_bigvstring called.
  403. String copied: "IN%"IMHW400@INDYVAX.IUPUI.EDU""
  404. MAIL_OUT_LINE returning.
  405. MAIL_OUT_LINE called with:        17
  406.   OUT_CC option used.
  407. copy_descr_to_bigvstring called.
  408. String copied: ""
  409. MAIL_OUT_LINE returning.
  410. MAIL_OUT_LINE called with:         4
  411.   OUT_SUBJ option used.
  412. copy_descr_to_bigvstring called.
  413. String copied: "hi"
  414. MAIL_OUT_LINE returning.
  415. MAIL_OUT_ATTRIBS called.
  416. MAIL_OUT_ATTRIBS returning.
  417. MAIL_OUT_FILE called.
  418.   Initializing header and filename storage.
  419.   Fixing RAB for proper read mode.
  420.   The BIO field of the RAB is set  FALSE
  421.   Header location information: start = 0, end = 13, skip = 0
  422.   Reading headers from forwarded message.
  423.   Resetting to beginning of file.
  424.   Supplying missing message headers.
  425.   Adding X-VMS-Cc: header.
  426.   Building To: and Cc: headers from address list.
  427.     Processed X-VMS-To: line:
  428.  IMHW400@INDYVAX.IUPUI.EDU
  429.     Processed X-VMS-Cc: line:
  430.   Scanning stored address...
  431.    List address: "IMHW400"
  432.     Expanded address:
  433.       IMHW400@INDYVAX.IUPUI.EDU     No match; put on To: line by default.
  434.   Final To: line:
  435.  IMHW400@INDYVAX.IUPUI.EDU
  436.   Final Cc: line:
  437.   Adding To: header.
  438.   Copying message body in text mode.
  439.   Header detected; skipping...
  440.   Copy complete -- 1 line(s) copied.
  441.   Finishing PMDF message submission.
  442. MAIL_OUT_FILE returning.
  443. MAIL_OUT_CHECK called with: 6
  444.   CKSEND option used.
  445. MAIL_OUT_CHECK returning.
  446. MAIL_IO_WRITE called.
  447. TOP_OF_STACK called.
  448.  returning  DELIVERY_CHECK
  449. Delivery check, got a stat: 1
  450. MAIL_IO_WRITE returning.
  451. MAIL_OUT_DEACCESS called.
  452. MAIL_OUT_DEACCESS returning.
  453. MAIL_IN_LINE called with: 9
  454. IN_SENDER option used.
  455. start_message called.
  456. Initializing state stack.
  457. INIT_STACK called.
  458. PUSH called.
  459.   after PUSH:
  460.             BAD_MSG
  461. finish_message called.
  462. Closing and deleting the message file.
  463. mm_init has been called.
  464. Finding and opening message file.
  465. Message list exhausted; exiting...
  466. do_returns called.
  467. finish_message called.
  468. $   if .not. $status then goto local_loop_1
  469. $ !
  470. $ priv_list = f$setprv(priv_list)
  471. $ close pmdf_message_list
  472. $ delete pmdf_root:[log]l_master_dirlst_0001B673.tmp;*
  473. $ goto out1
  474. $ out1:
  475. $ !
  476. $ ! Common exit point - clean up things first
  477. $ !
  478. $ out:
  479. $ if f$logical("PMDF_CHANNEL") .nes. "" then deassign/process pmdf_channel
  480. $ if f$logical("PMDF_SINCE") .nes. "" then deassign/process pmdf_since
  481. $ if f$logical("PMDF_DATA") .nes. "" then close pmdf_data
  482. $ if f$logical("PMDF_MESSAGE_LIST") .nes. "" then close pmdf_message_list
  483. $ if f$logical("PMDF_DEVICE") .eqs. "" then goto restore
  484. $ restore:
  485. $ !
  486. $ ! Restore saved stuff
  487. $ !
  488. $ set protection=(SYSTEM=RWED, OWNER=RWED, GROUP, WORLD)/default
  489. $ set default SYS$SYSROOT:[SYSMGR]
  490. $ set process/priv=(SHARE)
  491. $ set process/name="<PMDF-8605>"
  492. $ !
  493. $ exit
  494. $   deassign SYS$OUTPUT
  495.  
  496. m;SYSTEM@INDYVAX.IUPUI.EDU
  497. IMHW400
  498. 
  499. Received: from INDYVAX.IUPUI.EDU by INDYVAX.IUPUI.EDU (PMDF #2673 ) id
  500.  <01GPZ8N4OYF4002ELV@INDYVAX.IUPUI.EDU>; Thu, 15 Oct 1992 13:03:05 -0500
  501. Received: from INDYVAX.IUPUI.EDU by INDYVAX.IUPUI.EDU (PMDF #2673 ) id
  502.  <01GPZ8MASZUS00257Z@INDYVAX.IUPUI.EDU>; Thu, 15 Oct 1992 13:02:25 -0500
  503. Date: 15 Oct 1992 13:02:24 -0500
  504. From: SYSTEM@INDYVAX.IUPUI.EDU
  505. Subject: hi
  506. Resent-to: IMHW400@INDYVAX.IUPUI.EDU
  507. To: IMHW400@INDYVAX.IUPUI.EDU
  508. Resent-message-id: <01GPZ8N4SPG2002ELV@INDYVAX.IUPUI.EDU>
  509. Message-id: <01GPZ8MATJ5200257Z@INDYVAX.IUPUI.EDU>
  510. X-VMS-To: IN%IMHW400
  511. MIME-version: 1.0
  512. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  513. Content-transfer-encoding: 7BIT
  514.  
  515. there
  516.