neomutt-samples/config/generate-imap.sh

28 lines
636 B
Bash
Raw Normal View History

2018-12-07 19:52:16 +01:00
#!/bin/bash
FILE=neomuttrc-imap-example
SEP="##########################################################################"
echo $SEP >> $FILE
echo "# IMAP - Neomutt configuration" >> $FILE
echo $SEP >> $FILE
cat variable/01-002-realname.txt >> $FILE
cat variable/01-003-from.txt >> $FILE
cat variable/02-002-folder.txt >> $FILE
echo "# set folder=\"imaps://domain.tld/\"" >> $FILE
2018-12-07 19:52:16 +01:00
cat variable/02-003-spoolfile.txt >> $FILE
echo "# set spoolfile=\"+INBOX\"" >> $FILE
2018-12-07 19:52:16 +01:00
cat variable/02-007-mailboxes.txt >> $FILE
echo "mailboxes \$spoolfile" >> $FILE
cat variable/07-001-imap_user >> $FILE
cat variable/07-002-imap_pass >> $FILE