First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 108869
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dennis Nezic <dennisn@dennisn.dyndns.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 108869 depends on: Show dependency tree
Bug 108869 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-11 07:31 0000
Currently, if maildirs are used, procmail-3.22-r7.ebuild applies the
gentoo-maildir2.diff, which sets MAILSPOOLDIR to "" (which is good), and
MAILSPOOLHOME to "/.maildir/" (which is bad).

It's bad because it will cause procmail to create new/cur/tmp directories in
~/.maildir/, regardless of what /etc/procmailrc and ~/.procmailrc say (via
DEFAULT, MAILDIR). And this is bad because if I were to change maildirs, to
~/.mail/, for example, ~/.maildir/{new,cur,tmp} still get created spuriously
(they are kept empty). And, even if i were to use the default ~/.maildir/, I
would have separate sub-directories for INBOX, mailing-list1, etc ...
nevertheless, those useless folders are created (in procmail's sanity check).

In short, MAILSPOOLHOME should be set to "" in the maildir diff, so that
procmail can rely on the rc settings.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




temporary solution:
1) change MAILSPOOLHOME to "" in files/gentoo-maildir2.diff
2) ebuild procmail-3.22-r7.ebuild digest
3) emerge procmail

------- Comment #1 From Tom Martin (RETIRED) 2005-11-26 09:46:22 0000 -------
I can't disagree with this.

Anyone else got any comments?

------- Comment #2 From Andrej Kacian (RETIRED) 2005-11-26 12:14:58 0000 -------
Hm, I can confirm this, empty ~/.maildir keeps getting created on my mail 
server.

------- Comment #3 From Dennis Nezic 2005-11-27 18:52:44 0000 -------
yeah .. upstream (the procmail guys) (if i remember correctly), say this is not
a bug. it has also been discussed on their lists. i believe the feeling there is
that MAILSPOOLHOME should be configured during compilation, and not have the
program rely on the settings of the "rc" file .. since, they say, (and it seems
to make sense), that rc files should be for "runtime configuration" .. and, i
guess, this is not a setting worthy for runtime configuration. (but rather for
compile-time configuration).

so, i don't think there is much we can do on the gentoo side, except use the
"standardized" location (~/.maildir/) .. or perhaps have a way to set it
appropriately during compilation.

------- Comment #4 From Tobias Scherbaum 2008-06-15 09:40:34 0000 -------
*** Bug 136270 has been marked as a duplicate of this bug. ***

------- Comment #5 From Tobias Scherbaum 2008-06-15 10:23:03 0000 -------
This is fixed in procmail-3.22-r9.

First Last Prev Next    No search results available      Search page      Enter new bug