summaryrefslogtreecommitdiff
path: root/PIC.local2ext
blob: a8bf644c21668520f56d1358636e1ced9d094395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
                Original message:
                   
                   To: fred-sos
                   Hi.
                   
qmail-inject    Fill in the complete envelope and header:
                   
     |             (envelope) from joe@heaven.af.mil to fred-sos@heaven.af.mil
     |             From: joe@heaven.af.mil
     |             To: fred-sos@heaven.af.mil
     |             
     |             Hi.
     V             
                   
qmail-queue     Store message safely on disk.
                Trigger qmail-send.
     |             
     V             
                   
qmail-send      Look at envelope recipient, fred-sos@heaven.af.mil.
     |          Is heaven.af.mil in locals? Yes.
     |          Deliver locally to fred-sos@heaven.af.mil.
     V          
                   
qmail-lspawn ./Mailbox
                   
     |          Look at mailbox name, fred-sos.
     |          Is fred-sos listed in qmail-users? No.
     |          Is there a fred-sos account? No.
     |          Is there a fred account? Yes.
     |          Is fred's uid nonzero? Yes.
     |          Is ~fred visible to the qmailp user? Yes.
     |          Is ~fred owned by fred? Yes.
     |          Give control of the message to fred.
     |          Run qmail-local.
     V          
                   
qmail-local fred ~fred fred-sos - sos heaven.af.mil joe@heaven.af.mil ./Mailbox
                   
                Does ~fred/.qmail-sos exist? Yes: "./Extramail".
                Write message to ./Extramail in mbox format.