| 80 | == heirloom-mailx vs bsd-mailx == |
| 81 | * heirloom-mailxは既読も/var/mail/USERNAMEに保持する |
| 82 | * bsd-mailxは未読のみ/var/mail/USERNAMEに保持する |
| 83 | |
| 84 | === heirloom-mailx === |
| 85 | * mitty@shizuku-debian:~$ mail mitty |
| 86 | {{{ |
| 87 | Subject: test with heirloom-mailx |
| 88 | heirloom-mailx. |
| 89 | EOT |
| 90 | }}} |
| 91 | * mitty@shizuku-debian:~$ |
| 92 | * mitty@shizuku-debian:~$ mail |
| 93 | {{{ |
| 94 | Heirloom mailx version 12.4 7/29/08. Type ? for help. |
| 95 | "/var/mail/mitty": 1 message 1 new |
| 96 | >N 1 mitty Wed Nov 9 10:50 18/650 test with heirloom-mailx |
| 97 | ? q |
| 98 | Held 1 message in /var/mail/mitty |
| 99 | You have mail in /var/mail/mitty |
| 100 | }}} |
| 101 | * mitty@shizuku-debian:~$ mail |
| 102 | {{{ |
| 103 | Heirloom mailx version 12.4 7/29/08. Type ? for help. |
| 104 | "/var/mail/mitty": 1 message 1 unread |
| 105 | >U 1 mitty Wed Nov 9 10:50 19/660 test with heirloom-mailx |
| 106 | ? |
| 107 | Message 1: |
| 108 | From mitty@shizuku-debian.local Wed Nov 9 10:50:22 2011 |
| 109 | Return-Path: <mitty@shizuku-debian.local> |
| 110 | X-Original-To: mitty |
| 111 | Delivered-To: mitty@shizuku-debian.local |
| 112 | Date: Wed, 09 Nov 2011 10:50:22 +0900 |
| 113 | To: mitty@shizuku-debian.local |
| 114 | Subject: test with heirloom-mailx |
| 115 | User-Agent: Heirloom mailx 12.4 7/29/08 |
| 116 | Content-Type: text/plain; charset=us-ascii |
| 117 | From: mitty@shizuku-debian.local (mitty) |
| 118 | Status: RO |
| 119 | |
| 120 | heirloom-mailx. |
| 121 | |
| 122 | ? q |
| 123 | Held 1 message in /var/mail/mitty |
| 124 | }}} |
| 125 | * mitty@shizuku-debian:~$ mail |
| 126 | {{{ |
| 127 | Heirloom mailx version 12.4 7/29/08. Type ? for help. |
| 128 | "/var/mail/mitty": 1 message |
| 129 | >O 1 mitty Wed Nov 9 10:50 19/661 test with heirloom-mailx |
| 130 | ? d |
| 131 | ? q |
| 132 | }}} |
| 133 | |
| 134 | === bsd-mailx === |
| 135 | * mitty@shizuku-debian:~$ mail mitty |
| 136 | {{{ |
| 137 | Subject: test with bsd-mailx |
| 138 | bsd-mailx. |
| 139 | Cc: mitty@shizuku-debian:~$ |
| 140 | }}} |
| 141 | * mitty@shizuku-debian:~$ mail |
| 142 | {{{ |
| 143 | Mail version 8.1.2 01/15/2001. Type ? for help. |
| 144 | "/var/mail/mitty": 1 message 1 new |
| 145 | >N 1 mitty@shizuku-deb Wed Nov 9 11:07 14/513 test with bsd-mailx |
| 146 | & q |
| 147 | Held 1 message in /var/mail/mitty |
| 148 | }}} |
| 149 | * mitty@shizuku-debian:~$ mail |
| 150 | {{{ |
| 151 | Mail version 8.1.2 01/15/2001. Type ? for help. |
| 152 | "/var/mail/mitty": 1 message 1 unread |
| 153 | >U 1 mitty@shizuku-deb Wed Nov 9 11:07 15/523 test with bsd-mailx |
| 154 | & |
| 155 | Message 1: |
| 156 | From mitty@shizuku-debian.local Wed Nov 9 11:07:51 2011 |
| 157 | X-Original-To: mitty |
| 158 | To: mitty@shizuku-debian.local |
| 159 | Subject: test with bsd-mailx |
| 160 | Date: Wed, 9 Nov 2011 11:07:51 +0900 (JST) |
| 161 | From: mitty@shizuku-debian.local (mitty) |
| 162 | |
| 163 | bsd-mailx. |
| 164 | |
| 165 | & q |
| 166 | Saved 1 message in /home/mitty/mbox |
| 167 | }}} |
| 168 | * mitty@shizuku-debian:~$ mail |
| 169 | {{{ |
| 170 | No mail for mitty |
| 171 | }}} |
| 172 | * mitty@shizuku-debian:~$ ls -l |
| 173 | {{{ |
| 174 | total 4 |
| 175 | -rw------- 1 mitty mitty 524 Nov 9 11:08 mbox |
| 176 | }}} |
| 177 | |