Manual Page Search Parameters

MREFILE(1) General Commands Manual MREFILE(1)

move or copy messages between maildir folders

mrefile [
] [
] [
msgs ...
] dir

mrefile moves the msgs given on the command line (or the standard input) into the maildir dir, assigning new filenames but keeping any message flags. Messages are moved directly into the cur/ directory. (See mmsg(7) for the message argument syntax.)
The options are as follows:
keep the messages in their respective folders, i.e. copy into dir.
Print each resulting message filename.

The mrefile utility exits 0 on success, and >0 if an error occurs.


Leah Neukirchen <>

mrefile is in the public domain.
To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
April 19, 2018 x86_64