<?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: Ubuntu server  - mail server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ubuntu-server-mail-server/m-p/6304137#M54489</link>
    <description>&lt;P&gt;&amp;gt;&amp;nbsp;then /var/spool/mqueue may be "unsafe",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unsafe in that the directory path can be changed to "hide" it.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2013 19:31:47 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2013-12-13T19:31:47Z</dc:date>
    <item>
      <title>Ubuntu server  - mail server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ubuntu-server-mail-server/m-p/6297231#M54486</link>
      <description>&lt;P&gt;I got an error becauese &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/var/spool&lt;/SPAN&gt;&lt;SPAN&gt;/mqueue&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this directory is not there i executed chmod 755&amp;nbsp;&lt;SPAN&gt;/var/spool&lt;/SPAN&gt;&lt;SPAN&gt;/mqueue&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but no result then I created back&amp;nbsp;&lt;SPAN&gt;/var/spool&lt;/SPAN&gt;&lt;SPAN&gt;/mqueue directory but still my problem is there&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;please answer my problem&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;P.S. This thread has been moevd&amp;nbsp;from HP-UX &amp;gt; Messaging to Linux &amp;gt; sysadmin. - HP Forum Moderator&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 02:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ubuntu-server-mail-server/m-p/6297231#M54486</guid>
      <dc:creator>Nalin1990</dc:creator>
      <dc:date>2013-12-09T02:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ubuntu server  - mail server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ubuntu-server-mail-server/m-p/6298845#M54487</link>
      <description>&lt;P&gt;You cannot chmod something that does not exist. If you ran "chmod 755 /var/spool/mqueue" when /var/spool/mqueue was not there, you should have received an error message from the chmod command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you should *first* create the missing directory, *then* assign it the correct owner, group and permissions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the chown command can assign either just the owner (chown &amp;lt;owner&amp;gt; &amp;lt;file_or_directory&amp;gt;), or both owner and group (chown &amp;lt;owner&amp;gt;:&amp;lt;group&amp;gt; &amp;lt;file_or_directory&amp;gt;)&lt;/LI&gt;&lt;LI&gt;alternatively, the chgrp command can be used to assign the group&lt;/LI&gt;&lt;LI&gt;and the chmod command is used to assign the permissions (historically called "file mode", hence chMOD).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I don't have an Ubuntu system at hand, so I cannot check the actual correct owner/group settings, but typically /var/spool/mqueue should have owner=root, group=mail.&lt;/P&gt;&lt;P&gt;In other words: either&lt;/P&gt;&lt;PRE&gt;mkdir /var/spool/mqueue
chown root /var/spool/mqueue
chgrp mail /var/spool/mqueue
chmod 755 /var/spool/mqueue&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;or&lt;/P&gt;&lt;PRE&gt;mkdir /var/spool/mqueue
chown root:mail /var/spool/mqueue
chmod 755 /var/spool/mqueue&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;would be the correct sequence of commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: if you get an error message saying that /var/spool/mqueue has _unsafe_ permissions, it means the directory is accessible to _too many_ users/groups. In that case, you should think about taking away some permissions instead of adding more. Some installations of sendmail can require "chmod 700 /var/spool/mqueue".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, in POSIX-compliant filesystems (= most native Unix and Linux filesystems) having write access to a directory usually means that it is possible to delete, rename or move anything in that directory.&amp;nbsp; So if /var/spool (or even /var) is writeable by someone other than root, then /var/spool/mqueue may be "unsafe", no matter what permissions /var/spool/mqueue actually has.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 20:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ubuntu-server-mail-server/m-p/6298845#M54487</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-12-09T20:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ubuntu server  - mail server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ubuntu-server-mail-server/m-p/6304137#M54489</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;then /var/spool/mqueue may be "unsafe",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unsafe in that the directory path can be changed to "hide" it.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 19:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ubuntu-server-mail-server/m-p/6304137#M54489</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-12-13T19:31:47Z</dc:date>
    </item>
  </channel>
</rss>

