procmail
[Top] [All Lists]

Re: mbx format support

2001-06-13 01:46:19
Terry Davis <tdavis(_at_)birddog(_dot_)com> writes:
Hello.  I have went through the mailing list archives in hopes of finding
information on specifying the mbx format
vs standard unix mbox file format.  This increases speed like no other in
uw-imap.  I would like to use this with procmail.
Is there support for this at this time ?

procmail does not support direct delivery to mbx format mailboxes.
If you have "dmail" installed, then the following will work to deliver
to a folder named "foo":

        :0 w
        * conditions here...
        | dmail +foo

If this is the last recipe in the rcfile, such that you want procmail
to bounce the message back if the dmail command fails, then you should
do something like:


        # Deliver to "real-mbox" folder
        :0 w
        | dmail +real-mbox

        # Pass on dmail's exit code
        EXITCODE = $?

        # Force procmail to give up delivering the message instead of
        # implicitly delivering to the compiled in spool.
        HOST


Philip Guenther
_______________________________________________
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>