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
|
2020-05-06 02:48:17 +02:00
|
|
|
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
|
|
|
|
|
2020-05-06 02:48:17 +02:00
|
|
|
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
|
|
|
|
|