diff options
Diffstat (limited to 'imap4d/imap4d.c')
-rw-r--r-- | imap4d/imap4d.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/imap4d/imap4d.c b/imap4d/imap4d.c index 1df39659a..340c2bb15 100644 --- a/imap4d/imap4d.c +++ b/imap4d/imap4d.c @@ -417,11 +417,13 @@ imap4d_mainloop (int fd, FILE *infile, FILE *outfile) return 0; } - /* Greetings. */ + /* Greetings. */ io_untagged_response ((state == STATE_AUTH) ? RESP_PREAUTH : RESP_OK, "%s", text); io_flush (); + set_xscript_level ((state == STATE_AUTH) ? XSCRIPT_NORMAL : XSCRIPT_SECURE); + tokp = imap4d_tokbuf_init (); while (1) { |