Browse Source

add color so people stop missing it

pull/119/head
Luke Smith 4 years ago
parent
commit
4c468aac9c
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      emailwiz.sh

+ 6
- 6
emailwiz.sh View File

@@ -214,7 +214,7 @@ if header :contains \"X-Spam-Flag\" \"YES\"
fileinto \"Junk\"; fileinto \"Junk\";
}" > /var/lib/dovecot/sieve/default.sieve }" > /var/lib/dovecot/sieve/default.sieve


cut -d: -f1 /etc/passwd | grep -q "^vmail" || useradd vmail
grep -q "^vmail:" /etc/passwd || useradd vmail
chown -R vmail:vmail /var/lib/dovecot chown -R vmail:vmail /var/lib/dovecot
sievec /var/lib/dovecot/sieve/default.sieve sievec /var/lib/dovecot/sieve/default.sieve


@@ -296,26 +296,26 @@ echo "$dkimentry
$dmarcentry $dmarcentry
$spfentry" > "$HOME/dns_emailwizard" $spfentry" > "$HOME/dns_emailwizard"


echo "
printf "\033[31m
_ _ _ _
| \ | | _____ ___ | \ | | _____ ___
| \| |/ _ \ \ /\ / (_) | \| |/ _ \ \ /\ / (_)
| |\ | (_) \ V V / _ | |\ | (_) \ V V / _
|_| \_|\___/ \_/\_/ (_)
|_| \_|\___/ \_/\_/ (_)\033[0m


Add these three records to your DNS TXT records on either your registrar's site Add these three records to your DNS TXT records on either your registrar's site
or your DNS server: or your DNS server:
\033[32m
$dkimentry $dkimentry


$dmarcentry $dmarcentry


$spfentry $spfentry
\033[0m
NOTE: You may need to omit the \`.$domain\` portion at the beginning if NOTE: You may need to omit the \`.$domain\` portion at the beginning if
inputting them in a registrar's web interface. inputting them in a registrar's web interface.


Also saving these to ~/dns_emailwizard in case you want them in a file.
Also, these are now saved to \033[34m~/dns_emailwizard\033[0m in case you want them in a file.


Once you do that, you're done! Check the README for how to add users/accounts Once you do that, you're done! Check the README for how to add users/accounts
and how to log in." and how to log in."

Loading…
Cancel
Save