Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5630 - procmail and ~/.maildir
Summary: procmail and ~/.maildir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Khayyam
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-26 19:57 UTC by Khayyam
Modified: 2002-09-24 14:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khayyam 2002-07-26 19:57:16 UTC
When using procmail DEFAULT is not being read from either /etc/procmailrc
or ~/.procmailrc, at least this is the case with delivery to MAILDIR style mailboxes.

Grant Goodyear <g2boojum@gentoo.org> writes (in Changelog):

"Thanks to Jose Fonseca procmail now uses /etc/procmailrc to determine the
default mailbox instead of patching the source."

Using DEFAULT=$HOME/.maildir/ i get:

procmail: Couldn't create "/var/spool/mail/unit" (where "unit" is $USER)

This suggests this isn't the case.

The value MAILSPOOLDIR ("/var/spool/mail/") seems to be used as
MAILSPOOLHOME isn't defined (see: src/authenticate.c). In fact, for
Maildir delivery MAILSPOOLDIR shouldn't be defined only MAILSPOOLHOME
(at least that the way i have always installed procmail for use with
Maildir).

The only solution i can think of is to patch authenticate.c based on
USE="maildir" (as mbox won't be an issue). This is somewhat problematic
as most users won't have maildir (or mbox for that matter) defined.

I plan on bumping the ebuild to r3 (and masking for the present time).
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-09-24 14:41:22 UTC
-r4 has been in portage for some time (unmasked).