procmail
[Top] [All Lists]

maildir autocreation, is that a bug?

2009-03-27 12:40:07
Hi,
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?
Can the developers make procmail remove this file after testing the directory, 
so as the maildir can be created?

Tanks in advance for any help.
Carlos.

____________________________________________________________
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>