⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mailutil.1

📁 广泛使用的邮件服务器!同时
💻 1
字号:
.ig * ======================================================================== * Copyright 1988-2008 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *     http://www.apache.org/licenses/LICENSE-2.0 * *  * ========================================================================...TH mailutil 1 "March 3, 2008" .SH NAMEmailutil - mail utility program.nh.SH SYNTAX.B mailutil command [switches] [arguments].PPAll commands accept the -d, -v, and -u switches in addition to anycommand-specific switches..PP.B mailutil check [MAILBOX].PP.B mailutil create MAILBOX.PP.B mailutil delete MAILBOX.PP.B mailutil rename SOURCE DESTINATION.PP.B mailutil copy [-rw] [-kw] [-ig] SOURCE DESTINATION.PP.B mailutil move [-rw] [-kw] [-ig] SOURCE DESTINATION.PP.B mailutil append [-rw] [-kw] [-ig] SOURCE DESTINATION.PP.B mailutil appenddelete [-rw] [-kw] [-ig] SOURCE DESTINATION.PP.B mailutil prune MAILBOX CRITERIA.PP.B mailutil transfer [-m mode] [-rw] [-kw] [-ig] SOURCE DESTINATION.SH DESCRIPTION.B mailutilreplaces the old chkmail, imapcopy, imapmove, imapxfer, mbxcopy,mbxcreat, and mbxcvt programs..PP.B mailutil checkdetermines whether new mail exists in the given mailbox (the defaultis INBOX).  The number of new messages is defined as the number ofmessages that have "Recent" status set.  If the mailbox contains nonew messages, .B mailutil checkwill indicate that no new mail is present;otherwise, it will report the number of new messages.  In either case,it will also indicate the canonical form of the name of the mailbox..PP.B mailutil createcreates a new.I mailboxwith the given name.  The mailbox name must not already exist.  A mailboxcan be created in a particular format by prefixing the name with .I #driver.followed by the format name and a.I /character.  For example, the command.br   mailutil create #driver.mbx/junkmail.brwill create a new mailbox named "junkmail" in mbx format..PP.B mailutil deletedeletes an existing.I mailboxwith the given name..PP.B mailutil renamerenames an existing mailbox to a new name (which must not already exist).This only works if the old and new names are in the same mail store.  Amore general means to rename a mailbox is to do a.B mailutil copyof the old name to the new name, followed by a.B mailutil deleteof the old name..PP.B mailutil copycreates a new mailbox and copies messages from the old mailbox to thenew mailbox.  As in.B mailutil createa mailbox format can be specified with the new mailbox.  For example, thecommand.br   mailutil copy INBOX #driver.mbx/INBOX.brwill copy messages from your existing INBOX to an mbx-format INBOX..PP.B mailutil moveis similar to.B mailutil copybut in addition will also remove (delete and expunge) the messages from theold mailbox after copying them to the new mailbox..PP.B mailutil appendand.B mailutil appenddeleteare similar to.B mailutil copyand.B mailutil moverespectively except that they do not create the destination mailbox..PP.B mailutil pruneprunes the mailbox of messages which match certain criteria, which arein the form of IMAP2 (RFC 1176) SEARCH arguments.  For example, thecommand..br  mailutil prune INBOX "before 1-jan-2004".brwill delete and expunge all messages written before January 1, 2004..PPNote that mailutil implements pruning by deleting the matching messages,and then expunging the mailbox.  Consequently, mailutil will also expungeany messages which were deleted at the time of the pruning..PP.B mailutil transfercopies an entire hierarchy of mailboxes from the named source to thenamed destination.  Mailboxes are created on the destination asneeded.  Any error in copying messages will cause the transfer to stop..PPNormally, any error in creation will cause the transfer to stop.However, if.B -m MODEor.B -merge MODEis specified, a merging transfer is performed.  The.B MODEargument indicats the type of merge:.PP.B -m[erge] promptindicates that the user should be asked for an alternative name to create.If creating the new name fails, the user will be asked again..PP.B -m[erge] appendindicates that it's alright to copy the messages into an existing mailboxwith that name.  If the mailbox does not exist, the user will be promptedfor an alternative name..PP.B -m[erge] suffix=XXXXwhere XXXX is any string, indicates that an alternative name should bebuilt by appending the given suffix to the name.  It that alternative namecan't be created, then the user will be prompted for an alternative name..PPThe source hierarchy consists of all mailboxes which startwith the given source name.  With the exception of a remote systemspecification (within "{}" braces), the source name is used as thename of the destination.  The destination hierarchy is a prefixapplied to any new names being created.  For example,.br   mailutil transfer foo bar.brwill copy all mailboxes with names beginning with "foo" to namesbeginning with "bar" (hence "foobar" will be copied to "barfoobar").Similarly,.br   mailutil transfer "{imap.foo.com}" "{imap.bar.com}old/".brwill copy all mailboxes from the imap.foo.com IMAP server toequivalent names starting with "old/" on the imap.bar.com IMAP server..SH FLAGSThe.B -dor.B -debugflag prints full debugging telemetry including protocol operations..PPThe.B -vor.B -verboseflag prints verbose (non-error) telemetry..PPThe.B -u USERIDor.B -user USERIDswitch attempts to become the indicated user.  This is for the benefit ofsystem administrators who want to do mailutil operations on a userid thatdoes not normally have shell access..PPThe.B -rwor.B -rwcopyflag causes the source mailbox to be open in readwrite mode rather thanreadonly mode.  Normally, mailutil tries to use readonly mode to avoidaltering any flags in the source mailbox, but some mailbox types, e.g.POP3, can't be open in readonly mode..PPThe.B -kwor.B -kwcopyflag causes the keywords of the source mailbox to be created in thedestination mailbox.  Normally, mailutil does not create keywords inthe destination mailbox so only those keywords that are already definedin the destination mailbox will be preserved.  Note that some IMAP serversmay automatically create keywords, so this flag may not be necessary..PPThe.B -igor.B -ignoreflag causes the keywords of the source mailbox to be ignored completelyand no attempt is made to copy them to the destination mailbox..PPThe.B -ig[nore]and.B -kw[copy]flags are mutually exclusive..SH ARGUMENTSThe arguments are standard c-client mailbox names.  Avariety of mailbox name formats and types of mailboxes are supportedby c-client; examples of the most common forms of names are:.PP.I.IP Name 15.I Meaning.IP INBOXprimary incoming mail folder on the local system.IP archive/tx-projectmail folder named "tx-project" in "archive" subdirectory of localfilesystem home directory.IP {imapserver.foo.com}INBOXprimary incoming mail folder on IMAP server system"imapserver.foo.com".IP {imapserver.foo.com}archive/tx-projectmail folder named "tx-project" in "archive" subdirectory on IMAPserver system "imapserver.foo.com".IP #news.comp.mail.miscnewsgroup "comp.mail.misc" on local filesystem.IP {newserver.foo.com/nntp}comp.mail.miscnewsgroup "comp.mail.misc" on NNTP server system "newserver.foo.com".IP {popserver.foo.com/pop3}mail folder on POP3 server system "popserver.foo.com".LPSee your system manager for more information about the types ofmailboxes which are available on your system..SH RESTRICTIONSYou must surround a.I {host}mailboxargument with quotation marks if you run.B mailutilfrom.IR csh (1)or another shell for which braces have special meaning..PPYou must surround a.I #driver.format/mailboxargument with quotation marks if you run.B mailutilfrom a shell in which "#" is the comment character..SH AUTHORMark Crispin, MRC@Washington.EDU

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -