Browse Source

Merge branch 'master' of github.com:LukeSmithxyz/emailwiz

pull/169/head
Luke Smith 3 years ago
parent
commit
4847043384
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      README.md
  2. +4
    -0
      emailwiz.sh

+ 1
- 1
README.md View File

@@ -61,7 +61,7 @@ give your full domain without any subdomain, i.e. `lukesmith.xyz`.
5. `apt purge` all your previous (failed) attempts to install and configure a
mail server. Get rid of _all_ your system settings for Postfix, Dovecot,
OpenDKIM and everything else. This script builds off of a fresh install.
6. Some VPS providers block mail port numbers like 25, 933 or 587 by default.
6. Some VPS providers block mail port numbers like 25, 993 or 587 by default.
You may need to request these ports be opened to send mail successfully.
Vultr and most other VPS providers will respond immediately and open the
ports for you if you open a support ticket.


+ 4
- 0
emailwiz.sh View File

@@ -290,6 +290,10 @@ postconf -e "smtpd_milters = inet:localhost:12301"
postconf -e "non_smtpd_milters = inet:localhost:12301"
postconf -e "mailbox_command = /usr/lib/dovecot/deliver"

# A fix for "Opendkim won't start: can't open PID file?", as specified here: https://serverfault.com/a/847442
/lib/opendkim/opendkim.service.generate
systemctl daemon-reload

for x in spamassassin opendkim dovecot postfix; do
printf "Restarting %s..." "$x"
service "$x" restart && printf " ...done\\n"


Loading…
Cancel
Save