linux:commands:mail

メール関連

$ sudo dnf install mailx
メタデータの期限切れの最終確認: 2:29:25 時間前の 2020年06月14日 15時59分34秒 に実施しました。
依存関係が解決しました。
======================================================================================================
 Package              Architecture          Version                       Repository             Size
======================================================================================================
インストール:
 mailx                x86_64                12.5-32.fc31                  fedora                253 k

トランザクションの概要
======================================================================================================
インストール  1 パッケージ

ダウンロードサイズの合計: 253 k
インストール済みのサイズ: 480 k
これでよろしいですか? [y/N]: y
パッケージのダウンロード:
mailx-12.5-32.fc31.x86_64.rpm                                         1.5 MB/s | 253 kB     00:00
------------------------------------------------------------------------------------------------------
合計                                                                  544 kB/s | 253 kB     00:00
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                              1/1
  インストール中   : mailx-12.5-32.fc31.x86_64                                                    1/1
  scriptletの実行中: mailx-12.5-32.fc31.x86_64                                                    1/1
  検証             : mailx-12.5-32.fc31.x86_64                                                    1/1

インストール済み:
  mailx-12.5-32.fc31.x86_64

完了しました!
# mail
Heirloom Mail version 12.4 7/29/08.  Type ? for help.
"/var/spool/mail/root": 13 messages
>   1 Cron Daemon       Tue Jun 23 12:10  27/1028  "Cron <root@monster> run-part"
    2 logwatch@monster  Tue Jun 23 13:27  44/1622  "Logwatch for monster (Linux)"
    3 logwatch@monster  Thu Jun 25 11:04  59/1953  "Logwatch for monster (Linux)"
    4 logwatch@monster  Thu Jun 25 12:37  59/1953  "Logwatch for monster (Linux)"
    5 Mail Delivery Su  Fri Jun 26 00:52  77/2443  "Returned mail: see transcrip"
    6 logwatch@monster  Fri Jun 26 03:10 148/4540  "Logwatch for monster (Linux)"
    7 logwatch@monster  Sat Jun 27 11:06 115/3263  "Logwatch for monster (Linux)"
    8 logwatch@monster  Sun Jun 28 03:45 142/4391  "Logwatch for monster (Linux)"
    9 logwatch@monster  Tue Jul  7 03:17  88/2575  "Logwatch for monster (Linux)"
   10 logwatch@monster  Wed Jul  8 03:13 105/3058  "Logwatch for monster (Linux)"
   11 logwatch@monster  Thu Jul  9 03:26  97/2783  "Logwatch for monster (Linux)"
   12 logwatch@monster  Fri Jul 10 03:13  78/2304  "Logwatch for monster (Linux)"
   13 logwatch@monster  Sat Jul 11 06:49 102/2945  "Logwatch for monster (Linux)"
& t    <- メッセージの表示は t コマンドを入力
Message  1:
From root@monster.fireball.local  Tue Jun 23 12:10:53 2009
Return-Path: <root@monster.fireball.local>
Date: Tue, 23 Jun 2009 01:01:36 +0900
From: root@monster.fireball.local (Cron Daemon)
To: root@monster.fireball.local
Subject: Cron <root@monster> run-parts /etc/cron.hourly
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/bash>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <HOME=/>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Status: RO

/etc/cron.hourly/0anacron:

cat: /var/spool/anacron/cron.daily: No such file or directory

& q    <- mailコマンドを終了するには q コマンドを入力
  • linux/commands/mail.txt
  • 最終更新: 2020/09/11 22:08
  • by ともやん