<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error when using Mail in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/error-when-using-mail/m-p/3936014#M81561</link>
    <description>MAIL and various other applications tend to use SYS$SCRATCH for scratch (temporary) files.&lt;BR /&gt;&lt;BR /&gt;Issue the command:&lt;BR /&gt;&lt;BR /&gt;SHOW LOGICAL SYS$SCRATCH&lt;BR /&gt;&lt;BR /&gt;And follow that directory for existence and access.  &lt;BR /&gt;&lt;BR /&gt;By default, the SYS$SCRATCH translation is usually the same as the SYS$LOGIN value, or the translation is usually created on a per-user basis during SYLOGIN.COM or LOGIN.COM processing.&lt;BR /&gt;&lt;BR /&gt;The value of SYS$LOGIN (and of SYS$SCRATCH) is derived from the SYSUAF file and the authorization database.  Use AUTHORIZE to determine what the device and directory are.  &lt;BR /&gt;&lt;BR /&gt;In this case, it looks like the device might well be SYS$SYSROOT, and that's not usually where the users are configured.  Most folks use DISK$volumelabel or SYS$SYSDEVICE or ddcu: physical spec as the device, and the same value as the username as the directory name specified.  (It's best to use logical names and not physical specifications, where that's feasible.)&lt;BR /&gt;&lt;BR /&gt;If the AUTHORIZE command COPY was used to clone the SYSTEM username, and the COPY didn't see the device name and (hopefully) also the UIC and other attributes reset, a situation such as what is reported here can potentially result.  (You'll end up with a device spec that's a concealed rooted device spec, and most folks tend to create top-level directories for users.)&lt;BR /&gt;&lt;BR /&gt;Fix: &lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; MOD username/DEVICE=devicespec&lt;BR /&gt;&lt;BR /&gt;Where the devicespec is a logical name or the physical device specification for the device holding the user's login directory.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;If this current environment is a straight interactive login, the ignore the following paragraph: There can be second-level issues around detached processes and the authorization file; if you've created a detached process and are now attempting to execute various commands such as MAIL. I've seen folks manually assemble SYS$LOGIN and SYS$SCRATCH in these detached environments.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Some potentially-related topic areas, particularly for odd situations or if you want to manage your own scratch area, or (with resource identifiers) your own shared area:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_4821.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_4821.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_3681.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_3681.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_3105.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_3105.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 31 Jan 2007 18:03:02 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2007-01-31T18:03:02Z</dc:date>
    <item>
      <title>Error when using Mail</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-when-using-mail/m-p/3936012#M81559</link>
      <description>Whenever I attempt to send OpenVMS mail as a user other than System I run into the following error:&lt;BR /&gt;&lt;BR /&gt;%MAIL-E-OPENOUT, error opening SYS$SYSROOT:[USERNAME]MAIL_3596_SEND.TMP; as output&lt;BR /&gt;-RMS-E-DNF, directory not found&lt;BR /&gt;-SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;%MAIL-E-SENDABORT, no message sent&lt;BR /&gt;&lt;BR /&gt;However when I do a "SHOW TRANSLATION SYS$LOGIN" the appropriate directory shows up. As I indicated this only occurs with users other than the System users. I am running OpenVMS 7.3-2 on an Alpha. The File protections on the home directories are System:RWE, Owner:RWE, Group:RE, World:RE with no ACL or other issues what could affect access. &lt;BR /&gt;&lt;BR /&gt;What could be the problem?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 31 Jan 2007 16:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-when-using-mail/m-p/3936012#M81559</guid>
      <dc:creator>HarrinG</dc:creator>
      <dc:date>2007-01-31T16:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using Mail</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-when-using-mail/m-p/3936013#M81560</link>
      <description>posted in wrong forum, moved to more appropriate forum</description>
      <pubDate>Wed, 31 Jan 2007 17:03:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-when-using-mail/m-p/3936013#M81560</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2007-01-31T17:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using Mail</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-when-using-mail/m-p/3936014#M81561</link>
      <description>MAIL and various other applications tend to use SYS$SCRATCH for scratch (temporary) files.&lt;BR /&gt;&lt;BR /&gt;Issue the command:&lt;BR /&gt;&lt;BR /&gt;SHOW LOGICAL SYS$SCRATCH&lt;BR /&gt;&lt;BR /&gt;And follow that directory for existence and access.  &lt;BR /&gt;&lt;BR /&gt;By default, the SYS$SCRATCH translation is usually the same as the SYS$LOGIN value, or the translation is usually created on a per-user basis during SYLOGIN.COM or LOGIN.COM processing.&lt;BR /&gt;&lt;BR /&gt;The value of SYS$LOGIN (and of SYS$SCRATCH) is derived from the SYSUAF file and the authorization database.  Use AUTHORIZE to determine what the device and directory are.  &lt;BR /&gt;&lt;BR /&gt;In this case, it looks like the device might well be SYS$SYSROOT, and that's not usually where the users are configured.  Most folks use DISK$volumelabel or SYS$SYSDEVICE or ddcu: physical spec as the device, and the same value as the username as the directory name specified.  (It's best to use logical names and not physical specifications, where that's feasible.)&lt;BR /&gt;&lt;BR /&gt;If the AUTHORIZE command COPY was used to clone the SYSTEM username, and the COPY didn't see the device name and (hopefully) also the UIC and other attributes reset, a situation such as what is reported here can potentially result.  (You'll end up with a device spec that's a concealed rooted device spec, and most folks tend to create top-level directories for users.)&lt;BR /&gt;&lt;BR /&gt;Fix: &lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; MOD username/DEVICE=devicespec&lt;BR /&gt;&lt;BR /&gt;Where the devicespec is a logical name or the physical device specification for the device holding the user's login directory.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;If this current environment is a straight interactive login, the ignore the following paragraph: There can be second-level issues around detached processes and the authorization file; if you've created a detached process and are now attempting to execute various commands such as MAIL. I've seen folks manually assemble SYS$LOGIN and SYS$SCRATCH in these detached environments.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Some potentially-related topic areas, particularly for odd situations or if you want to manage your own scratch area, or (with resource identifiers) your own shared area:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_4821.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_4821.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_3681.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_3681.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_3105.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_3105.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Jan 2007 18:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-when-using-mail/m-p/3936014#M81561</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-01-31T18:03:02Z</dc:date>
    </item>
  </channel>
</rss>

