Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

TEST.proto.Sieve

From COCNM
Revision as of 02:20, 19 September 2013 by Bob (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The stuff in bold is what you have to do. The rest is output you should see

Notes

  • In the first perl command, you need to put the \0 in there
  • Use the output you get from the perl command to derive your AUTHENTICATE "PLAIN" "" argument

Sample Sieve Session

  • perl -MMIME::Base64 -e 'print encode_base64("\0bob.miller\0XXXXXXXX");'
    AGJvYi5taWxsZXIARnIxM2QzZ2dz <= Highlight/Copy this output
  • telnet 127.0.0.1 4190
  • Trying 127.0.0.1...
  • Connected to 127.0.0.1.
  • Escape character is '^]'.
  • "IMPLEMENTATION" "Dovecot Pigeonhole"
  • "SIEVE" ""
  • "NOTIFY" ""
  • "SASL" "PLAIN"
  • "STARTTLS"
  • "VERSION" "1.0"
  • OK "Computerisms IMAP server"
  • AUTHENTICATE "PLAIN" "AGJvYi5taWxsZXIARnIxM2QzZ2dz"
  • OK "Logged in."
  • PUTSCRIPT "test" {6+}
  • keep;
  • OK "PUTSCRIPT completed."
  • LISTSCRIPTS
  • "test"
  • OK "Listscripts completed."
  • GETSCRIPT "test"
  • {6}
  • keep;
  • OK "Getscript completed."
  • SETACTIVE "test"
  • OK "Setactive completed."
  • LISTSCRIPTS
  • "test" ACTIVE
  • OK "Listscripts completed."
  • SETACTIVE ""
  • OK "Active script is now deactivated."
  • LISTSCRIPTS
  • "test"
  • OK "Listscripts completed."
  • DELETESCRIPT "test"
  • OK "Deletescript completed."
  • LOGOUT
  • OK "Logout completed."