-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathPIC.rem2local
36 lines (29 loc) · 1.3 KB
/
PIC.rem2local
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
qmail-smtpd Receive message by SMTP from another host:
| MAIL FROM:<[email protected]>
| RCPT TO:<[email protected]>
|
| Is $RELAYCLIENT set? No.
| Is heaven.af.mil in rcpthosts? Yes.
| Accept RCPT.
V
qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V
qmail-send Look at envelope recipient, [email protected].
| Is heaven.af.mil in locals? Yes.
| Deliver locally to [email protected].
V
qmail-lspawn ./Mailbox
| Look at mailbox name, joe.
| Is joe listed in qmail-users? No.
| Is there a joe account? Yes.
| Is joe's uid nonzero? Yes.
| Is ~joe visible to the qmailp user? Yes.
| Is ~joe owned by joe? Yes.
| Give control of the message to joe.
| Run qmail-local.
V
qmail-local joe ~joe joe '' '' heaven.af.mil [email protected] ./Mailbox
Does ~joe/.qmail exist? No.
Write message to ./Mailbox in mbox format.