Configuring Pine for SMTP Submission and IMAPS
The open standard for corporate e-mail is to send authenticated mail on the SMTP submission port and to store folders using IMAP over SSL. One of the nice things about using a standard protocol is that you can use a range of e-mail clients, even on the same machine.
Sometimes it is useful to use the ancient Pine mail client. I find it particularly useful if I need to retrieve an e-mail when connected to a router console.
Configure ~/.pinerc to be:
user-domain=example.com
smtp-server=submission.srv.example.com:587/tls/novalidate-cert/user=gdt
inbox-path={imaps.srv.example.com/ssl/novalidate-cert}INBOX
default-fcc={imaps.srv.example.com/ssl/novalidate-cert}Sent
postponed-folder={imaps.srv.example.com/ssl/novalidate-cert}Drafts
folder-collections="Example" {imaps.srv.example.com/ssl/novalidate-cert}[]
rsh-open-timeout=0
ssh-open-timeout=0