summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-28now it can make self-signed certs, turn some settings into optionsAlberto Bursi
-- the change to the apt-get install part at the beginning forces an uninstall and purge of configs. This means that if you re-run the script it will "reset" the install to default state by deleting packages and configs and re-installing and re-generating the configs. --I turned some hardcoded settings into options that can be set in the variables at the top of the script (for convenience). The default behavior is the same as before. allow_suboptimal_ciphers="yes" #yes no mailbox_format="maildir" # maildir sdbox allowed_protocols=" imap pop3 " #imap pop3 --added a setting "selfsigned="no" # yes no" to choose between "let's get a cert from letsencrypt" and "create self-signed cert that lasts 100 years", and added the logic to generate the certs and whatnot. My usecase is for an "isolated" server that collects notifications from devices in the same local network(s) or serves as secure/private messaging system over VPN (wireguard or whatever). The default is still as before. If creating a self-signed cert is selected, it will show the certificate creation wizard as normal. --added a few setting variables to auto-generate the certificate with country name, state/province name, organization name and hostname Again this is not enabled by default.
2023-08-19Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith
2023-08-19disable excluded ciphers until further investigation, close #292Luke Smith
2023-08-11ensure systemd backend for fail2banLuke Smith
2023-07-26Merge pull request #286 from andrewrunxiyu/masterLuke Smith
Make it work with Debian 12: spamassassin -> spamd
2023-07-12Merge pull request #288 from medanisjbara/patch-1Luke Smith
Adding pop3 support
2023-07-11adding pop3 specific settingsMed Anis Jbara
2023-07-03Make it work with Debian 12: spamassassin -> spamdAndrew Yu
This commits checks for /etc/default/spamassassin. If it exists, it's passed through sed to modify the CRON variable as usual, and spamassassin.service is enabled and restarted. If /etc/default/spamassassin does not exist, but /etc/default/spamd exists, we modify /etc/default/spamd instead, and restart and enable spamd.service. This has to be done because Debian 12 introduced this breaking change: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020859 Apologies for my previous commit which introduced a new "README" file specifically for my fork of the repository. I've modified my patch to remove it, please accept this version of the patch instead. Signed-off-by: Andrew Yu <andrew@andrewyu.org>
2023-06-30Merge pull request #284 from xkcdstickfigure/patch-1Luke Smith
fix comment
2023-06-30fix commentxkcdstickfigure
2023-05-29fix #279Luke Smith
2023-05-01Merge pull request #276 from ↵Luke Smith
drunderscore/fix/use-single-quotes-to-prevent-interpolation Use single-quotes to prevent interpolation when configuring Postfix
2023-04-30Use single-quotes to prevent interpolation when configuring PostfixJames Puleo
Unless you intend to interpolate, you should never use double-quotes. In this instance, it was actually impactful -- `$myhostname` and `$mydomain` were meant to be left as-is, referring to those Postfix config parameters, but were accidentally interpolated and subsequently generating nonsense (but not fatal) configuration.
2023-04-26Merge pull request #275 from APoniatowski/masterLuke Smith
Relay access denied fix
2023-04-26change made and removed all sasl parametersAPoniatowski
2023-04-26Missed a parameter, thanks to copy/paste mistakeAPoniatowski
2023-04-26Made minor changes to postconf changes, to fix the relay access denied issue.APoniatowski
2023-03-29no error if no dmar dir, fix #271Luke Smith
2023-03-02Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith
2023-03-02enable spamassassin cronjobLuke Smith
2023-03-01Merge pull request #263 from aleksav013/patch-1Luke Smith
Reverse DNS does not match SMTP Banner
2023-03-01Reverse DNS does not match SMTP BannerAleksa Vučković
2023-02-16Merge pull request #260 from treatmesubj/masterLuke Smith
Can -> Can't
2023-02-16Can -> Can'tJohn Hupperts
2023-02-11clean out old dmarc feedback, other cleanupLuke Smith
2023-02-11readme updatesLuke Smith
2023-02-11remove old junkLuke Smith
2023-02-11mx record added and mail subdomain noteLuke Smith
2023-01-31fail2ban added and configured for extra securityLuke Smith
2023-01-31fix #259 and edit commentsLuke Smith
2023-01-27check for wildcard certs as well, resolve #257Luke Smith
2023-01-26readme rewriteLuke Smith
2023-01-26it makes elegant sense in my headLuke Smith
2023-01-26fixLuke Smith
2023-01-26get cert if absent fix #253. ufw fix #256.Luke Smith
2023-01-26rDNS readme fix. Should be mail subdomain.Luke Smith
2023-01-26Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith
2023-01-26close #248Luke Smith
2023-01-26Merge pull request #238 from william-stacken/masterLuke Smith
Resolve "Anyone can send mails from a local user as long as the recipient is another local user"
2023-01-26Merge branch 'master' into masterLuke Smith
2022-10-09dkim location fixed, close #240Luke Smith
2022-10-01reject_unknown_recipient_domainLuke Smith
2022-09-28Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith
2022-09-28store dkim keys in subdir for multiple domainsLuke Smith
2022-09-28some anti-spam measuresLuke Smith
2022-09-11add sender restrictions for our own usersWilliam_S
2022-08-04Merge pull request #230 from WilliamBehrens/masterLuke Smith
use apt-get to install packages
2022-08-03use apt-get to install packagesWilliam Behrens
This fixes the output "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."
2022-07-21Merge pull request #229 from appeasementPolitik/patch-1Luke Smith
Only call deploy hook when mail cert is renewed
2022-07-21DoneappeasementPolitik