can not chdir(/var/spool/mqueue/): Permission denied
can not chdir(/var/spool/mqueue/): Permission denied
MAILQ(1) MAILQ(1) 名称 mailq - メールのキューを表示する 書式 mailq [-v] 解説 mailq は、後で配送するためにキューに蓄えたメールを一覧表示します。 各メッセージの 1 行目は、ステータス文字が付くことがある、ホストがメッセ ージにつける内部の識別子と、メッセージのバイト数、キューに入れられた 日 付と時間、メッセージの送り手を表示します。 2 行目は、このメールがキュー に入れられる原因となったエラーを表示します。このメッセージは、キュー の な かでメールが最初に処理されているときには表示されません。ステータス文 字は次のいずれかです: * は、ジョブが処理中であることを示し、 X は、ジョ ブを処理するには負荷が高すぎることを示し、 - は、ジョブが処理するには若 すぎることを示します。そのあとの行には、メールの受け手が 1 行に 1 人 ず つ表示されます。 mailq は ‘‘sendmail -bp’’ と等価です。 次のオプションを使用可能です: -v 詳細な情報を表示します。通常の表示に加え、メッセージの優先度と、 警告メッセージを送ったか否かを示す 1 文字の記号 (‘‘+’’ か 空 白) を 最 初 の行に追加します。さらに、メールの受け手の ‘‘制御ユーザ (controlling user)’’ 情報を表示します; これは、このメールによ っ て実行されるプログラムの所有者および、存在するのであれば、このコ マンドが展開される元のエイリアス名です。 mailq は成功した場合は 0 を、エラーが起きた場合は 0 より大きな値を返 し ます。 関連項目 sendmail(8) 歴史 mailq は 4.0BSD から登場しました。 1Date: 2000/12/14 23:08:15 1 MAILQ(1)
MAILQ(1) MAILQ(1) NAME mailq - print the mail queue SYNOPSIS mailq [-Ac] [-q...] [-v] DESCRIPTION Mailq prints a summary of the mail messages queued for future delivery. The first line printed for each message shows the internal identifier used on this host for the message with a possible status character, the size of the message in bytes, the date and time the message was accepted into the queue, and the envelope sender of the message. The second line shows the error message that caused this message to be retained in the queue; it will not be present if the message is being processed for the first time. The status characters are either * to indicate the job is being processed; X to indicate that the load is too high to process the job; and - to indicate that the job is too young to process. The following lines show message recipients, one per line. Mailq is identical to ‘‘sendmail -bp’’. The relevant options are as follows: -Ac Show the mail submission queue specified in /etc/mail/submit.cf instead of the MTA queue specified in /etc/mail/sendmail.cf. -qL Show the "lost" items in the mail queue instead of the normal queue items. -qQ Show the quarantined items in the mail queue instead of the nor- mal queue items. -q[!]I substr Limit processed jobs to those containing substr as a substring of the queue id or not when ! is specified. -q[!]Q substr Limit processed jobs to quarantined jobs containing substr as a substring of the quarantine reason or not when ! is specified. -q[!]R substr Limit processed jobs to those containing substr as a substring of one of the recipients or not when ! is specified. -q[!]S substr Limit processed jobs to those containing substr as a substring of the sender or not when ! is specified. -v Print verbose information. This adds the priority of the mes- sage and a single character indicator (‘‘+’’ or blank) indicat- ing whether a warning message has been sent on the first line of the message. Additionally, extra lines may be intermixed with the recipients indicating the ‘‘controlling user’’ information; this shows who will own any programs that are executed on behalf of this message and the name of the alias this command expanded from, if any. Moreover, status messages for each recipient are printed if available. Several sendmail.cf options influence the behavior of the mailq util- ity: The number of items printed per queue group is restricted by MaxQueueRunSize if that value is set. The status character * is not printed for some values of QueueSortOrder, e.g., filename, random, mod- ification, and none, unless a -q option is used to limit the processed jobs. The mailq utility exits 0 on success, and >0 if an error occurs. SEE ALSO sendmail(8) HISTORY The mailq command appeared in 4.0BSD. $Date: 2007/03/22 18:21:27 $ MAILQ(1)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa