![]() If I am writing an email to more than one person, I find it muchĮasier to add the recipients in vim using FZF. This means I can start typing a name or email address, pressĬtrl t, and you can select a contact. Then in my Mutt configuration, I have the line: set query_command = "/home/jonathan/Contacts/lookup | grep '%s'" #!/usr/bin/env bash cat $HOME/Contacts/ *.people | awk -v RS= "\n\n" -v ORS= "\n" '' | while read line do echo " $line " | tr '§' '\n' | egrep '^(cn|mail|title):' | cut -d ':' -f2- | tr '\n' '\t' done I created a contacts folder and ran the following in bash. Storing contacts locally solves solves both problems, with the cost ![]() Particularly if you have to connect through a slow VPN. Secondly, and more importantly for me, the lookup is slow, Possible to compose an email offline to send it when you get online.Īdmittedly, it is rare that I will be doing much with emails offline, It works but, in my opinion, has 2 shortcomings.įirstly, it relies on an internet connection, meaning it is not Will query the LDAP server to search for contacts when typing in the This allows me to change the imap_pass line to set imap_pass = `pass show domainCreds | head -n 1` Adding contacts In my case, I use the command line password manager Pass. You can run shell commands to populate variables so, The information never leaves the computer.Īlso, you might prefer not to put your password in a configurationįile in clear text. This isįor the communication between the mail client and the local server, so Note here I have disabled tls authentication. Your credentials will be you Active Directory username and passwordĪnd, with that, you should be able to send and receive emails using theĮxchange server. You will need to connect using port 1143 for IMAP and 1025 for SMTP. Unless you have configured it differently, You can now connect to the locally running Davmail server as though Nohup davmail davmail.properties
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |