| 1 | Original message: |
| 2 | |
| 3 | To: bill@irs.gov |
| 4 | Hi. |
| 5 | |
| 6 | qmail-inject Fill in the complete envelope and header: |
| 7 | |
| 8 | | (envelope) from joe@heaven.af.mil to bill@irs.gov |
| 9 | | From: joe@heaven.af.mil |
| 10 | | To: bill@irs.gov |
| 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, bill@irs.gov. |
| 21 | | Is irs.gov in locals? No. |
| 22 | | Is bill@irs.gov in virtualdomains? No. |
| 23 | | Is irs.gov in virtualdomains? No. |
| 24 | | Is .gov in virtualdomains? No. |
| 25 | | Deliver remotely to bill@irs.gov. |
| 26 | V |
| 27 | |
| 28 | qmail-rspawn Run qmail-remote. |
| 29 | |
| 30 | | |
| 31 | V |
| 32 | |
| 33 | qmail-remote Look at host name, irs.gov. |
| 34 | Is irs.gov listed in smtproutes? Yes: ":bigbang.af.mil". |
| 35 | Look up DNS A for bigbang.af.mil and connect by SMTP: |
| 36 | |
| 37 | MAIL FROM:<joe@heaven.af.mil> |
| 38 | RCPT TO:<bill@irs.gov> |