aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* now it can make self-signed certs, turn some settings into optionsAlberto Bursi2023-10-281-28/+91
| | | | | | | | | | | | | | | | -- 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.
* Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith2023-08-191-6/+25
|\
| * Merge pull request #286 from andrewrunxiyu/masterLuke Smith2023-07-261-3/+17
| |\ | | | | | | Make it work with Debian 12: spamassassin -> spamd
| | * Make it work with Debian 12: spamassassin -> spamdAndrew Yu2023-07-031-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | Merge pull request #288 from medanisjbara/patch-1Luke Smith2023-07-121-2/+7
| |\ \ | | |/ | |/| Adding pop3 support
| | * adding pop3 specific settingsMed Anis Jbara2023-07-111-2/+7
| |/
| * Merge pull request #284 from xkcdstickfigure/patch-1Luke Smith2023-06-301-1/+1
| |\ | | | | | | fix comment
| | * fix commentxkcdstickfigure2023-06-301-1/+1
| |/
* | disable excluded ciphers until further investigation, close #292Luke Smith2023-08-191-2/+2
| |
* | ensure systemd backend for fail2banLuke Smith2023-08-111-0/+2
|/
* fix #279Luke Smith2023-05-291-1/+1
|
* Merge pull request #276 from ↵Luke Smith2023-05-011-1/+1
|\ | | | | | | | | drunderscore/fix/use-single-quotes-to-prevent-interpolation Use single-quotes to prevent interpolation when configuring Postfix
| * Use single-quotes to prevent interpolation when configuring PostfixJames Puleo2023-05-011-1/+1
|/ | | | | | | | 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.
* Merge pull request #275 from APoniatowski/masterLuke Smith2023-04-261-1/+11
|\ | | | | Relay access denied fix
| * change made and removed all sasl parametersAPoniatowski2023-04-261-4/+0
| |
| * Missed a parameter, thanks to copy/paste mistakeAPoniatowski2023-04-261-1/+1
| |
| * Made minor changes to postconf changes, to fix the relay access denied issue.APoniatowski2023-04-261-1/+15
|/
* no error if no dmar dir, fix #271Luke Smith2023-03-291-1/+2
|
* Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith2023-03-022-2/+2
|\
| * Merge pull request #263 from aleksav013/patch-1Luke Smith2023-03-011-1/+1
| |\ | | | | | | Reverse DNS does not match SMTP Banner
| | * Reverse DNS does not match SMTP BannerAleksa Vučković2023-03-011-1/+1
| |/
| * Merge pull request #260 from treatmesubj/masterLuke Smith2023-02-161-1/+1
| |\ | | | | | | Can -> Can't
| | * Can -> Can'tJohn Hupperts2023-02-161-1/+1
| |/
* / enable spamassassin cronjobLuke Smith2023-03-021-0/+3
|/
* clean out old dmarc feedback, other cleanupLuke Smith2023-02-121-19/+13
|
* readme updatesLuke Smith2023-02-111-11/+10
|
* remove old junkLuke Smith2023-02-111-8/+0
|
* mx record added and mail subdomain noteLuke Smith2023-02-112-3/+10
|
* fail2ban added and configured for extra securityLuke Smith2023-01-312-2/+14
|
* fix #259 and edit commentsLuke Smith2023-01-311-19/+11
|
* check for wildcard certs as well, resolve #257Luke Smith2023-01-271-1/+1
|
* readme rewriteLuke Smith2023-01-271-83/+74
|
* it makes elegant sense in my headLuke Smith2023-01-271-1/+3
|
* fixLuke Smith2023-01-271-5/+1
|
* get cert if absent fix #253. ufw fix #256.Luke Smith2023-01-271-12/+22
|
* rDNS readme fix. Should be mail subdomain.Luke Smith2023-01-272-21/+14
|
* Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith2023-01-261-0/+5
|\
| * Merge pull request #238 from william-stacken/masterLuke Smith2023-01-261-0/+6
| |\ | | | | | | Resolve "Anyone can send mails from a local user as long as the recipient is another local user"
| | * Merge branch 'master' into masterLuke Smith2023-01-261-7/+11
| | |\ | | |/ | |/|
| | * add sender restrictions for our own usersWilliam_S2022-09-111-0/+6
| | |
* | | close #248Luke Smith2023-01-261-1/+2
|/ /
* | dkim location fixed, close #240Luke Smith2022-10-091-1/+1
| |
* | reject_unknown_recipient_domainLuke Smith2022-10-011-1/+1
| |
* | Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith2022-09-282-9/+22
|\|
| * Merge pull request #230 from WilliamBehrens/masterLuke Smith2022-08-041-2/+2
| |\ | | | | | | use apt-get to install packages
| | * use apt-get to install packagesWilliam Behrens2022-08-041-2/+2
| |/ | | | | This fixes the output "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."
| * Merge pull request #229 from appeasementPolitik/patch-1Luke Smith2022-07-211-2/+2
| |\ | | | | | | Only call deploy hook when mail cert is renewed
| | * DoneappeasementPolitik2022-07-211-1/+1
| | |
| | * Missing double quoteappeasementPolitik2022-07-211-1/+1
| | |
| | * EscapesappeasementPolitik2022-07-211-1/+1
| | |