{
    "content": [
        {
            "type": "text",
            "text": "# rmm(1) (man)\n\n**Summary:** rmm - remove nmh messages\n\n**Synopsis:** rmm [-help] [-version] [+folder] [msgs] [-unlink | -nounlink] [-rmmproc program] [-normmproc]\n\n## See Also\n\n- rmf(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (35 lines)\n- **FILES** (2 lines)\n- **PROFILE COMPONENTS** (4 lines)\n- **SEE ALSO** (2 lines)\n- **DEFAULTS** (4 lines)\n- **CONTEXT** (2 lines)\n- **BUGS** (6 lines)\n\n## Full Content\n\n### NAME\n\nrmm - remove nmh messages\n\n### SYNOPSIS\n\nrmm [-help] [-version] [+folder] [msgs] [-unlink | -nounlink] [-rmmproc program] [-normmproc]\n\n### DESCRIPTION\n\nBy default, rmm will remove the specified messages by renaming each of the message files with\na site-dependent prefix (usually a comma).  Such files will then need to be removed  in  some\nmanner after a period of time.  Many sites arrange for cron to remove these files once a day,\nso check with your system administrator.\n\nAlternately, if you wish for rmm to really remove the files representing these messages,  you\ncan use the -unlink switch.  But messages removed by this method cannot be later recovered.\n\nIf  you prefer a more sophisticated method of `removing' messages, you can define the rmmproc\nprofile component.  For example, you can add a profile component such as\n\nrmmproc:    /home/foouser/bin/rmmmsgs\n\nThen instead of simply renaming the message file, rmm will call the named program  or  script\nto  handle  the  files that represent the messages to be deleted.  The -rmmproc switch may be\nused to override this profile component.  The -normmproc switch disables the use of any  rmm‐\nproc profile component and negates all prior -rmmproc switches.\n\nAn  example  of  a rmmproc script that saves a message based in its Message-ID is provided in\n/usr/share/doc/nmh/examples/rmmproc.messageid.  To enable it, simply add an rmmproc component\nthat names it, to your profile.\n\nSome users of csh prefer the following:\n\nalias rmm 'refile +d'\n\nwhere folder `+d' is a folder for deleted messages, and\n\nalias mexp 'rm `mhpath +d all`'\n\nis used to “expunge” deleted messages.\n\nThe  current message is not changed by rmm, so a next will advance to the next message in the\nfolder as expected.\n\n### FILES\n\n$HOME/.mhprofile          The user profile\n\n### PROFILE COMPONENTS\n\nPath:                To determine the user's nmh directory\nCurrent-Folder:      To find the default current folder\nrmmproc:             Program to delete the message\n\n### SEE ALSO\n\nrmf(1)\n\n### DEFAULTS\n\n`+folder' defaults to the current folder\n`msgs' defaults to cur\n`-nounlink'\n\n### CONTEXT\n\nIf a folder is given, it will become the current folder.\n\n### BUGS\n\nSince rmm and refile use your rmmproc to delete the message, the rmmproc must not call rmm or\nrefile without specifying -normmproc, or you will create an infinite loop.\n\n\n\nnmh-1.7.1                                    2013-03-19                                     RMM(1mh)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rmm",
        "section": "1",
        "mode": "man",
        "summary": "rmm - remove nmh messages",
        "synopsis": "rmm [-help] [-version] [+folder] [msgs] [-unlink | -nounlink] [-rmmproc program] [-normmproc]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "rmf",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rmf/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 35,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "PROFILE COMPONENTS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DEFAULTS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "CONTEXT",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}