procmail
[Top] [All Lists]

Maildir issues.

2002-08-14 09:56:45
Hi,

I've seen people asking similar stuff in the archives, but I found nothing 
which addressed this directly; so I'm sorry if it sounds familiar.

(Slight background; I've packaged exim for a stripped down router system, 
Freesco, someone else has just packaged procmail to use with it--which is 
great, but it's not sending mail to the "right" place by default)

I'm using a mail spool of maildir folders, so

/var/spool/mail/user
/var/spool/mail/user/new
/var/spool/mail/user/cur
/var/spool/mail/user/tmp

all exist, and procmail knows that /var/spool/mail/user is where the mail 
should be going. I don't believe (see on) it was compiled with any change 
to the line in authenticate.c:

#define MAILSPOOLSUFFIX ""            /* suffix to force maildir or MH 
style */

When delivering mail, procmail is using what I can only assume is 
MH format. Mail ends us in individual files in /var/mail/user in the form 
msg.<some unique letters>. As far as I've read, recompiling with

#define MAILSPOOLSUFFIX "/"

has to do with this, but since the comment mentions both maildir and MH 
I'm unsure if it will make a difference. Is there anything I have missing 
which procmail looks for when checking what the storage format is, or 
would that be sufficient?

Also

Because I'm using exim, and within the default configuration for exim 
there was the line "never_users = root" which prevents exim delivering 
mail as root (it drops privs to "nobody") as a "paranoic safety catch", 
it seemed like a good idea to keep this.

So I have a root maildir spool which is owned by nobody.mail--procmail 
complains and gives the whole BOGUS error and moves it out of the way, to 
create a traditional mailbox (hence the reason I don't think 
MAILSPOOLSUFFIX has been altered).

I haven't been able to find anything in the archive which could get around 
a BOGUS spool, so I'm really not sure what to do with that... :(

Thoughts?

DG

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>