<?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 - Alias0; missing map file /etc/mail/aliases in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566106#M604248</link>
    <description>Thanks for the information, but I'm afraid that I'm still getting errors, slightly different, but an error none the less:&lt;BR /&gt;&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;&lt;BR /&gt;</description>
    <pubDate>Fri, 17 Aug 2001 03:53:27 GMT</pubDate>
    <dc:creator>Brian Atkins</dc:creator>
    <dc:date>2001-08-17T03:53:27Z</dc:date>
    <item>
      <title>Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566102#M604244</link>
      <description>&lt;P&gt;I'm in the process of updating sendmail to 8.11.5 and I am having issues with the aliases file. The upgrade is basically complete and I am able to mail to fully resolved addresses (i.e., user@system.com) but not an alias. When mail is sent to an alias, I get the error:&lt;BR /&gt;&lt;BR /&gt;dbm map "Alias0": missing map file /etc/mail/aliases&lt;BR /&gt;&lt;BR /&gt;According to the documentation and information from the FAQs at sendmail.org, the error is a result of improper security settings. However, following the documentation and FAQs at sendmail.org, I ran:&lt;BR /&gt;&lt;BR /&gt;chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue&lt;BR /&gt;chown root chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue&lt;BR /&gt;&lt;BR /&gt;and the alias file permissions are:&lt;BR /&gt;&lt;BR /&gt;-rw-r--r-- 1 root bin 1416 Aug 15 20:35 aliases&lt;BR /&gt;-r--r--r-- 1 bin bin 32768 Aug 15 12:47 aliases.db&lt;BR /&gt;&lt;BR /&gt;I did find a reference to the new version not liking .forward files, so I removed them and added the users to the alias file.&lt;BR /&gt;&lt;BR /&gt;I can't find any other references for other issues that might be causing the error at sendmail.org, in the README files or in my O'Reilly sendmail book.&lt;BR /&gt;&lt;BR /&gt;Any assistance is greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. this thread has been moved&amp;nbsp;from HP-UX &amp;gt; General to HP-UX &amp;gt; messaging - HP Forums Moderator&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 02:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566102#M604244</guid>
      <dc:creator>Brian Atkins</dc:creator>
      <dc:date>2013-03-01T02:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566103#M604245</link>
      <description>An additional note: I had started posting my message before I noticed Sam Rudland's post "Odd Sendmail Behaviour".  Since then, I have tried the recommendations by Ramesh and James with no more success.  However, I do get a slightly different message:&lt;BR /&gt;&lt;BR /&gt;# newaliases&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;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2001 15:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566103#M604245</guid>
      <dc:creator>Brian Atkins</dc:creator>
      <dc:date>2001-08-16T15:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566104#M604246</link>
      <description>This may or may not help, but I have my /etc/mail directory and aliases files set to the following, and have not had any problems:&lt;BR /&gt;&lt;BR /&gt;drwxr-xr-x    2 root root        /etc/mail&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--    1 root root  /etc/mail/aliases&lt;BR /&gt;-rw-r--r--    1 root root /etc/mail/aliases.db&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2001 16:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566104#M604246</guid>
      <dc:creator>Steve Darnell</dc:creator>
      <dc:date>2001-08-16T16:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566105#M604247</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;All the permissions seem ok but the group for /etc/mail/aliases.db should be mail&lt;BR /&gt;The permissions should be (644)&lt;BR /&gt;owner root&lt;BR /&gt;group mail&lt;BR /&gt;&lt;BR /&gt;-rw-r--r-- root:root aliases&lt;BR /&gt;-rw-r--r-- root:mail aliases.db&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;I am RU</description>
      <pubDate>Thu, 16 Aug 2001 16:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566105#M604247</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-16T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566106#M604248</link>
      <description>Thanks for the information, but I'm afraid that I'm still getting errors, slightly different, but an error none the less:&lt;BR /&gt;&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;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2001 03:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566106#M604248</guid>
      <dc:creator>Brian Atkins</dc:creator>
      <dc:date>2001-08-17T03:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566107#M604249</link>
      <description>The default permissions are &lt;BR /&gt;bin:bin /etc/mail&lt;BR /&gt;&lt;BR /&gt;alias.db should have the group as mail.&lt;BR /&gt;&lt;BR /&gt;How about renaming aliases.db and running &lt;BR /&gt;newaliases again and see what happens?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 17 Aug 2001 04:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566107#M604249</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-17T04:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566108#M604250</link>
      <description>The default permissions are &lt;BR /&gt;bin:bin /etc/mail&lt;BR /&gt;&lt;BR /&gt;aliases.db should have the group as mail. Read permissions for others is sufficnet for aliases file.&lt;BR /&gt;&lt;BR /&gt;How about renaming aliases.db and running &lt;BR /&gt;newaliases again and see what happens?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 17 Aug 2001 04:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566108#M604250</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-17T04:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566109#M604251</link>
      <description>OK, so this is what I get for being assigned a dying system.  Oh, well.  In any event, this is what I was able to uncover on my own.  I appreciate all of the great answers, it's just the new version of sendmail has some new rules to abide by.  Something about security or something.  Anyway, this is what sendmail.org has about my error in relation to the new version:&lt;BR /&gt;_______________________________________________&lt;BR /&gt;unsafe map file /etc/mail/aliases:&lt;BR /&gt;With the latest sendmail release many people get an error message like: &lt;BR /&gt;unsafe map file /etc/mail/aliases&lt;BR /&gt;(or another map). There may be several reasons for this, the most common is that the permissions of the directories leading to the alias file are incorrect. It must be: &lt;BR /&gt;drwxr-xr-x 12 root     staff        3072 Nov 20 10:47 /etc/&lt;BR /&gt;drwxr-xr-x  4 root     staff        1024 Dec 21 16:40 /etc/mail/&lt;BR /&gt;i.e., the directory must be owned by root and not writable by the group or the rest of the world. The alias file itself must have similar permissions. Moreover, if you have a db map, you may try to touch the resulting map (file.db) and call makemap or newaliases thereafter. &lt;BR /&gt;See the release notes for further details. /usr/lib/sendmail -bi -d44.4 gives some debug output for the alias map. &lt;BR /&gt;_______________________________________________&lt;BR /&gt;&lt;BR /&gt;Am I allowed to give myself points?  Or do I get negative numbers for posting my own answer?&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2001 06:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566109#M604251</guid>
      <dc:creator>Brian Atkins</dc:creator>
      <dc:date>2001-08-17T06:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566110#M604252</link>
      <description>No, but you get a negative 1000 points for still using sendmail :)&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2001 10:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/2566110#M604252</guid>
      <dc:creator>Ralf Hildebrandt</dc:creator>
      <dc:date>2001-08-17T10:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - Alias0; missing map file /etc/mail/aliases</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/5978605#M604253</link>
      <description>&lt;P&gt;Please find the below steps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)Pls copy from working file of /etc/mail/aliases or copy &amp;amp;past below entries&lt;BR /&gt;##&lt;BR /&gt;#&amp;nbsp; Sendmail Alias File&lt;BR /&gt;#&amp;nbsp; @(#)B11.23_LRaliases $Revision: 1.1.212.1 $ $Date: 99/09/13 15:13:16 $&lt;BR /&gt;#&lt;BR /&gt;#&amp;nbsp; Mail to an alias in this file will be sent to the users, programs, or&lt;BR /&gt;#&amp;nbsp; files designated following the colon.&lt;BR /&gt;#&amp;nbsp; Aliases defined in this file will NOT be expanded in headers from&lt;BR /&gt;#&amp;nbsp; mailx(1), but WILL be visible over networks and in headers from&lt;BR /&gt;#&amp;nbsp; rmail(1).&lt;BR /&gt;#&lt;BR /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; The program "/usr/sbin/newaliases" must be run after&lt;BR /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt; NOTE &amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; this file is updated, or else any changes will not be&lt;BR /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; visible to sendmail.&lt;BR /&gt;##&lt;BR /&gt;&lt;BR /&gt;# Alias for mailer daemon&lt;BR /&gt;MAILER-DAEMON&amp;nbsp;&amp;nbsp; : root&lt;BR /&gt;&lt;BR /&gt;# RFC 822 requires that every host have a mail address "postmaster"&lt;BR /&gt;postmaster&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : root&lt;BR /&gt;&lt;BR /&gt;# Aliases to handle mail to msgs and news&lt;BR /&gt;nobody&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /dev/null&lt;BR /&gt;&lt;BR /&gt;# System Admistration aliases&lt;BR /&gt;operator&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : root&lt;BR /&gt;uucp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : root&lt;BR /&gt;daemon&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : root&lt;BR /&gt;&lt;BR /&gt;# Ftp maintainer.&lt;BR /&gt;ftp-bugs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : root&lt;BR /&gt;&lt;BR /&gt;# Local aliases&lt;BR /&gt;&lt;BR /&gt;2)chown bin:mail /etc/mail/aliases&lt;BR /&gt;3)chown root:bin /usr/sbin/newaliases&lt;BR /&gt;4)chown root:mail /etc/mail/aliases.db&lt;BR /&gt;5)/sbin/init.d/sendmail stop&lt;BR /&gt;6)/sbin/init.d/sendmail start&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2013 06:50:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-alias0-missing-map-file-etc-mail-aliases/m-p/5978605#M604253</guid>
      <dc:creator>Thangamariappan</dc:creator>
      <dc:date>2013-02-28T06:50:14Z</dc:date>
    </item>
  </channel>
</rss>

