procmail
[Top] [All Lists]

RE: maildir autocreation, is that a bug?

2009-03-27 16:37:58
Carlos Xavier wrote Friday, March 27, 2009 17:40:

[By the way, please send text only to this list, not MIME-encoded
content.]


we are moving our mail server from mailbox to maildir format.
We are facing something weird on the behave of procmail when 
creating the maildir folder for the first time.
 
When using mailbox procmail first creates a dummy file at 
/var/spool/mail/user, this file is not removed  and after 
procmail  uses it to deliver email.
this causes a trouble when you try to set the maildir of the 
user to use the /var/spool/mail folder as its creation folder like
DEFAULT=/var/spool/mail/$LOGNAME/
 
As the dummy file wasnt removed the directory isnt created 
and procmail use the file to delivar mail as if it was 
configured to use mailbos format and not to a maildir format
 
This issue was discussed a long time ago at this place 
https://bugzilla.redhat.com/show_bug.cgi?id=165460  .
even a patch was made to solve the issue, but as the file 
mailfold.c was so midified the patch cant be applied anymore.
Is there a current patch to solve this issue?

I briefly looked over that "bug report" and the comments,
including comments from Phillip Guenther.  I am not yet
convinced this is any actual bug at all.  I think, rather,
that this is an implementation issue.  I don't see why
you can't compile procmail with DEFAULT as

  /var/spool/mail/$USER/

(note slash) if that's what you want to do.  Once the
dir is in place, neither procmail nor anything else will
create an mbox-style flat file there named $USER.

Dallman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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