[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference star::wizards

Title: "ASK THE WIZARDS"
Moderator:QUARK::LIONEL
Created:Mon Oct 30 1995
Last Modified:Mon May 12 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1857
Total number of notes:3728

1732.0. "Open: difficulty gaining access to the mail index file" by STAR::JKEENAN () Fri Apr 25 1997 13:13

Return-Path: "VMS001::WWW"@vms001.das-x.dec.com
Received: by vmsmkt.zko.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
	Mon, 31 Mar 1997 12:37:01 -0500
Received: from vms001 by mail13.digital.com (8.7.5/UNX 1.5/1.0/WV)
	id MAA08236; Mon, 31 Mar 1997 12:32:58 -0500 (EST)
Date: Mon, 31 Mar 1997 12:35:45 -0500
Message-Id: <[email protected]>
From: "VMS001::WWW"@vms001.das-x.dec.com (31-Mar-1997 1235)
To: [email protected], [email protected], [email protected]
Subject: Ask the Wizard: '[email protected]'
X-VMS-To: [email protected]

Remote Host: (null)
Browser Type: NCSA_Mosaic/2.7b2A (X11;OpenVMS V6.2 VAX)  libwww/2.12 modified
Remote Info: <null>
Name: Jonathan Boswell
Email Address: [email protected]
CPU Architecture: VAX and Alpha
Version: v 7.0
Questions: 

I'm building a web server application that needs to have
read access to various VMS mail index files, including
those owned by users OTHER THAN the webserver account.
But I'm having difficulty gaining access to the mail
index file because both MAIL and the callable interface
seem to open the file read/write, generating an access
violation.  This occurs even when the user has set all
*.mai files to be world-readable.

Is there any way (preferably via the callable mail
interface) to open mail.mai readonly?
T.RTitleUserPersonal
Name
DateLines
1732.1Mail requires Read-Write; Use IdentifiersXDELTA::HOFFMANSteve, OpenVMS EngineeringMon Apr 28 1997 11:5712
   Protection errors do not normally generate access violations.

   There is no way to use the mail callable interface read-only.
   (A number of apparantly read-only operations actually involve
   some updates.)

   I'd also recommend using identifiers and ACLs, rather than
   opening up the mail for world access -- assign an identifier
   to the e-mail web server, and use the identifier to access
   the mail subdirectories.