diff options
| author | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
| commit | 69aec538b456402170dc723af417ba5c05389c32 (patch) | |
| tree | e6f34c543f17c6392447ea337b2e2868212424d1 /PIC.local2virt | |
| download | qmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2 qmail-69aec538b456402170dc723af417ba5c05389c32.zip | |
qmail 1.03 import
Diffstat (limited to 'PIC.local2virt')
| -rw-r--r-- | PIC.local2virt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/PIC.local2virt b/PIC.local2virt new file mode 100644 index 0000000..60f80c8 --- /dev/null +++ b/PIC.local2virt | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | Original message: | ||
| 2 | |||
| 3 | To: dude@tommy.gov | ||
| 4 | Hi. | ||
| 5 | |||
| 6 | qmail-inject Fill in the complete envelope and header: | ||
| 7 | |||
| 8 | | (envelope) from joe@heaven.af.mil to dude@tommy.gov | ||
| 9 | | From: joe@heaven.af.mil | ||
| 10 | | To: dude@tommy.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, dude@tommy.gov. | ||
| 21 | | Is tommy.gov in locals? No. | ||
| 22 | | Is dude@tommy.gov in virtualdomains? No. | ||
| 23 | | Is tommy.gov in virtualdomains? Yes: "tommy.gov:fred". | ||
| 24 | | Deliver locally to fred-dude@tommy.gov. | ||
| 25 | V | ||
| 26 | |||
| 27 | qmail-lspawn ./Mailbox | ||
| 28 | |||
| 29 | | Look at mailbox name, fred-dude. | ||
| 30 | | Is fred-dude listed in qmail-users? No. | ||
| 31 | | Is there a fred-dude account? No. | ||
| 32 | | Is there a fred account? Yes. | ||
| 33 | | Is fred's uid nonzero? Yes. | ||
| 34 | | Is ~fred visible to the qmailp user? Yes. | ||
| 35 | | Is ~fred owned by fred? Yes. | ||
| 36 | | Give control of the message to fred. | ||
| 37 | | Run qmail-local. | ||
| 38 | V | ||
| 39 | |||
| 40 | qmail-local fred ~fred fred-dude - dude tommy.gov joe@heaven.af.mil ./Mailbox | ||
| 41 | |||
| 42 | Does ~fred/.qmail-dude exist? No. | ||
| 43 | Does ~fred/.qmail-default exist? Yes: "./Mail.tommy". | ||
| 44 | Write message to ./Mail.tommy in mbox format. | ||
