summaryrefslogtreecommitdiff
path: root/doc/Qmail/PIC.local2alias
blob: 75cff566cc2aeb818a72846807f3117c8b57a7d4 (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
                Original message:
                   
                   To: help
                   Hi.
                   
qmail-inject    Fill in the complete envelope and header:
                   
     |             (envelope) from joe@heaven.af.mil to help@heaven.af.mil
     |             From: joe@heaven.af.mil
     |             To: help@heaven.af.mil
     |             
     |             Hi.
     V             
                   
qmail-queue     Store message safely on disk.
                Trigger qmail-send.
     |             
     V             
                   
qmail-send      Look at envelope recipient, help@heaven.af.mil.
     |          Is heaven.af.mil in locals? Yes.
     |          Deliver locally to help@heaven.af.mil.
     V          
                   
qmail-lspawn ./Mailbox
                   
     |          Look at mailbox name, help.
     |          Is help listed in qmail-users? No.
     |          Is there a help account? No.
     |          Give control of the message to alias.
     |          Run qmail-local.
     V          
                   
qmail-local alias ~alias help - help heaven.af.mil joe@heaven.af.mil ./Mailbox
                   
		Does ~alias/.qmail-help exist? Yes: "john".
		Forward message to john.