<?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: sendmail alias permission error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905293#M404902</link>
    <description>View the sendmail.cf file. In the file you will see the line that indicates where the aliases file is located. Is this saying /etc/mail/aliases? Does it say something else?&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Jun 2005 14:19:23 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2005-06-02T14:19:23Z</dc:date>
    <item>
      <title>sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905281#M404890</link>
      <description>when I start sendmail via /sbin/init.d/sendmail start, I get the following error&lt;BR /&gt;&lt;BR /&gt;newaliases: cannot open /etc/mail/aliases: Permission denied&lt;BR /&gt;&lt;BR /&gt;I am executing this as root and the permissions on the files in /etc/mail are as follows:&lt;BR /&gt;&lt;BR /&gt;-rw-r-----   1 root       bin            880 Jun  2 09:37 aliases&lt;BR /&gt;-rw-r-----   1 root       bin          24576 Jun  6  2004 aliases.db&lt;BR /&gt;-r--r--r--   1 bin        bin          10222 Nov 14  2000 mailcap&lt;BR /&gt;-r--r--r--   1 bin        bin          94286 Apr  1  2003 sendmail.cf&lt;BR /&gt;-r--r--r--   1 bin        bin            747 Jul 12  2003 sendmail.cw&lt;BR /&gt;-rw-------   1 root       mail            34 Jun  2 10:01 sendmail.pid&lt;BR /&gt;-r--r--r--   1 bin        bin           1012 Nov 14  2000 service.switch&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;help~&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-Alan</description>
      <pubDate>Thu, 02 Jun 2005 12:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905281#M404890</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-02T12:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905282#M404891</link>
      <description>Alan,&lt;BR /&gt;&lt;BR /&gt;I believe aliases needs to be -r--r--r-- .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 02 Jun 2005 12:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905282#M404891</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-06-02T12:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905283#M404892</link>
      <description>as does aliases.db&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 02 Jun 2005 12:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905283#M404892</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-06-02T12:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905284#M404893</link>
      <description>with the aliases files at 444 I get the following:&lt;BR /&gt;&lt;BR /&gt;warning: /etc/mail/aliases has world read or write permission. This is unsafe.&lt;BR /&gt;warning: /etc/mail/aliases.db has world read or write permission. This is unsafe.&lt;BR /&gt;hash map "Alias0": unsafe map file /etc/mail/aliases.db: Permission denied&lt;BR /&gt;dbm map "Alias0": unsafe map file /etc/mail/aliases: Permission denied&lt;BR /&gt;WARNING: cannot open alias database /etc/mail/aliases&lt;BR /&gt;Cannot create database for alias file /etc/mail/aliases&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 12:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905284#M404893</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-02T12:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905285#M404894</link>
      <description>/etc/mail/aliases and aliases.db should be 640&lt;BR /&gt;&lt;BR /&gt;/etc/mail should be 555 what are its permissions?</description>
      <pubDate>Thu, 02 Jun 2005 13:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905285#M404894</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-06-02T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905286#M404895</link>
      <description>aliases are back to 640 and /etc/mail has been at 555.  Which is what they were set at when this all began.</description>
      <pubDate>Thu, 02 Jun 2005 13:42:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905286#M404895</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-02T13:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905287#M404896</link>
      <description>Check the permissions from the root on down through the mail directory - make sure the root is not world write.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;/ drwxr-xr-x&lt;BR /&gt;/etc  drwxr-xr-x&lt;BR /&gt;/etc/mail  drwxr-xr-x&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 13:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905287#M404896</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-06-02T13:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905288#M404897</link>
      <description>&lt;BR /&gt;Can you run newaliases as root from a command line without an error? &lt;BR /&gt;&lt;BR /&gt;Not the init script just the newaliases command. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 13:46:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905288#M404897</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-06-02T13:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905289#M404898</link>
      <description>No, the newaliases command results in the same error.</description>
      <pubDate>Thu, 02 Jun 2005 13:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905289#M404898</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-02T13:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905290#M404899</link>
      <description>the permissions are set correct.y all the way up</description>
      <pubDate>Thu, 02 Jun 2005 13:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905290#M404899</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-02T13:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905291#M404900</link>
      <description>Hi Alan,&lt;BR /&gt;&lt;BR /&gt;What are the ownerships? should be:&lt;BR /&gt;&lt;BR /&gt;/  root root&lt;BR /&gt;/etc  bin bin&lt;BR /&gt;/etc/mail  bin bin&lt;BR /&gt;/etc/mail/aliases  root bin&lt;BR /&gt;/etc/mail/aliases.db  root mail &lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 02 Jun 2005 14:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905291#M404900</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-06-02T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905292#M404901</link>
      <description>all the protections and ownership are as specified with no change in the results.</description>
      <pubDate>Thu, 02 Jun 2005 14:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905292#M404901</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-02T14:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905293#M404902</link>
      <description>View the sendmail.cf file. In the file you will see the line that indicates where the aliases file is located. Is this saying /etc/mail/aliases? Does it say something else?&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 14:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905293#M404902</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-06-02T14:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905294#M404903</link>
      <description>here's the entry in the sendmail.cf file&lt;BR /&gt;&lt;BR /&gt;O AliasFile=/etc/mail/aliases&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 14:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905294#M404903</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-02T14:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905295#M404904</link>
      <description>Hi (again) Alan,&lt;BR /&gt;&lt;BR /&gt;OK - I'm now convinced the problem is the sendmail binary itself. newaliases is simply a link to /usr/sbin/sendmail. So what's perms/ownership on it? Should be:&lt;BR /&gt;&lt;BR /&gt;-r-sr-sr-t  root mail&lt;BR /&gt;&lt;BR /&gt;Then run what on it &amp;amp; make sure the version it returns matches the version listed in the sendmail.cf file - it's the DZ value.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 14:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905295#M404904</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-06-02T14:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905296#M404905</link>
      <description>the protections and ownership seem ok on the sendmail file.  What tells me that the version is 8.11.1, the DZ value is 8.9.3&lt;BR /&gt;&lt;BR /&gt;Where do I go from here?</description>
      <pubDate>Thu, 02 Jun 2005 15:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905296#M404905</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-02T15:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905297#M404906</link>
      <description>Just for a checking give 666 permission to aliases and aliases.db and do a 'sendmail -bi' or newaliases.</description>
      <pubDate>Fri, 03 Jun 2005 08:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905297#M404906</guid>
      <dc:creator>Bejoy C Alias</dc:creator>
      <dc:date>2005-06-03T08:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905298#M404907</link>
      <description>OR do 'makemap hash ./aliases &amp;lt; ./aliases' and check whether this works ..</description>
      <pubDate>Fri, 03 Jun 2005 08:19:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905298#M404907</guid>
      <dc:creator>Bejoy C Alias</dc:creator>
      <dc:date>2005-06-03T08:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905299#M404908</link>
      <description>changing the permissions to 666 generates:&lt;BR /&gt;&lt;BR /&gt;newaliases: cannot open /etc/mail/aliases: Group writable file&lt;BR /&gt;&lt;BR /&gt;for the sendmail -bi and newaliases command.&lt;BR /&gt;&lt;BR /&gt;the makemap command seemed to work, but, I still cannot restart sendmail without the error message and the mail queued in the mqueue directory will not go away.</description>
      <pubDate>Fri, 03 Jun 2005 09:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905299#M404908</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-06-03T09:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail alias permission error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905300#M404909</link>
      <description>OK - it appears you upgraded sendmail - probably via a patch - but the sedndmail.cf file was *not* overwritten with the new version.&lt;BR /&gt;I would probably stop sendmail and reapply the patch - should be listed in the sendmail what output. Afterwards make sure the new sendmail.cf file has been written.&lt;BR /&gt;NOTE: you'll have to reapply any mods to the file like the smart relay, domain &amp;amp; such.&lt;BR /&gt;Then retry the newaliases command.&lt;BR /&gt;Let us know how it goes.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 03 Jun 2005 09:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias-permission-error/m-p/4905300#M404909</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-06-03T09:59:51Z</dc:date>
    </item>
  </channel>
</rss>

