aboutsummaryrefslogtreecommitdiffstats
path: root/pullimap.md
diff options
context:
space:
mode:
Diffstat (limited to 'pullimap.md')
-rw-r--r--pullimap.md21
1 files changed, 12 insertions, 9 deletions
diff --git a/pullimap.md b/pullimap.md
index 3ba5465..c14c605 100644
--- a/pullimap.md
+++ b/pullimap.md
@@ -274,15 +274,18 @@ In more details, `pullimap` works as follows:
found in the *statefile*.
While the `UID FETCH` command is in progress, perform the following
for each untagged `FETCH` response sent by the server:
- i. if no SMTP/LMTP transmission channel was opened, open one to the
- server specified with *deliver-method* and send an `EHLO` (or
- `LHO`) command with the domain specified by *deliver-ehlo* (the
- channel is kept open and shared for all messages retrieved while
- the `UID FETCH` IMAP command is in progress);
- i. perform a mail transaction (using [SMTP pipelining][RFC 2920] if
- possible) to deliver the retrieved message BODY to the SMTP or
- LMTP session; and
- i. append the message UID to the *statefile*.
+
+ i. if no SMTP/LMTP transmission channel was opened, open one to the
+ server specified with *deliver-method* and send an `EHLO` (or
+ `LHO`) command with the domain specified by *deliver-ehlo* (the
+ channel is kept open and shared for all messages retrieved while
+ the `UID FETCH` IMAP command is in progress);
+
+ i. perform a mail transaction (using [SMTP pipelining][RFC 2920] if
+ possible) to deliver the retrieved message BODY to the SMTP or
+ LMTP session; and
+
+ i. append the message UID to the *statefile*.
2. If a SMTP/LMTP transmission channel was opened, send a `QUIT` command
to terminate it gracefully.