chiark / gitweb /
Merge branches 'idx/verh' and 'idx/qmqpc'
[qmail] / PIC.local2local
1                 Original message:
2                    
3                    To: fred
4                    Hi.
5                    
6 qmail-inject    Fill in the complete envelope and header:
7                    
8      |             (envelope) from joe@heaven.af.mil to fred@heaven.af.mil
9      |             From: joe@heaven.af.mil
10      |             To: fred@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, fred@heaven.af.mil.
21      |          Is heaven.af.mil in locals? Yes.
22      |          Deliver locally to fred@heaven.af.mil.
23      V          
24                    
25 qmail-lspawn ./Mailbox
26                    
27      |          Look at mailbox name, fred.
28      |          Is fred listed in qmail-users? No.
29      |          Is there a fred account? Yes.
30      |          Is fred's uid nonzero? Yes.
31      |          Is ~fred visible to the qmailp user? Yes.
32      |          Is ~fred owned by fred? Yes.
33      |          Give control of the message to fred.
34      |          Run qmail-local.
35      V          
36                    
37 qmail-local fred ~fred fred '' '' heaven.af.mil joe@heaven.af.mil ./Mailbox
38                    
39                 Does ~fred/.qmail exist? No.
40                 Write message to ./Mailbox in mbox format.