| 1 | Original message: |
| 2 | |
| 3 | To: help |
| 4 | Hi. |
| 5 | |
| 6 | qmail-inject Fill in the complete envelope and header: |
| 7 | |
| 8 | | (envelope) from joe@heaven.af.mil to help@heaven.af.mil |
| 9 | | From: joe@heaven.af.mil |
| 10 | | To: help@heaven.af.mil |
| 11 | | |
| 12 | | Hi. |
| 13 | V |
| 14 | |
| 15 | qmail-queue Store message safely on disk. |
| 16 | Trigger qmail-send. |
| 17 | | |
| 18 | V |
| 19 | |
| 20 | qmail-send Look at envelope recipient, help@heaven.af.mil. |
| 21 | | Is heaven.af.mil in locals? Yes. |
| 22 | | Deliver locally to help@heaven.af.mil. |
| 23 | V |
| 24 | |
| 25 | qmail-lspawn ./Mailbox |
| 26 | |
| 27 | | Look at mailbox name, help. |
| 28 | | Is help listed in qmail-users? No. |
| 29 | | Is there a help account? No. |
| 30 | | Give control of the message to alias. |
| 31 | | Run qmail-local. |
| 32 | V |
| 33 | |
| 34 | qmail-local alias ~alias help - help heaven.af.mil joe@heaven.af.mil ./Mailbox |
| 35 | |
| 36 | Does ~alias/.qmail-help exist? Yes: "john". |
| 37 | Forward message to john. |