nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Does maildrop work correctly with nmh?

2013-04-28 11:46:34
Ken Hornstein writes:
I'm a little unclear on exactly what you want to happen, but it's worth
pointing out that inc can incorporate mail from a maildir.
        What I have now and want to preserve is a .forward file
that calls procmail

       "|exec /usr/local/bin/procmail || exit 75"

procmail then delivers to $HOME/Mail/folder/message# or
$HOME/Mail/otherfolder/message# depending upon the rule set in
.procmailrc.

        The .procmailrc file defines

MAILDIR=$HOME/Mail

so maildrop needs to do something similar.

        Interestingly, I see:

if ( $MH )
{
    DEFAULT="| $STORE +inbox"
    FOLDERS="| $STORE +"
}

        I have been using cat ~/Mail/folder/somemessage
|maildrop for testing and it filters like it should but I have not gotten it
to try to deliver the message the way nmh/mh does.

        By the way, thanks to the person who provided the
following explanation:

   maildrop knows how to deliver mail to an standard mailbox files;  it
   also knows how to deliver to maildirs.  A maildir is a
   directory-based mail format used by the Courier and Qmail mail
   servers.

A `maildir' isn't what nmh uses so you're left with a mailbox, but that
has a `From ' line before the headers, so again that's not nmh.

        I did not think so, but I had this small bit of doubt as
to whether maildir had anything to do with this so at least now
I know for sure it does not.

Thanks for responding.

        Martin McCormick

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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