<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Hi MacPorts Users.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>I have a Mac mini running OS X Yosemite and I'm attempting to follow these instructions:<o:p></o:p></p><p class=MsoPlainText><a href="https://trac.macports.org/wiki/howto/SetupDovecot">https://trac.macports.org/wiki/howto/SetupDovecot</a><o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>I have a problem here:<o:p></o:p></p><p class=MsoPlainText>Step 2: create directories<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>When I enter the following at the command line:<o:p></o:p></p><p class=MsoPlainText>sudo chown _dovecot:_dovecot /opt/local/var/log/dovecot OS X responds with the following:<o:p></o:p></p><p class=MsoPlainText>chown: _dovecot: illegal group name<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Previous command line code entered, from here:<o:p></o:p></p><p class=MsoPlainText><a href="https://trac.macports.org/attachment/wiki/howto/SetupDovecot/Make_Dovecot_User.command">https://trac.macports.org/attachment/wiki/howto/SetupDovecot/Make_Dovecot_User.command</a>:<o:p></o:p></p><p class=MsoPlainText>sudo dscl . -create /Groups/_dovecot<o:p></o:p></p><p class=MsoPlainText>sudo dscl . -create /Groups/_dovecot UniqueID 30 sudo dscl . -create /Users/_dovecot sudo dscl . -create /Users/_dovecot UserShell /bin/false sudo dscl . -create /Users/_dovecot RealName &quot;Dovecot IMAP Server&quot;<o:p></o:p></p><p class=MsoPlainText>sudo dscl . -create /Users/_dovecot UniqueID 30 sudo dscl . -create /Users/_dovecot PrimaryGroupID 30 sudo dscl . -create /Users/_dovecot NFSHomeDirectory&nbsp; /opt/local/var/run/dovecot<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Notes:<o:p></o:p></p><p class=MsoPlainText>The _dovecot Group isn't assigned a PrimaryGroupID, but instead a UniqueID.<o:p></o:p></p><p class=MsoPlainText>A PrimaryGroupID of 30 is assigned to the _dovecot User.<o:p></o:p></p><p class=MsoPlainText>When I view a list of all Groups via the following command:<o:p></o:p></p><p class=MsoPlainText>dscl . readall /groups<o:p></o:p></p><p class=MsoPlainText>I see a PrimaryGroupID of 30 has already been assigned to _keytabusers.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>I&#8217;m unsure what to do; the following are potential options:<o:p></o:p></p><p class=MsoPlainText>Assign the Group _dovecot a PrimaryGroupID; this may prevent the 'chown: _dovecot: illegal group name' OS X response.<o:p></o:p></p><p class=MsoPlainText>Assign a different PrimaryGroupID, i.e. other than 30, to both User and&nbsp; Group to avoid the potential conflict with _keytabusers.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>There may have already been a _dovecot User or Group in the 200 range that I deleted as a result of my confusion.&nbsp;&nbsp; Perhaps this was assigned during the earlier 'Install dovecot' command, i.e. 'port install dovecot'.&nbsp;&nbsp; Do<o:p></o:p></p><p class=MsoPlainText>you know what the original PrimaryGroupID of such a User or Group was?<o:p></o:p></p><p class=MsoPlainText>If a different PrimaryGroupID is used, i.e. other than 30, presumably the one I deleted would be best.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Another option is to upgrade to OS X El Capitan, although I'm not sure&nbsp; whether that will remove the dovecot install thereby allowing me to start again.&nbsp;&nbsp; I'm also unsure whether I could run the 'port install dovecot'<o:p></o:p></p><p class=MsoPlainText>command a second time in OS X Yosemite to restore the _dovecot User / Group.&nbsp;&nbsp; Alternatively, perhaps 'port uninstall dovecot' is a valid command to allow me to start again.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>I've seen reference to dovecot2 in the macports-users archives; perhaps this requires a different syntax, i.e. not 'port install dovecot'.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Thanks and best regards,<o:p></o:p></p><p class=MsoPlainText>Karl.<o:p></o:p></p></div></body></html>