X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/63764e68d4fce20854dc2ba18a7244cb6a6769ca..17b9beb40640e8731143f61e3b94756f3e77d20c:/man/mhfixmsg.man?ds=sidebyside diff --git a/man/mhfixmsg.man b/man/mhfixmsg.man index 1d1d6785..cac4d9e7 100644 --- a/man/mhfixmsg.man +++ b/man/mhfixmsg.man @@ -1,4 +1,4 @@ -.TH MHFIXMSG %manext1% "March 17, 2013" "%nmhversion%" +.TH MHFIXMSG %manext1% "March 21, 2013" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -23,6 +23,9 @@ mhfixmsg \- rewrite MIME messages with various transformations .IR file ] .RB [ \-outfile .IR outfile ] +.RB [ \-rmmproc +.IR program ] +.RB [ \-normmproc ] .RB [ \-verbose " | " \-noverbose ] .RB [ \-version ] .RB [ \-help ] @@ -203,6 +206,15 @@ That is, it uses the profile component, if present. If not present, .B mhfixmsg moves the original message to a backup file. +The +.B \-rmmproc +switch may be used to override this profile component. The +.B \-normmproc +switch disables the use of any +.I rmmproc +profile component and negates all prior +.B \-rmmproc +switches. .PP .SS "Integration with procmail" By way of example, here is an excerpt from a procmailrc file @@ -230,13 +242,22 @@ MKTEMP = 'mktemp Backups/mhfixmsg.XXXXXXXX' MHFIXMSG = 'mhfixmsg -noverbose -file - -outfile -' STORE = %libdir%/rcvstore -:0 w: nmh/procmail.$LOCKEXT +:0 w: nmh-worker/procmail.$LOCKEXT * ^TOnmh-workers@nongnu.org | tee `$MKTEMP` | $MHFIXMSG | $STORE +nmh-workers .fi .RE .PP .SH FILES +.B mhfixmsg +looks for mhn.defaults in multiple locations: absolute pathnames are +accessed directly, tilde expansion is done on usernames, and files are +searched for in the user's +.I Mail +directory as specified in their profile. If not found there, the directory +.RI \*(lq %etcdir% \*(rq +is checked. +.PP .fc ^ ~ .nf .ta \w'%etcdir%/mhn.defaults 'u