| 19 | |
| 20 | = .forward = |
| 21 | * sample of .forward |
| 22 | {{{ |
| 23 | "|ls > hoge" |
| 24 | "|id > /home/XXXXXXXX/s0711489/id.log" |
| 25 | "|pwd > /home/XXXXXXXX/s0711489/pwd.log" |
| 26 | "|cat > /home/XXXXXXXX/s0711489/mail.log" |
| 27 | \s0711489 |
| 28 | }}} |
| 29 | * mitty -> s0711489 とalias |
| 30 | * 送信したメール本文 (「@」->「(*)」) |
| 31 | {{{ |
| 32 | |
| 33 | Date: Sat, 26 Mar 2011 15:19:56 +0900 |
| 34 | From: Ken-ichi Mito <mitty(*)mitty.jp> |
| 35 | To: mitty(*)coins.tsukuba.ac.jp |
| 36 | Subject: hoge |
| 37 | Message-Id: <20110326151951.B1D6.FC51A3C5(*)mitty.jp> |
| 38 | MIME-Version: 1.0 |
| 39 | Content-Type: text/plain; charset="US-ASCII" |
| 40 | Content-Transfer-Encoding: 7bit |
| 41 | |
| 42 | fuga |
| 43 | |
| 44 | -- |
| 45 | Ken-ichi Mito <mitty(*)mitty.jp> |
| 46 | |
| 47 | . |
| 48 | }}} |
| 49 | * ls -> Error return to mitty(*)mitty.jp |
| 50 | {{{ |
| 51 | <s0711489(*)coins.tsukuba.ac.jp> (expanded from <mitty(*)coins.tsukuba.ac.jp>): |
| 52 | Command died with status 1: "ls > hoge". Command output: sh: hoge: |
| 53 | Permission denied |
| 54 | }}} |
| 55 | * id.log |
| 56 | {{{ |
| 57 | uid=XXXX(s0711489) gid=YYY(XYZ) groups=ZZZ(XYZ) |
| 58 | }}} |
| 59 | * pwd.log |
| 60 | {{{ |
| 61 | /var/spool/postfix |
| 62 | }}} |
| 63 | * mail.log |
| 64 | {{{ |
| 65 | From mitty(*)mitty.jp Sat Mar 26 15:19:58 2011 |
| 66 | Return-Path: <mitty(*)mitty.jp> |
| 67 | X-Original-To: mitty(*)coins.tsukuba.ac.jp |
| 68 | Delivered-To: mitty(*)coins.tsukuba.ac.jp |
| 69 | |
| 70 | (snip ... Received: *****) |
| 71 | |
| 72 | Date: Sat, 26 Mar 2011 15:19:56 +0900 |
| 73 | From: Ken-ichi Mito <mitty(*)mitty.jp> |
| 74 | To: mitty(*)coins.tsukuba.ac.jp |
| 75 | Subject: hoge |
| 76 | Message-Id: <20110326151951.B1D6.FC51A3C5(*)mitty.jp> |
| 77 | MIME-Version: 1.0 |
| 78 | Content-Type: text/plain; charset="US-ASCII" |
| 79 | Content-Transfer-Encoding: 7bit |
| 80 | |
| 81 | fuga |
| 82 | |
| 83 | -- |
| 84 | Ken-ichi Mito <mitty(*)mitty.jp> |
| 85 | |
| 86 | }}} |
| 87 | * 受信メール |
| 88 | {{{ |
| 89 | Return-Path: <mitty(*)mitty.jp> |
| 90 | X-Original-To: mitty(*)coins.tsukuba.ac.jp |
| 91 | Delivered-To: mitty(*)coins.tsukuba.ac.jp |
| 92 | |
| 93 | (snip ... Received: *****) |
| 94 | |
| 95 | Date: Sat, 26 Mar 2011 15:19:56 +0900 |
| 96 | From: Ken-ichi Mito <mitty(*)mitty.jp> |
| 97 | To: mitty(*)coins.tsukuba.ac.jp |
| 98 | Subject: hoge |
| 99 | Message-Id: <20110326151951.B1D6.FC51A3C5(*)mitty.jp> |
| 100 | MIME-Version: 1.0 |
| 101 | Content-Type: text/plain; charset="US-ASCII" |
| 102 | Content-Transfer-Encoding: 7bit |
| 103 | |
| 104 | fuga |
| 105 | |
| 106 | -- |
| 107 | Ken-ichi Mito <mitty(*)mitty.jp> |
| 108 | }}} |