https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082006-03-20T04:35:20ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #117: pw(8) - Patch to customize maildirs creationhttps://bugs.dragonflybsd.org/issues/117?journal_id=3792006-03-20T04:35:20Zjoerg
<ul></ul><p>On Sun, Mar 19, 2006 at 08:57:25PM +0100, Michal Belczyk wrote:</p>
<blockquote>
<p>the attached patch makes creation of /var/mail/username files for new accounts<br />a bit more configurable. Since I only use maildirs for mail storage, now I<br />don't have to remove those files when adding new users :-)</p>
</blockquote>
<p>Am I reading this correctly and it does that by default?</p>
<p>Joerg</p> DragonFlyBSD - Bug #117: pw(8) - Patch to customize maildirs creationhttps://bugs.dragonflybsd.org/issues/117?journal_id=3802006-03-20T04:54:20Zbelczyk
<ul></ul><p>On Sun, Mar 19, 2006 at 09:29:54PM +0100, <a class="email" href="mailto:joerg@britannica.bec.de">joerg@britannica.bec.de</a> wrote:</p>
<blockquote>
<p>On Sun, Mar 19, 2006 at 08:57:25PM +0100, Michal Belczyk wrote:</p>
<blockquote>
<p>the attached patch makes creation of /var/mail/username files for new accounts<br />a bit more configurable. Since I only use maildirs for mail storage, now I<br />don't have to remove those files when adding new users :-)</p>
</blockquote>
<p>Am I reading this correctly and it does that by default?</p>
</blockquote>
<p>The default behaviour hasn't changed, pw(8) do creates those files:</p>
<ol>
<li>cat /etc/pw.conf</li>
<li>pw useradd testuser -m</li>
<li>ls <del>l /var/mail/testuser <br />-rw------</del> 1 testuser testuser 0 Mar 19 21:45 /var/mail/testuser</li>
<li>pw userdel testuser -r</li>
<li>ls -l /var/mail/testuser<br />ls: /var/mail/testuser: No such file or directory</li>
<li>printf "createmailbox\tno\n" >> /etc/pw.conf</li>
<li>pw useradd testuser -m</li>
<li>ls -l /var/mail/testuser<br />ls: /var/mail/testuser: No such file or directory</li>
</ol> DragonFlyBSD - Bug #117: pw(8) - Patch to customize maildirs creationhttps://bugs.dragonflybsd.org/issues/117?journal_id=3822006-03-20T05:23:10Zjoerg
<ul></ul><p>On Sun, Mar 19, 2006 at 09:49:01PM +0100, Michal Belczyk wrote:</p>
<blockquote>
<p>On Sun, Mar 19, 2006 at 09:29:54PM +0100, <a class="email" href="mailto:joerg@britannica.bec.de">joerg@britannica.bec.de</a> wrote:</p>
<blockquote>
<p>On Sun, Mar 19, 2006 at 08:57:25PM +0100, Michal Belczyk wrote:</p>
<blockquote>
<p>the attached patch makes creation of /var/mail/username files for new accounts<br />a bit more configurable. Since I only use maildirs for mail storage, now I<br />don't have to remove those files when adding new users :-)</p>
</blockquote>
<p>Am I reading this correctly and it does that by default?</p>
</blockquote>
<p>The default behaviour hasn't changed, pw(8) do creates those files:</p>
</blockquote>
<p>OK, thanks for clarifying this.</p>
<p>Joerg</p> DragonFlyBSD - Bug #117: pw(8) - Patch to customize maildirs creationhttps://bugs.dragonflybsd.org/issues/117?journal_id=71992009-08-26T13:50:33Ztuxillo
<ul></ul><p>As far as I can see, this adds the option to pw(8) to create mailboxes or not.<br />Does anyone consider this addition appropiate? If yes, please commit.</p> DragonFlyBSD - Bug #117: pw(8) - Patch to customize maildirs creationhttps://bugs.dragonflybsd.org/issues/117?journal_id=72002009-08-26T16:12:08Zcorecode
<ul></ul><p>I don't think this is necessary.</p>