[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-228336-en":3,"doc-seo-228336-105":31,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":28,"seo_description":14,"update_tm":29,"read_time":30},228336,2336475104957,"นรินทร์","https://ap-avatar.wpscdn.com/avatar/22000c4c6bd8a5076e1?x-image-process=image/resize,m_fixed,w_180,h_180&k=1787554080175789136",6,"Technology","Establishing and Verifying the Stunnel SSL Encryption of Pine IMAP Email Sessions","This paper documents one method for establishing and verifying SSL encryption using Stunnel for Pine IMAP email sessions. It introduces IMAP and SSL, explaining how IMAP authentication and message transport need protection. Detailed steps cover building and installing Stunnel to enable SSL functionality for IMAP, then validating that encryption is active using TCPDUMP by observing the encrypted session traffic between client and server.","Global Information Assurance Certification Paper  \nCopyright SANS Institute  \nAuthor Retains Full Rights  \nThis paper is taken from the GIAC directory of certified professionals. Reposting is not permited without express written permission.  \nInterested in learning more? Check out the list of upcoming events offering\"Security Essentials (Security 401)\"at [http://www.giac.org/registration/gsec](http://www.giac.org/registration/gsec)  \nEstablishing and Verifying the Stunnel SSL Encryption of Pine IMAP Email Sessions  \nChristopher Ursich  \nSANS Security Essentials GSEC Practical Assignment Assignment version 1 .2f  \nABSTRACT: This paper documents one method for establishing and verifying the operation of SSL encryption using Stunnel for Pine IMAP email sessions . Several technologies are introduced, and briefly explained, including IMAP and SSL . Detailed information is given regarding the establishment of SSL functionality using Stunnel . After completing the installation, verification is performed using TCPDUMP to show that encryption is operating.  \nI . Introduction  \nWe first introduce the technologies that are relevant to this effort .  \nEach is described only to the extent of its motivational usefulness .  \nA . IMAP  \nIMAP (Internet Mail Access Protocol) is a mail access protocol primarily characterized by comparison with the older and more familiar POP (Post Office Protocol) protocol. When a mail user agent (MUA) (commonly termed an \"email client\") uses POP to access mail, the MUA downloads the messages to the local system, and usually deletes them from the server .  \nThe principal copy of the messages is now stored locally. In contrast, in an IMAP system, the principal copy of messages remains on the server until it is eventually deleted . This system allows users to access their mail from multiple locations and/or using multiple devices .  \n([MANAGING-IMAP])  \nThe important aspects of IMAP in terms of this security effort are the encryption of the authentication exchange that begins an IMAP session, and the encryption of the data (email messages) that is transferred between client and server during a session . The IMAP protocol specifies two commands for user authentication, LOGIN and AUTHENTICATE .  \nAuthentication using LOGIN transmits a simple username & password pair in clear text . This is obviously a bad practice. Authentication using AUTHENTICATE performs the authentication using one of several more secure mechanisms, and can be used if the client and server both support at least one such mechanism . ([IMAP4REV1])  \nAlthough the authentication process can be completed securely, the IMAP specification does not itself support encryption of the payload data that is transmitted between client and server . This is the second area where IMAP security could be improved. The way we have chosen to make this improvement in this paper is using SSL encryption.  \nB . SSL  \nSSL (Secure Sockets Layer) is the network-layer protocol originally developed by Netscape that is widely accepted on the Internet as a means to authenticate and encrypt client/server connections . SSL runs on top of the TCP/IP layer, and under the application layer. In the SSL system, parties are identified using _certificates_ . An SSL-enabled web server, for example, is identified with a certificate that is _signed_(vouched for) by a _certificate_authority_ (CA) . When a user's web browser connects to the site and is presented with the certificate, the browser confirms that the CA who signed the certificate is one it recognizes. (Browsers come with certificates for the major CAs . )  \n([SSL-INFO])  \nThe build process for Stunnel includes the generation of an SSL certificate . The administrator has the option to purchase a CA signature for this certificate, but doing so is not required for this effort . In the author's small environment, although we want secure communications, it isn't appropriate for us to obtain the signature of a CA on the SSL certificat","cbCaio59B21r8IK1","https://ap.wps.com/l/cbCaio59B21r8IK1","pdf",53307,2,1,10,"English","en",105,"# Introduction\n## IMAP\n## SSL\n## Stunnel\n# Building and Installing Stunnel on the Server","[{\"question\":\"Why does this paper focus on IMAP security for Pine email sessions?\",\"answer\":\"It targets two IMAP security gaps: protecting authentication exchanges and encrypting email payload data transferred between client and server during a session.\"},{\"question\":\"What role does SSL play in securing IMAP communication?\",\"answer\":\"SSL authenticates and encrypts the client/server connection so that both authentication and payload transmission occur securely over an SSL-protected channel.\"},{\"question\":\"How is SSL encryption verification performed after installing Stunnel?\",\"answer\":\"Verification is performed using TCPDUMP to observe that the IMAP session traffic is encrypted and that SSL is operating correctly.\"}]","Establishing and Verifying the Stunnel SSL Encryption of Pine IMAP Email Sessions | PDF",1789024982,25,{"code":4,"msg":32,"data":33},"ok",{"site_id":25,"language":24,"slug":34,"title":13,"keywords":35,"description":14,"schema_data":36,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":29},"establishing-and-verifying-the-stunnel-ssl-encryption-of-pine-imap-email-sessions","",{"@graph":37,"@context":86},[38,54,69],{"@type":39,"itemListElement":40},"BreadcrumbList",[41,45,48,51],{"item":42,"name":43,"@type":44,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":46,"name":47,"@type":44,"position":20},"https://docshare.wps.com/document/","Document",{"item":49,"name":12,"@type":44,"position":50},"https://docshare.wps.com/document/technology/",3,{"item":52,"name":13,"@type":44,"position":53},"https://docshare.wps.com/document/establishing-and-verifying-the-stunnel-ssl-encryption-of-pine-imap-email-sessions/228336/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":42,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-09-11","2026-09-10",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"Why does this paper focus on IMAP security for Pine email sessions?","Question",{"text":76,"@type":77},"It targets two IMAP security gaps: protecting authentication exchanges and encrypting email payload data transferred between client and server during a session.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"What role does SSL play in securing IMAP communication?",{"text":81,"@type":77},"SSL authenticates and encrypts the client/server connection so that both authentication and payload transmission occur securely over an SSL-protected channel.",{"name":83,"@type":74,"acceptedAnswer":84},"How is SSL encryption verification performed after installing Stunnel?",{"text":85,"@type":77},"Verification is performed using TCPDUMP to observe that the IMAP session traffic is encrypted and that SSL is operating correctly.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":93},[94,98,102,106,111,114,119,124,129,132,135],{"id":21,"doc_module":4,"doc_module_name":47,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":47,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":47,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":47,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":47,"category_name":12,"show_sort_weight":112,"slug":113},50,"technology",{"id":115,"doc_module":4,"doc_module_name":47,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":120,"doc_module":4,"doc_module_name":47,"category_name":121,"show_sort_weight":122,"slug":123},8,"Research & Report",30,"research-report",{"id":125,"doc_module":4,"doc_module_name":47,"category_name":126,"show_sort_weight":127,"slug":128},9,"Religion & Spirituality",20,"religion-spirituality",{"id":127,"doc_module":4,"doc_module_name":47,"category_name":130,"show_sort_weight":127,"slug":131},"World Cup","world-cup",{"id":22,"doc_module":4,"doc_module_name":47,"category_name":133,"show_sort_weight":22,"slug":134},"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":47,"category_name":137,"show_sort_weight":107,"slug":138},19,"General","general"]